Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference #33

Open
poojitha892 opened this issue Dec 13, 2023 · 2 comments
Open

Inference #33

poojitha892 opened this issue Dec 13, 2023 · 2 comments

Comments

@poojitha892
Copy link

Hi there,
I'm using dino_base_patch16 arch and I'm using my custom dataset which has 3 classes for image classification. Training is done but I'm not able to use the model to predict on a new image.

@yuhao20
Copy link

yuhao20 commented Apr 21, 2024

Hi there, I'm using dino_base_patch16 arch and I'm using my custom dataset which has 3 classes for image classification. Training is done but I'm not able to use the model to predict on a new image.

hello, do u know how to inference on a new image now?

@hushell
Copy link
Owner

hushell commented Jun 5, 2024

Yeah... meta-learning is less obvious than normal image classification. For inference, you'll need support set. Perhaps check this inference code as a reference: https://huggingface.co/spaces/hushell/pmf_with_gis/blob/ef5f3c11fbb89bfad864bd01333b8ec6992f2a40/app.py#L87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants