jiecaoyu/pytorch_imagenet

Unable to extract Alexnet weights

314rated opened this issue · 1 comments

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!

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