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

Problem with pretrained weights #10

Open
lemmersj opened this issue Dec 18, 2019 · 2 comments
Open

Problem with pretrained weights #10

lemmersj opened this issue Dec 18, 2019 · 2 comments

Comments

@lemmersj
Copy link

I've recently been attempting to run the demo_rpn.py script with the pretrained weights you have made available. Unfortunately, it appears that the weights don't match the model.

Placing a breakpoint at line 14 of demo_rpn_utils/utils.py and examining the model/loaded weights, I notice a disparity in the number of parameters:

For SiamRPNPPRes50
Weights in loaded dict: 458
Weights in state dict: 384

For SiamRPNResNeXt22
Weights in loaded dict: 180
Weights in state dict: 151

Any thoughts?

@ljh9999
Copy link

ljh9999 commented Feb 5, 2020

I encountered a problem similar to yours. It may be a problem with the pre-trained model provided by the author. Have you solved it?

@lemmersj
Copy link
Author

lemmersj commented Feb 5, 2020

I haven't. I ended up using DaSiamRPN, which was pretty much plug-and-play for me.

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