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

Unable to extract Alexnet weights #5

Open
314rated opened this issue Nov 1, 2019 · 1 comment
Open

Unable to extract Alexnet weights #5

314rated opened this issue Nov 1, 2019 · 1 comment

Comments

@314rated
Copy link

314rated commented Nov 1, 2019

Hi,
Thanks for your efforts in making this repo! We wish to use the Alexnet weights (alexnet.pth.tar) associated with your model, but unfortunately we are getting an error on extracting them.
Error is:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

We would be grateful if you could help us
Thanks!

@jiecaoyu
Copy link
Owner

jiecaoyu commented Nov 1, 2019

@314rated you can use torch.load() to directly load the file. You don't need to extract them.

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

2 participants