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

UnpicklingError: invalid load key, '<'. #165

Closed
senad96 opened this issue Jan 17, 2024 · 3 comments
Closed

UnpicklingError: invalid load key, '<'. #165

senad96 opened this issue Jan 17, 2024 · 3 comments

Comments

@senad96
Copy link

senad96 commented Jan 17, 2024

Cannot download models with the current version

@fra31
Copy link
Member

fra31 commented Jan 17, 2024

Hi,

just tried here and it seems to work. Can you provide more context? Is it possible that you still have some older version or corrupted download around?

@senad96
Copy link
Author

senad96 commented Jan 19, 2024

hello, thanks for answering :)

Yes, I had a corrupted version of the library.

@fra31 fra31 closed this as completed Jan 20, 2024
@rishika2110
Copy link

rishika2110 commented Jan 26, 2024

@senad96 How did you fix it? I am facing the same error now. It doesn't work when I try to run model = load_model(model_name='Carmon2019Unlabeled', dataset='cifar10', threat_model='Linf') but works well when I do model = load_model('Singh2023Revisiting_ViT-B-ConvStem', dataset='imagenet', threat_model='Linf', model_dir='./models'). Update: Degrading timm to 0.6.7 works well.

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