-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Can not load pretrained YOLOv3-spp weights #1018
Comments
Looking at src/parse.c, this happens because the h and w don't match up for the 4 different layers (82 80 78 77) feeding into the route layer (83) preceding the convolutional layer. In other instances of a route layer having multiple arguments, h and w are the same for the different sources while only c is allowed to differ (and is summed for the output). Could there have been a change to parsing that wasn't committed along with this new config file? |
Confirm, the same issue |
Sorry, i messed with maxpool layers a bit, should be fixed now from e209b3b |
Now it`s works, thank you! |
@pjreddie
l.out_w = (w - size + 1)/stride;
l.out_h = (h - size + 1)/stride; |
well hm.... |
I have a fix but i'd have to commit everything i've been working on and i'm not sure if it breaks stuff, let me check |
It is distinctly possible that b13f67b fixes this |
@pjreddie Thanks But why is there But there is |
Are you going to update the cfg and weights or are they unaffected? |
ERROR : still exist while training cifar |
Hello, |
@shouryasimha width and height should be multiple of 32 due to 5 subsampling layers. pow(2,5)=32 |
I have tried with a multiple of 32 , i gave the value as 224 for width and
height but my model is failing to recognize any object. getting my IOU = -nan
i edited the config file as follows:
number of class = 6
steps =12000
filters =33
width = 224
height = 244
and my image width and height are 200 * 200 respectively.
Kindly help me solve this issue.
…On Fri, Mar 20, 2020 at 9:43 PM Alexey ***@***.***> wrote:
@shouryasimha <https://github.com/shouryasimha> width and height should
be multiple of 32 due to 5 subsampling layers. pow(2,5)=32
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1018 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALKV2F2HZ7Y67JLXL6FAW2LRIQLV3ANCNFSM4FNOWBZQ>
.
|
Hello!
I saw that the spatial pyramid pooling was recently introduced into YOLOV3 and a new pretrained model was uploaded. However when I downloaded weight from https://pjreddie.com/media/files/yolov3-spp.weights and ran
./darknet detect cfg/yolov3-spp.cfg yolov3-spp.weights data/dog.jpg
I got the following error message
I have no issue running default yolov3 model with the above code.
The text was updated successfully, but these errors were encountered: