Train:
./darknet detector train [dataFile] [cfgFile] [weights] -gpus [number]
MAP:
- To check accuracy mAP@IoU=50:
darknet.exe detector map data/obj.data yolo-obj.cfg backup\yolo-obj_7000.weights
- To check accuracy mAP@IoU=75:
darknet.exe detector map data/obj.data yolo-obj.cfg backup\yolo-obj_7000.weights -iou_thresh 0.75
Test image:
./darknet detector test ./cfg/coco.data ./cfg/yolov4.cfg ./yolov4.weights
模型特性:
- detector与数据相关性,对于数据库的要求高
for each object which you want to detect - there must be at least 1 similar object in the Training dataset with