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

hi, does the movenet.pth is trained or ported from tf? #18

Open
lucasjinreal opened this issue Oct 8, 2022 · 6 comments
Open

hi, does the movenet.pth is trained or ported from tf? #18

lucasjinreal opened this issue Oct 8, 2022 · 6 comments

Comments

@lucasjinreal
Copy link

I tried to run, but seems default config didn't fit pretrained weights under models:

Creating model...
Skip loading parameter backbone.body.6.conv.2.weight, required shapetorch.Size([56, 336, 1, 1]), loaded shapetorch.Size([32, 192, 1, 1]). If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
Skip loading parameter backbone.body.16.conv.2.weight, required shapetorch.Size([280, 1680, 1, 1]), loaded shapetorch.Size([160, 960, 1, 1]). If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
Skip loading parameter backbone.body.11.conv.1.0.bias, required shapetorch.Size([672]), loaded shapetorch.Size([384]). If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
Skip loading parameter backbone.body.5.conv.2.bias, required shapetorch.Size([56]), loaded shapetorch.Size([32]). If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
Skip loading parameter backbone.body.16.conv.2.bias, required shapetorch.Size([280]), loaded shapetorch.Size([160]). If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
Skip loading parameter backbone.body.13.conv.2.weight, required shapetorch.Size([168, 1008, 1, 1]), loaded shapetorch.Size([96, 576, 1, 1]). If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.
Skip loading parameter backbone.body.3.conv.2.weight, required shapetorch.Size([40, 240, 1, 1]), loaded shapetorch.Size([24, 144, 1, 1]). If you see this, your model does not fully load the pre-trained weight. Please make sure you have correctly specified --arch xxx or set the correct --num_classes for your own dataset.

any idea?

@lucasjinreal lucasjinreal changed the title hi, does the movenet.pth is train or ported from tf? hi, does the movenet.pth is trained or ported from tf? Oct 8, 2022
@lee-man
Copy link
Owner

lee-man commented Oct 8, 2022

It's ported from tf directly. You may check the model definition. I think there's some inconsistency there.

@lucasjinreal
Copy link
Author

@lee-man I just running instructions in your readme. Does it work out of box? On my side it's not.

@lee-man
Copy link
Owner

lee-man commented Oct 18, 2022

@jinfagang Actually I am not very sure cus this repo is taken over by other guys later. I suggest that you may check the previous few commits. I am pretty sure that at some point this repo work out correctly.

@lucasjinreal
Copy link
Author

lucasjinreal commented Oct 18, 2022

Thanks , for users later on comes into this repo but not able to run it, please using my fork:

https://github.com/jinfagang/movenet

original op indeed have some errors in code. I have fixed all of them. Meanwhile, I will port the model to ncnn as well.

@lee-man
Copy link
Owner

lee-man commented Oct 18, 2022

Great! Thanks for your work. I will add the link in README later.

@lucaskyle
Copy link

@lee-man

i checked ur setting.
if u guys dont change anything, it will build thunder movenet model structure and load lightning pre-train model

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