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

not able to test on LaSOT dataset #94

Open
CassandraClare opened this issue Mar 21, 2023 · 0 comments
Open

not able to test on LaSOT dataset #94

CassandraClare opened this issue Mar 21, 2023 · 0 comments

Comments

@CassandraClare
Copy link

CassandraClare commented Mar 21, 2023

I am getting the following error:

Traceback (most recent call last):
File "/content/SiamCAR/tools/test.py", line 126, in
main()
File "/content/SiamCAR/tools/test.py", line 60, in main
model = load_pretrain(model, args.snapshot).cuda().eval()
File "/content/SiamCAR/tools/pysot/utils/model_load.py", line 69, in load_pretrain
model.load_state_dict(pretrained_dict, strict=False)
File "/usr/local/lib/python3.9/dist-packages/torch/nn/modules/module.py", line 1671, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for ModelBuilder:
size mismatch for down.weight: copying a param with shape torch.Size([256, 768, 1, 1]) from checkpoint, the shape in current model is torch.Size([768, 256, 1, 1]).

Please help.

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