Created
September 13, 2023 14:19
-
-
Save Tob-iee/8c5fe643d5b2d8bce8cfb8802e559acc to your computer and use it in GitHub Desktop.
Load the image processor (encoder) and object detector (decoder).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image_processor = AutoImageProcessor.from_pretrained(finetuned_output_dir) | |
model = AutoModelForObjectDetection.from_pretrained(finetuned_output_dir) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment