AlexeyAB / darknet

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

False positives and negatives #4192

Open RadouaneK opened 5 years ago

RadouaneK commented 5 years ago

I want to make some error analysis on the obtained results, so I need to get images names that have false positives and false negatives predictions. is there any way how to achieve that?

AlexeyAB commented 5 years ago

You can uncomment these lines: https://github.com/AlexeyAB/darknet/blob/master/src/detector.c#L896-L903

recompile and run ./darknet detector map ...

as result you will get file reinforcement.txt with training filenames where is at least one False-Positive or False-Negative.

It can be used for Reinforcement-learning.

spaul13 commented 4 years ago

@RadouaneK @AlexeyAB can u plz provide more pointers on how to implement reinforcement learning for classification in darknet?