-
Notifications
You must be signed in to change notification settings - Fork 174
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
When I use the csresnext50-panet-spp.cfg to train #3
Comments
I guess you run the code using https://github.com/ultralytics/yolov3 with pretrained model. If true, please add
in https://github.com/ultralytics/yolov3/blob/master/models.py#L324 And because of https://github.com/ultralytics/yolov3 does not support add different number of channel using shortcut layer, you should modify the filter number ultralytics/yolov3#698 (comment).
|
This conversion code works well with yolov3-spp.weights/cfg file despite the fact that yolov3-spp uses route layers with multiple inputs: https://github.com/ultralytics/yolov3#darknet-conversion |
@AlexeyAB Thanks After I checked the code, it seems same. I will check why csresnext50-panet-spp can not perform normally after convert to .pt. ※update: the implementation of the number of filters of shortcut layer is different, but i am not sure it will really affect the result or not. https://github.com/ultralytics/yolov3/blob/master/models.py#L63 |
I try to do that, but there was still a mistake when I train my data RuntimeError: shape '[512, 512, 3, 3]' is invalid for input of size 1620480 |
@Timmmmmms Hello, use
|
RuntimeError: shape '[512, 2048, 1, 1]' is invalid for input of size 680093
Can you tell me what is wrong?
The text was updated successfully, but these errors were encountered: