Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issues when loding the maskdepth_model.pth checkpoint #10

Open
Kenjamin99 opened this issue Jan 11, 2024 · 0 comments
Open

Facing issues when loding the maskdepth_model.pth checkpoint #10

Kenjamin99 opened this issue Jan 11, 2024 · 0 comments

Comments

@Kenjamin99
Copy link

I read your wonderful paper, and believe it will be helpful for my research. But I enconter some issues when loding the maskdepth_model.pth checkpoint. Here is the error
Traceback (most recent call last): File "./test.py", line 104, in <module> load_ckpt(model, args.ckpt_path, device=device, strict=True) File "./test.py", line 52, in load_ckpt ckpt = torch.load(ckpt_path, map_location=lambda storage, loc: storage) File "/home/zzl/.conda/envs/zzl_torch_cuda_12/lib/python3.8/site-packages/torch/serialization.py", line 1028, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/home/zzl/.conda/envs/zzl_torch_cuda_12/lib/python3.8/site-packages/torch/serialization.py", line 1246, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, 'v'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant