bearpaw / pytorch-classification

Classification with PyTorch.
MIT License
1.69k stars 563 forks source link

Checkpoints are unaccessible #52

Closed giladcohen closed 2 years ago

giladcohen commented 2 years ago

I was trying to unpack your "model_best.pth.tar" and "checkpoint.pth.tar", unsuccessfully. I have tried using "tar -xvf checkpoint.pth.tar" on both my mac and on linux, but I got these errors: on mac: tar: Error opening archive: Unrecognized archive format

on linux: tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors

Can you please upload the "checkpoint.pth" and "model_best.pth" in their unpacked format? I need the paths for: alexnet Resnet101 DenseNet-BC(L=190,k=40)

giladcohen commented 2 years ago

I just renamed the files from FILE_NAME.pth.tar to FILE_NAME.pth and now it works.