-
Notifications
You must be signed in to change notification settings - Fork 15
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
can not convert from .t7 #2
Comments
The pretrained model provided by the author has been updated and it might be a little bit different from the original version. A feasible way is to insert
|
It works ! Thanks. |
Thank you for sharing your code. But when i run the t7_to_pth.py with PyTorch 0.4.1, some error happens,the error is as follows: |
Thank you for sharing your code. But when i run the t7_to_pth.py with PyTorch 0.4.1, some error happens,the error is as follows:
File "t7_to_pth.py", line 93, in
model2[prefix+'conv_d.weight'] = model1.modules[42].modules[6].modules[0].modules[0].modules[2].modules[0].modules[1].modules[1].weight
AttributeError: 'Sequential' object has no attribute 'weight'
please help me!
The text was updated successfully, but these errors were encountered: