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

计算模型参数量报错 #204

Open
liuuuu0208 opened this issue May 8, 2024 · 0 comments
Open

计算模型参数量报错 #204

liuuuu0208 opened this issue May 8, 2024 · 0 comments

Comments

@liuuuu0208
Copy link

Unexpected key(s) in state_dict: "extractor.7.weight", "extractor.7.bias", "extractor.10.weight", "extractor.10.bias", "extractor.12.weight", "extractor.12.bias", "extractor.14.weight", "extractor.14.bias", "extractor.17.weight", "extractor.17.bias", "extractor.19.weight", "extractor.19.bias", "extractor.21.weight", "extractor.21.bias", "extractor.24.weight", "extractor.24.bias", "extractor.26.weight", "extractor.26.bias", "extractor.28.weight", "extractor.28.bias", "extractor.0.bias", "extractor.2.weight", "extractor.2.bias", "extractor.5.weight", "extractor.5.bias", "head.classifier.2.weight", "head.classifier.2.bias", "head.classifier.0.weight", "head.classifier.0.bias". 
size mismatch for extractor.0.weight: copying a param with shape torch.Size([64, 3, 3, 3]) from checkpoint, the shape in current model is torch.Size([64, 3, 7, 7]).
size mismatch for rpn.conv1.weight: copying a param with shape torch.Size([512, 512, 3, 3]) from checkpoint, the shape in current model is torch.Size([512, 1024, 3, 3]).
size mismatch for head.cls_loc.weight: copying a param with shape torch.Size([84, 4096]) from checkpoint, the shape in current model is torch.Size([84, 2048]).
size mismatch for head.score.weight: copying a param with shape torch.Size([21, 4096]) from checkpoint, the shape in current model is torch.Size([21, 2048]).
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