dulucas / UVO_Challenge

91 stars 11 forks source link

checkpoint seem broken. #3

Open bychen7 opened 2 years ago

bychen7 commented 2 years ago

this checkpoint(seg_swin_l_mixed_pretrained.pth) seem broken.


import torch
torch.load('seg_swin_l_mixed_pretrained.pth')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/chen/miniconda3/envs/sota/lib/python3.9/site-packages/torch/serialization.py", line 600, in load
    with _open_zipfile_reader(opened_file) as opened_zipfile:
  File "/home/chen/miniconda3/envs/sota/lib/python3.9/site-packages/torch/serialization.py", line 242, in __init__
    super(_open_zipfile_reader, self).__init__(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
dulucas commented 2 years ago

Hi, I pushed a new checkpoint, could you try it please?

bychen7 commented 2 years ago

Hi, I pushed a new checkpoint, could you try it please?

it's ok, thanks.