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

inference using pretrained weights #14

Open
divastar opened this issue Nov 30, 2021 · 1 comment
Open

inference using pretrained weights #14

divastar opened this issue Nov 30, 2021 · 1 comment

Comments

@divastar
Copy link

Hi. Can I start with the inference using python test.py --config_file configs/stage2/101a_384.yml MODEL.DEVICE_ID "('0')" TEST.WEIGHT './logs/stage2/resnext101a_384/v1/resnext101_ibn_a_2.pth' OUTPUT_DIR './logs/stage2/resnext101a_384/v1'?

keep getting: File "C:\Users\diva\car_finder\model\make_model.py", line 148, in init
self.state_dict()[i].copy_(param_dict[i])
RuntimeError: The size of tensor a (64) must match the size of tensor b (128) at non-singleton dimension 0

Can someone help?
Thnks

@michuanhaohao
Copy link
Owner

Please use 'resnext101a_384.yml'.

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

2 participants