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

Question about SYNTHIA checkpoint/training #9

Open
greeneggsandyaml opened this issue May 24, 2020 · 3 comments
Open

Question about SYNTHIA checkpoint/training #9

greeneggsandyaml opened this issue May 24, 2020 · 3 comments

Comments

@greeneggsandyaml
Copy link

Hello authors,

Thank you for your paper! I am running into issues while trying to train a model on the SYNTHIA dataset. I am using the provided checkpoint pretrained on SYNTHIA. When I try to use --num_classes 16 for training, I get an error that the pretrained model has the wrong number of classes:

size mismatch for layer5.conv2d_list.0.weight: copying a param with shape torch.Size([19, 1024, 3, 3]) from checkpoint, the shape in current model is torch.Size([16, 1024, 3, 3]).
... {other size mismatches} ...
size mismatch for layer6.conv2d_list.3.bias: copying a param with shape torch.Size([19]) from checkpoint, the shape in current model is torch.Size([16]).

It seems I am doing something wrong -- what training flags do you use for SYNTHIA training?

Thanks!

@greeneggsandyaml
Copy link
Author

Hi, I just wanted to follow up on this.

@xyyue
Copy link

xyyue commented Nov 8, 2021

Got the same error. Why this is happening? Can the authors comment more on this?

@ljjcoder
Copy link

I also got the same error? Did anyone fix it ?

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

3 participants