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

Could you please realse a more detailed description to repeat the MVP results in NUS dataset #2

Closed
PLester opened this issue Nov 22, 2021 · 3 comments

Comments

@PLester
Copy link

PLester commented Nov 22, 2021

these keys have mismatched shape:
+-------------------------------+---------------------------------+---------------------------------+
| key | expected shape | loaded shape |
+-------------------------------+---------------------------------+---------------------------------+
| backbone.conv_input.0.weight | torch.Size([16, 3, 3, 3, 5]) | torch.Size([3, 3, 3, 5, 16]) |
| backbone.conv1.0.conv1.weight | torch.Size([16, 3, 3, 3, 16]) | torch.Size([3, 3, 3, 16, 16]) |
| backbone.conv1.0.conv2.weight | torch.Size([16, 3, 3, 3, 16]) | torch.Size([3, 3, 3, 16, 16]) |
| backbone.conv1.1.conv1.weight | torch.Size([16, 3, 3, 3, 16]) | torch.Size([3, 3, 3, 16, 16]) |
| backbone.conv1.1.conv2.weight | torch.Size([16, 3, 3, 3, 16]) | torch.Size([3, 3, 3, 16, 16]) |
| backbone.conv2.0.weight | torch.Size([32, 3, 3, 3, 16]) | torch.Size([3, 3, 3, 16, 32]) |
| backbone.conv2.3.conv1.weight | torch.Size([32, 3, 3, 3, 32]) | torch.Size([3, 3, 3, 32, 32]) |
| backbone.conv2.3.conv2.weight | torch.Size([32, 3, 3, 3, 32]) | torch.Size([3, 3, 3, 32, 32]) |
| backbone.conv2.4.conv1.weight | torch.Size([32, 3, 3, 3, 32]) | torch.Size([3, 3, 3, 32, 32]) |
| backbone.conv2.4.conv2.weight | torch.Size([32, 3, 3, 3, 32]) | torch.Size([3, 3, 3, 32, 32]) |
| backbone.conv3.0.weight | torch.Size([64, 3, 3, 3, 32]) | torch.Size([3, 3, 3, 32, 64]) |
| backbone.conv3.3.conv1.weight | torch.Size([64, 3, 3, 3, 64]) | torch.Size([3, 3, 3, 64, 64]) |
| backbone.conv3.3.conv2.weight | torch.Size([64, 3, 3, 3, 64]) | torch.Size([3, 3, 3, 64, 64]) |
| backbone.conv3.4.conv1.weight | torch.Size([64, 3, 3, 3, 64]) | torch.Size([3, 3, 3, 64, 64]) |
| backbone.conv3.4.conv2.weight | torch.Size([64, 3, 3, 3, 64]) | torch.Size([3, 3, 3, 64, 64]) |
| backbone.conv4.0.weight | torch.Size([128, 3, 3, 3, 64]) | torch.Size([3, 3, 3, 64, 128]) |
| backbone.conv4.3.conv1.weight | torch.Size([128, 3, 3, 3, 128]) | torch.Size([3, 3, 3, 128, 128]) |
| backbone.conv4.3.conv2.weight | torch.Size([128, 3, 3, 3, 128]) | torch.Size([3, 3, 3, 128, 128]) |
| backbone.conv4.4.conv1.weight | torch.Size([128, 3, 3, 3, 128]) | torch.Size([3, 3, 3, 128, 128]) |
| backbone.conv4.4.conv2.weight | torch.Size([128, 3, 3, 3, 128]) | torch.Size([3, 3, 3, 128, 128]) |
| backbone.extra_conv.0.weight | torch.Size([128, 3, 1, 1, 128]) | torch.Size([3, 1, 1, 128, 128]) |
+-------------------------------+---------------------------------+---------------------------------+

@PLester PLester changed the title Could you please realse a more Could you please realse a more detailed description to repeat the MVP results in NUS dataset Nov 22, 2021
@tianweiy
Copy link
Owner

You are using spconv 2.x. please see their guide for how to run 1.x model in 2.x (they change weight layout in 2.x )

@tianweiy
Copy link
Owner

https://github.com/traveller59/spconv/blob/master/docs/SPCONV_2_BREAKING_CHANGEs.md

Also 2.x is not tested. So it could get bugs / different result

@PLester
Copy link
Author

PLester commented Nov 23, 2021

I had solved this problem by changing to spconv v1.2.1
Thanks SO MUCH!

You are using spconv 2.x. please see their guide for how to run 1.x model in 2.x (they change weight layout in 2.x )

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