-
Notifications
You must be signed in to change notification settings - Fork 310
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
size mismatch for weights and bias #104
Comments
Hello, I met the same problem as you and I sloved it using command as follows pip install torch==0.3.1 torchvision==0.2.1 you can try |
@quanh1990 hi, can you share the link of bn_inception pre-trained model with me? thanks |
@gwyy-mh and @quanh1990 Can you please share the link of the bn_inception pth file pre-trained model? |
For higher version pytorch > 0.3.1,you can change code to convert checkpoint to avoid this error. |
I downloaded the bn_inception pth file, and train, but error occurs that : Runtime error size mismatch for conv1_7x7_s2_bn.weight copying a param with shape for torch.Size([1, 64]) from checkpoint, the shape in current model is torch.Size([64]). I am a new person in this field, so I don't know how to deal with it.
The text was updated successfully, but these errors were encountered: