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

when using the pre training selfie2anime model ,torch.Size is not matched #20

Open
Xccdd opened this issue Jul 4, 2021 · 0 comments

Comments

@Xccdd
Copy link

Xccdd commented Jul 4, 2021

I encountered the following problems when using the selfie2anime pre training model:

RuntimeError: Error(s) in loading state_dict for ResnetGenerator_our:
	size mismatch for deconv3_content.weight: copying a param with shape torch.Size([30, 64, 7, 7]) from checkpoint, the shape in current model is torch.Size([27, 64, 7, 7]).
	size mismatch for deconv3_content.bias: copying a param with shape torch.Size([30]) from checkpoint, the shape in current model is torch.Size([27]).

Has anyone ever had this problem? Thank you!!

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