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

unable to load DarkNet53 backbone for yolov7 #208

Open
GrassBro opened this issue Nov 13, 2022 · 0 comments
Open

unable to load DarkNet53 backbone for yolov7 #208

GrassBro opened this issue Nov 13, 2022 · 0 comments

Comments

@GrassBro
Copy link

Hi, @jinfagang

According to darknet53.yaml, I downloaded yolov3.pt as the backbone for initializing the yolov7.

However, I met the following problem, do you have any suggestions to provide accurate parameters for yolov7?

RuntimeError: Error(s) in loading state_dict for Darknet:
Missing key(s) in state_dict: "stem.conv.weight", "stem.bn.weight", "stem.bn.bias", "stem.bn.running_mean", "stem.bn.running_var", "dark1.0.conv.weight", "dark1.0.bn.weight", "dark1.0.bn.bias", "dark1.0.bn.running_mean", "dark1.0.bn.running_var", "dark1.1.layer1.conv.weight", "dark1.1.layer1.bn.weight", "dark1.1.layer1.bn.bias", "dark1.1.layer1.bn.running_mean", "dark1.1.layer1.bn.running_var", "dark1.1.layer2.conv.weight", "dark1.1.layer2.bn.weight",
.......
.......

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