keras-yolo3 icon indicating copy to clipboard operation
keras-yolo3 copied to clipboard

Why is there no result with tiny-yolov3 prediction?Found 0 boxes for img为什么tiny-yolov3训练好之后,无法预测任何结果?一个boundingbox都出不来

Open russellwest44 opened this issue 4 years ago • 8 comments

After training the yolov3 network, the prediction is normal.but when training the tiny-yolov3,there was no bounding boxes.Everything follows the training steps. I successfully trained tiny-yolov3 for the first time and predicted the result, but this time it won’t work.

russellwest44 avatar Jul 30 '20 05:07 russellwest44

hi,Have you solved this problem? I also encountered the same problem, tiny-yolov3 has no prediction result.

wangbingqi avatar Aug 01 '20 03:08 wangbingqi

hi,Have you solved this problem? I also encountered the same problem, tiny-yolov3 has no prediction result.

Problem solved successfully! There are some issues in the source code.

yolo3/model.py

anchor_mask = [[6,7,8], [3,4,5], [0,1,2]] if num_layers==3 else [[3,4,5], [1,2,3]] please change all [1,2,3] to [0,1,2] anchor_mask = [[6,7,8], [3,4,5], [0,1,2]] if num_layers==3 else [[3,4,5], [0,1,2]] I remember there should be three mistakes then retrain the tiny_model

russellwest44 avatar Aug 01 '20 03:08 russellwest44

thank you

wangbingqi avatar Aug 01 '20 08:08 wangbingqi

hi,Have you solved this problem? I also encountered the same problem, tiny-yolov3 has no prediction result.

Problem solved successfully! There are some issues in the source code.

yolo3/model.py

anchor_mask = [[6,7,8], [3,4,5], [0,1,2]] if num_layers==3 else [[3,4,5], [1,2,3]] please change all [1,2,3] to [0,1,2] anchor_mask = [[6,7,8], [3,4,5], [0,1,2]] if num_layers==3 else [[3,4,5], [0,1,2]] I remember there should be three mistakes then retrain the tiny_model

请问是将cfg里面的mask也改成[[3,4,5], [0,1,2]]然后重新训练吗

dearwsj avatar Aug 21 '20 09:08 dearwsj

I have the same problem, When I find "[[3,4,5], [1,2,3]]", Let me test it. But why? I do not think it is a bug.

heshuju avatar Sep 25 '20 05:09 heshuju

The original darknet was updated on August 16, 2018.

https://github.com/pjreddie/darknet/commit/f86901f6177dfc6116360a13cc06ab680e0c86b0#diff-2b0e16f442a744897f1606ff1a0f99d3 ...

However, this repository (qqwweee/keras-yolo3) was last updated on July 31, 2018, so the above changes do not appear to have been applied.

tfukumori avatar Sep 25 '20 11:09 tfukumori

maybe your socre is too big, you can make your score smaller in yolo.py.

xiehou-design avatar Aug 09 '22 03:08 xiehou-design

这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。

wowo68 avatar Aug 09 '22 03:08 wowo68