yitu-opensource / T2T-ViT

ICCV2021, Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

lowfuel opened this issue · 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?

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

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.