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

load model from pretrain model error #12

Open
Vickeyhw opened this issue Apr 27, 2020 · 1 comment
Open

load model from pretrain model error #12

Vickeyhw opened this issue Apr 27, 2020 · 1 comment

Comments

@Vickeyhw
Copy link

I encounter errors when I load bbn_res32_cifar model from pre-trained res50 model . It shows that " Unexpected keys in state_dict......". How can I solve it?

@ZhouBoyan
Copy link
Contributor

For res32 model, I think you should load the res32 pretrained model, rather than res50.
By the way, we usually train res32 from scratch.

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