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

Issue loading pretrained weights #18

Closed
humzaiqbal opened this issue Dec 11, 2020 · 3 comments
Closed

Issue loading pretrained weights #18

humzaiqbal opened this issue Dec 11, 2020 · 3 comments

Comments

@humzaiqbal
Copy link

When I download the checkpoint.pth.tar file for the pretrained ImageNet model I get the error
tar: Error opening archive: Unrecognized archive format, would it be possible to release the weights in another format (like a zip perhaps?) Unfortunately I don't have access to the ImageNet dataset so I can't retrain it myself

@hendrycks
Copy link
Contributor

Just try loading the checkpoint file directly without untarring.

@humzaiqbal
Copy link
Author

Great thanks that worked :)

@normster
Copy link
Collaborator

normster commented Dec 11, 2020 via email

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