T2T-ViT icon indicating copy to clipboard operation
T2T-ViT copied to clipboard

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

Open lowfuel opened this issue 2 years ago • 2 comments

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?

lowfuel avatar Feb 26 '22 14:02 lowfuel

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

yuanli2333 avatar Feb 27 '22 07:02 yuanli2333

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.

lowfuel avatar Feb 28 '22 13:02 lowfuel