AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.65k stars 7.96k forks source link

[Question] Training & Validating Models with Subset of COCO Dataset #7568

Open hashshura opened 3 years ago

hashshura commented 3 years ago

Hello,

I want to evaluate YOLOv4 models (yolov4, yolov4-csp, yolov4-tiny, and yolov4x-mish) for vehicle subset from COCO dataset (which includes only cars, trucks, buses, and motorcycles at ~19k images). I have already filtered the dataset and successfully trained some models.

My questions are:

I asked this because it seems like my YOLOv4 resulted model validation (train:val is 95:5) has too high mAP (even higher than YOLOv4-CSP and YOLOv4x-mish, all of them 416x416):

image

I saw similar issues, but my questions didn't really get answered there.

Thank you very much for this awesome work!

KKDDD commented 3 years ago

I have the same problem. I want to evaluate a custom data set with coco metrics, but I can’t find a suitable method. At the same time, I i found that all“image_id” of the JSON file is 0.