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

size mismatch trying to continue train #14

Closed
ggsonic opened this issue Jul 21, 2020 · 1 comment
Closed

size mismatch trying to continue train #14

ggsonic opened this issue Jul 21, 2020 · 1 comment

Comments

@ggsonic
Copy link

ggsonic commented Jul 21, 2020

trying to continue train CelebA-HQ_pretrained using your provided checkpoints and got this error
size mismatch for fc.weight: copying a param with shape torch.Size([1024, 19, 3, 3]) from checkpoint, the shape in current model is torch.Size([1024, 20, 3, 3]).
the model changed?

@ggsonic
Copy link
Author

ggsonic commented Jul 21, 2020

it worked after I add --no-instance when run training . otherwise it will add one.

@ggsonic ggsonic closed this as completed Jul 21, 2020
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

1 participant