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

Unpickling error #10

Open
sourabhswain opened this issue Dec 17, 2019 · 0 comments
Open

Unpickling error #10

sourabhswain opened this issue Dec 17, 2019 · 0 comments

Comments

@sourabhswain
Copy link

Hi, I followed the instructions and am trying to generate the predictions for DAVIS17testdev using the RANet_video_multi.pth. However, I am facing the following error :

Environment :
Python - 3.6.9
Torchvision version - 0.2.0

Can you please tell me how to resolve this ?

===> Setting ...... ../models/exists using device ID: [0] ===> Building model Single-object mode save root = ../predictions/RANet_Video_17test_dev Change to multi-object mode Traceback (most recent call last): File "RANet.py", line 104, in <module> predict_SVOS(params='RANet_video_multi.pth', dataset='17test_dev', save_root='../predictions/RANet_Video_17test_dev') File "RANet.py", line 83, in predict_SVOS checkpoint_load(opt.workfolder + params, model) File "/home/swain/Documents/VOS/Methods/RANet/codes/RANet_lib/RANet_lib.py", line 38, in checkpoint_load checkpoint = torch.load(fpath) File "/home/swain/anaconda3/envs/vos/lib/python3.6/site-packages/torch/serialization.py", line 426, in load return _load(f, map_location, pickle_module, **pickle_load_args) File "/home/swain/anaconda3/envs/vos/lib/python3.6/site-packages/torch/serialization.py", line 603, in _load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '<'.

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