YOLOv3 mAP
See original GitHub issueHi, I was trying to use your code with YOLOv3, but I have some problems to make predictions txt files.
With ./darknet detector test cfg/voc.data yolo-voc.cfg yolo-voc.weights -dont_show -ext_output < data/train.txt > result.txt
I can generate a unique txt file with all results, but I really don’t have idea how to parse it.
This is an example of result.txt file:
<Total BFLOPS 65.864
seen 64 Enter Image Path: data/horses.jpg: Predicted in 42.076185 seconds. horse: 88% (left_x: 3 top_y: 185 width: 150 height: 167) horse: 99% (left_x: 5 top_y: 198 width: 307 height: 214) horse: 96% (left_x: 236 top_y: 180 width: 215 height: 169) horse: 99% (left_x: 440 top_y: 209 width: 156 height: 142) Enter Image Path: data/person.jpg: Predicted in 41.767213 seconds. dog: 99% (left_x: 58 top_y: 262 width: 147 height: 89) person: 100% (left_x: 190 top_y: 95 width: 86 height: 284) horse: 100% (left_x: 394 top_y: 137 width: 215 height: 206) Enter Image Path: >
Thank you so much for your help.
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (4 by maintainers)
Top GitHub Comments
here is a simple code, works for yolov3 of v4 or any other, adjust the paths, time or even the command for yourself
Done! Have a look here.
Basically, all you have to do is add the
result.txt
to the folderextra/
and run the commandpython convert_pred_yolo.py