Skip to content

Fail to load checkpoint #9

Description

@wangyp33

RuntimeError Traceback (most recent call last)
in <cell line: 0>()
2
3 chkpt_dir = '/content/dmae_large_sigma_0.25_mask_0.75_1600e.pth'
----> 4 model_dmae = prepare_model(chkpt_dir, 'dmae_vit_large_patch16')
5 print('Model loaded.')

2 frames
/usr/local/lib/python3.11/dist-packages/torch/serialization.py in init(self, name_or_buffer)
761 class _open_zipfile_reader(_opener):
762 def init(self, name_or_buffer) -> None:
--> 763 super().init(torch._C.PyTorchFileReader(name_or_buffer))
764
765

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