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

Why "Error(s) in loading state_dict for InteractE:" ? #5

Open
Dionysusssss opened this issue Apr 23, 2021 · 0 comments
Open

Why "Error(s) in loading state_dict for InteractE:" ? #5

Dionysusssss opened this issue Apr 23, 2021 · 0 comments

Comments

@Dionysusssss
Copy link

When I tried to run the saved model on test, It show:
RuntimeError: Error(s) in loading state_dict for InteractE:
size mismatch for conv_filt: copying a param with shape torch.Size([96, 1, 11, 11]) from checkpoint, the shape in current model is torch.Size([96, 1, 9, 9]).
size mismatch for bn0.weight: copying a param with shape torch.Size([4]) from checkpoint, the shape in current model is torch.Size([1]).
size mismatch for bn0.bias: copying a param with shape torch.Size([4]) from checkpoint, the shape in current model is torch.Size([1]).
size mismatch for bn0.running_mean: copying a param with shape torch.Size([4]) from checkpoint, the shape in current model is torch.Size([1]).
size mismatch for bn0.running_var: copying a param with shape torch.Size([4]) from checkpoint, the shape in current model is torch.Size([1]).
size mismatch for bn1.weight: copying a param with shape torch.Size([384]) from checkpoint, the shape in current model is torch.Size([96]).
size mismatch for bn1.bias: copying a param with shape torch.Size([384]) from checkpoint, the shape in current model is torch.Size([96]).
size mismatch for bn1.running_mean: copying a param with shape torch.Size([384]) from checkpoint, the shape in current model is torch.Size([96]).
size mismatch for bn1.running_var: copying a param with shape torch.Size([384]) from checkpoint, the shape in current model is torch.Size([96]).
size mismatch for fc.weight: copying a param with shape torch.Size([200, 153600]) from checkpoint, the shape in current model is torch.Size([200, 38400]).

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