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

[FEATURE] Weights of DINO fine-tuned on Imagenet? #1868

Open
NightMachinery opened this issue Jul 6, 2023 · 5 comments
Open

[FEATURE] Weights of DINO fine-tuned on Imagenet? #1868

NightMachinery opened this issue Jul 6, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@NightMachinery
Copy link

Currently, only headless weights are available for DINO ViTs. It'd be good if the weights of a version fine-tuned for Imagenet was also added. I don't know if Facebook actually published these weights, but they do have experiments on Imagenet DINO in their paper.

@NightMachinery NightMachinery added the enhancement New feature or request label Jul 6, 2023
@leng-yue
Copy link
Contributor

leng-yue commented Jul 6, 2023

Meta released a linear projection head for the DINOv2. We will be able to load it if we modify the safetensor weights.

@NightMachinery
Copy link
Author

if we modify the safetensor weights.

What do you mean?

@leng-yue
Copy link
Contributor

leng-yue commented Jul 7, 2023

The official DINOv2 ships the weight of backbone and head separately. We need to concat them into one weights.

@rwightman
Copy link
Collaborator

It also uses a non-trivial head, needs features from more than one spot, not too crazy, but needs design for a custom head + backbone that I've thought of, but not implemented...

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

No branches or pull requests

4 participants