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

Downloads all say "tar: This does not look like a tar archive" when I try to un-tar #71

Open
lowfuel opened this issue Feb 26, 2022 · 2 comments

Comments

@lowfuel
Copy link

lowfuel commented Feb 26, 2022

I've tried several tools, and downloaded all the files just to see if maybe the first one was corrupt, but every file I try I get this error (from multiple archive utilities including classic tar).

Anyone else seeing this, or do I just have a problem on my end?

@yuanli2333
Copy link
Collaborator

If you are trying to open the checkpoint, please don't do it. You should use 'torch.load' to load all checkpoint files.

@lowfuel
Copy link
Author

lowfuel commented Feb 28, 2022

Oh okay. My apologies. The other models I'm using were all .pt or .pth, so when I saw .pth.tar here I assumed I needed to untar it first. I will pass the tar file directly to torch.

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