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

您好提一个问题遇到了错误 #1

Open
blackjaxx opened this issue Mar 4, 2020 · 0 comments
Open

您好提一个问题遇到了错误 #1

blackjaxx opened this issue Mar 4, 2020 · 0 comments

Comments

@blackjaxx
Copy link

Traceback (most recent call last):
File "train.py", line 213, in
multi_scale=opt.multi_scale,
File "train.py", line 56, in train
cutoff = load_darknet_weights(model, weights + 'darknet53.conv.74')
File "/tmp/YOLOv3-Codecraft-2019-master/models.py", line 292, in load_darknet_weights
bn_b = torch.from_numpy(weights[ptr:ptr + num_b]).view_as(bn_layer.bias)
RuntimeError: shape '[32]' is invalid for input of size 28

尝试使用您的模型训练,遇到如下问题,请问是我的pytorch版本安错了吗,谢谢!

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