'How to get MAP score of the Yolov4 Model?

I have a set of Images and Yolo Annotation files(in txt format) for the validation.

How to properly use -map argument (something like below) to get the mAP score of the validation dataset using the darknet framework (Repo:https://github.com/AlexeyAB/darknet)?

/darknet detector map cfg/test.data cfg/test_tiny.cfg backup\my_yolov3_tiny_final.weights 

Will it be possible to derive the confusion matrix from this?



Solution 1:[1]

I couldn't edit the code above. For more proper command:

./darknet detector map test.data yolov4-tiny.cfg yolov4-tiny_last.weights

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ugurcan