-
Notifications
You must be signed in to change notification settings - Fork 255
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
I can't download pretrained model #44
Comments
I download this in windows |
Thank you. |
Can you run inference.py with pretrained model? |
May I know this is pretrained using what dataset? Sports1M? |
@marsna |
I didn't solve it in the end, even though I asked for help via email.
…------------------ 原始邮件 ------------------
发件人: "jfzhang95/pytorch-video-recognition" <[email protected]>;
发送时间: 2021年3月9日(星期二) 晚上9:13
收件人: "jfzhang95/pytorch-video-recognition"<[email protected]>;
抄送: "Mars.Nan"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [jfzhang95/pytorch-video-recognition] I can't download pretrained model (#44)
Can you run inference.py with pretrained model?
I run inference.py and see error:
Traceback (most recent call last):
File "inference.py", line 78, in
main()
File "inference.py", line 32, in main
model.load_state_dict(checkpoint['state_dict'])
KeyError: 'state_dict'
@marsna
I have a similar problem. Have you solved it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@marsna I have solved it, change the code like this, it works for me: |
Thanks for giving an idea to resolve the state_dict error. you cant use
use this in |
No, it wont work as it will only load random weights. Pretrained model shared is trained on sport dataset with 487 classes |
No description provided.
The text was updated successfully, but these errors were encountered: