Skip to content

checkpoint seem broken. #3

Description

@bychen7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions