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
When I test the pretrained model vis_sipmask_r50_fpn_1x.pth (provided by you) on the valid set of the Youtube-VIS, I will get the following error message:
ERROR MESSAGE
SipMask/SipMask-VIS on master [!+?] via 🐍 v3.6.10 :: Anaconda, Inc. via C sipmask took 15s
➜ CUDA_VISIBLE_DEVICES=1 python tools/test_video.py ./configs/sipmask/sipmask_r50_caffe_fpn_gn_1x.py ./work_dirs/vis_sipmask_r50_fpn_1x.pth --out results.pkl --eval bbox --show
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
Traceback (most recent call last):
File "/home/lart/miniconda3/envs/sipmask/lib/python3.6/site-packages/mmcv/runner/checkpoint.py", line 67, in load_state_dict
own_state[name].copy_(param)
RuntimeError: The expanded size of the tensor (1) must match the existing size (3) at non-singleton dimension 3. Target sizes: [512, 768, 1, 1]. Tensor sizes: [512, 768, 3, 3]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/test_video.py", line 122, in<module>main()
File "tools/test_video.py", line 91, in main
load_checkpoint(model, args.checkpoint)
File "/home/lart/miniconda3/envs/sipmask/lib/python3.6/site-packages/mmcv/runner/checkpoint.py", line 162, in load_checkpoint
load_state_dict(model, state_dict, strict, logger)
File "/home/lart/miniconda3/envs/sipmask/lib/python3.6/site-packages/mmcv/runner/checkpoint.py", line 73, in load_state_dict
name, own_state[name].size(), param.size()))
RuntimeError: While copying the parameter named bbox_head.fovea_track.weight, whose dimensions in the model are torch.Size([512, 768, 1, 1]) and whose dimensions in the checkpoint are torch.Size([512, 768, 3, 3]).
When I change as follows, that will get even stranger error messages:
@lartpang Sorry. I forget to clear this code at last. I have updated the codes and models. I think that it will work after updating your code and downloading the new model.
Thanks for your work.
My ENV:
When I test the pretrained model
vis_sipmask_r50_fpn_1x.pth
(provided by you) on the valid set of the Youtube-VIS, I will get the following error message:ERROR MESSAGE
When I change as follows, that will get even stranger error messages:
ERROR MESSAGE
Can you help me solve this problem?
The text was updated successfully, but these errors were encountered: