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

Error When Loading Pretrained Models #8

Open
shahd-seddik opened this issue May 23, 2021 · 1 comment
Open

Error When Loading Pretrained Models #8

shahd-seddik opened this issue May 23, 2021 · 1 comment

Comments

@shahd-seddik
Copy link

I am facing an error when loading the state_dict. It states that there are missing keys ("linear.weight", "linear.bias") as well as unexpected keys. See attached image for error details.
state_dict

Please note that this particular screenshot is from when I try C3D. Similar error happens when I try to load R3D or R(2+1)D. Please advise. Thank you in advance.

@yuanyao366
Copy link
Owner

After you run train_predict.py and get the pretrained model, you should run the ft_classfy.py first, and then use test_classify to test. Please refer to README.md

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