Megvii-BaseDetection / YOLOX

YOLOX is a high-performance anchor-free YOLO, exceeding yolov3~v5 with MegEngine, ONNX, TensorRT, ncnn, and OpenVINO supported. Documentation: https://yolox.readthedocs.io/
Apache License 2.0
9.36k stars 2.2k forks source link

Hello everyone!Why do my training results(AP and AR) have negative values? #638

Open JC-FOSU opened 3 years ago

JC-FOSU commented 3 years ago

Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.899 Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.993 Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.990 Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = -1.000 Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.819 Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.939 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.175 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.917 Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.917 Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = -1.000 Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.848 Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.951

Joker316701882 commented 3 years ago

@JC-FOSU It is caused by the cocoapi. Probably because there aren't any small objects in your val data or the model does not predict any small objects (I'm not sure). But based on your mAP 0.899, don't worry, try your model!

zhiqwang commented 3 years ago

I guess it's because there are no targets smaller than 32*32 in the val set.

xiaxialin commented 2 years ago

I also have the same problem. It is useless to adjust LR and so on