yolor icon indicating copy to clipboard operation
yolor copied to clipboard

Incorrect precision and recall

Open madr3z opened this issue 3 years ago • 6 comments

Precision is either 1 or 0 and recall is always 0.000589 in all epochs even after 300 epochs. I am using a single class dataset (binary detection) and I am guessing that this issue happens only with single class datasets. I tried copying yolov5 repo's utils/metrics.py but still getting the same problem. This issue also happened in Scaled-Yolov4 repo.

madr3z avatar Aug 14 '21 14:08 madr3z

I have also strange test.py results, which shows very low recall (check off class) but very high mAP, I don't know how. image

yusiyoh avatar Aug 18 '21 11:08 yusiyoh

i'm faced with same problem while training! Снимок экрана от 2021-09-01 02-11-14

TheConstant3 avatar Aug 31 '21 23:08 TheConstant3

i'm faced with same problem while training! Снимок экрана от 2021-09-01 02-11-14

You may try to clone repo again since the metrics.py is changed. However, I am not sure about precision and recall. mAP will definitely change.

yusiyoh avatar Sep 14 '21 10:09 yusiyoh

Facing the same issue image

dhivakark avatar Nov 09 '21 12:11 dhivakark

Same here! And the step is (13 * actual epoch + 6) ... image

qinghezeng avatar Apr 16 '22 22:04 qinghezeng

Hi! I'm faced same issue. Anyone help me solve this problem ? Thanks.

nhatanh174 avatar May 27 '22 07:05 nhatanh174