Linear evaluation weight problems ("_IncompatibleKeys" and access issues)
See original GitHub issueHello, thanks for all the amazing work you put into this. I tried downloading the pretrained weights for the 3 available ViT models and have encountered some issues:
- ViT-S/16 gives me an “Access denied” message whenever I try downloading it.
- For ViT-S/8 or ViT-B/16, their weights seem corrupted? Whenever I try loading them into
eval_linear.py
, I get a message listing a long list of missing and unexpected keys. Not exactly sure what is wrong here. The loss also starts at a quite high value and although it’s dropping off, I don’t think this is the intended behavior from a pretrained model.
Here’s the training output (not the log) for ViT-S/8 TrainingOutput.txt
Thank you again for your work.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
torch.nn.modules.module — transformers 4.4.2 documentation
"Please file an issue at https://github.com/pytorch/pytorch/issues/new?template=bug-report.md " "if a complex module does not work as expected.
Read more >Problem with missing and unexpected keys while loading my ...
The problem is that the keys in state_dict are "fully qualified", which means that if you look at your network as a tree...
Read more >A multiple classifier system approach and empirical evaluation
The problem of determining instance-level correspondences is referred to as record matching (or linkage) and instance (or entity) identification ...
Read more >Mesmerize Documentation
Mesmerize is a platform for the annotation and analysis of neuronal calcium imaging data. It encompasses the entire.
Read more >Untitled
This may lead to serious problems in the rules' application. ... a very important issue to evaluate the performance of transmission control protocol...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi @kikacaty can you do a fresh clone and run again ? The problem with vit_base is due to a discrepency in the way I concatenated the features (related to https://github.com/facebookresearch/dino/issues/134) but that should be fixed in this commit https://github.com/facebookresearch/dino/commit/d2f3156bb34c32ae54312de7fe4e31580f12ff7f
@KnockerPulsar
I have tried to improve the code so you can easily load the pretrained linear weights and check their performance (situation b. in my post above). For example you can run:
https://github.com/facebookresearch/dino/commit/d2f3156bb34c32ae54312de7fe4e31580f12ff7f
Hope that helps.