-
-
Save aribornstein/781df582a613af6d49f0783835a49b67 to your computer and use it in GitHub Desktop.
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
from flash.vision import ImageEmbedder | |
# Load finetuned task | |
embedder = ImageEmbedder(backbone="dino_vitb16") | |
# Perform inference on an image file | |
embeddings = embedder.predict("path/to/image.png") | |
print(embeddings) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment