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

Model load error #18

Open
Ayyappa44488 opened this issue Nov 14, 2024 · 2 comments
Open

Model load error #18

Ayyappa44488 opened this issue Nov 14, 2024 · 2 comments

Comments

@Ayyappa44488
Copy link

I am getting the below error when i am trying to load the model from the checkpoints file and i am using torch 2.1.0 only
Traceback (most recent call last):
File "", line 1, in
File "/home/tg0001/anaconda3/envs/vitron1/lib/python3.10/site-packages/torch/serialization.py", line 1028, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/tg0001/anaconda3/envs/vitron1/lib/python3.10/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'.

@anothersin
Copy link

same issue

1 similar comment
@having-salt
Copy link

same issue

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

3 participants