YAD2K icon indicating copy to clipboard operation
YAD2K copied to clipboard

Unable to get bounding boxes for test images

Open Rathna21 opened this issue 5 years ago • 3 comments

Thanks for the script. I successfully converted the YOLO 2 VOC model to Keras model.

While testing, I am unable to get bounding boxes for the test images in images folder and I get output as "Found 0 boxes in dog.png" and same for other images.

Can someone help me on this?

Rathna21 avatar Mar 21 '19 13:03 Rathna21

I have suffered the same problem while using my own dataset, the loss when training looks good but can not find boxes while test and draw the image. Can anybody solve it?

JesseLv001 avatar Mar 28 '19 06:03 JesseLv001

Adding to the first comment on "Found 0 boxes in dog.png", when i convert the model into keras and then when i try to load it and print the predicted result, I find that all the values are NaN

Rathna21 avatar Apr 13 '19 13:04 Rathna21

I found that there are several BN layers whose variance contain negative number after converting. I am quite sure it is the reason to cause NaN output but I don't get how come these negatives exist. An interesting point is that negative number is always the first one in variance weights. So I guess we need to read the first variance number differently?

DLeeeeeee avatar May 17 '19 00:05 DLeeeeeee