You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't use conda, but installed the libraries as listed in the toml file, which means I used torch 2.5. The checkpoint is not corrupted because downloaded it both from hugging face and from https://ml-site.cdn-apple.com/models/depth-pro/depth_pro.pt .
File "…/depth_pro/depth_pro.py", line 135, in create_model_and_transforms
state_dict = torch.load(config.checkpoint_uri, map_location="cpu")
File "…venv/lib/python3.9/site-packages/torch/serialization.py", line 1384, in load
return _legacy_load(
File "…venv/lib/python3.9/site-packages/torch/serialization.py", line 1628, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: unpickling stack underflow
The text was updated successfully, but these errors were encountered:
I don't use conda, but installed the libraries as listed in the toml file, which means I used torch 2.5. The checkpoint is not corrupted because downloaded it both from hugging face and from https://ml-site.cdn-apple.com/models/depth-pro/depth_pro.pt .
File "…/depth_pro/depth_pro.py", line 135, in create_model_and_transforms
state_dict = torch.load(config.checkpoint_uri, map_location="cpu")
File "…venv/lib/python3.9/site-packages/torch/serialization.py", line 1384, in load
return _legacy_load(
File "…venv/lib/python3.9/site-packages/torch/serialization.py", line 1628, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: unpickling stack underflow
The text was updated successfully, but these errors were encountered: