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 for encoder_another_conv1.weight: copying a param with shape torch.Size([64, 3, 7, 7]) from checkpoint, the shape in current model is torch.Size([64, 1, 7, 7]). #36

Open
antiqueChariot opened this issue Sep 19, 2021 · 1 comment

Comments

@antiqueChariot
Copy link

Following error is coming while loading the model :

RuntimeError: Error(s) in loading state_dict for RoadSeg:
size mismatch for encoder_another_conv1.weight: copying a param with shape torch.Size([64, 3, 7, 7]) from checkpoint, the shape in current model is torch.Size([64, 1, 7, 7]).

@cteckwee
Copy link

cteckwee commented Oct 6, 2021

Probably you did not provide depth input image together with RGB image?

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