pytorch-YOLOv4 icon indicating copy to clipboard operation
pytorch-YOLOv4 copied to clipboard

COCO eval results boost by changing NMS function

Open mikel-brostrom opened this issue 2 years ago • 1 comments

Hi @Tianxiaomo , I just ported your Yolov4 to Pytorch Lightning. I get the following results evaluating with pycocotools

  [email protected] [email protected]:0.95
TianXiaomo(pycocotools evaluation) 0.704 0.471
Ported to Pytorch Lightning using Yolov5 NMS (pycocotools evaluation) 0.730 0.491
Original Yolov4 (custom evaluation) 0.710 0.466

The only thing I changed was the NMS function. I used this one from Yolov5 and adapted the head to be compatible with it. The boosts are substantial.

mikel-brostrom avatar Feb 10 '23 13:02 mikel-brostrom

Hey @mikel-brostrom Can you please let me know what changes did you make to get the inference boost ?

PrajwalCogniac avatar Mar 14 '23 23:03 PrajwalCogniac