darknet_ros icon indicating copy to clipboard operation
darknet_ros copied to clipboard

yolov3.yaml if classes removed, lower performance

Open christenbc opened this issue 5 years ago • 4 comments

Since I would like to use this package just for detecting certain object categories. I just delete from the list in yolov3.yaml the objects I do not want to appear. However, I have notice this does not work as it should since the YOLO will anyways make detections on such objects but will label them with the survivals on the list.

In addition, the quality of detection of the surviving objects in the list decreases unexplicably.

For instance, if I just want to detect persons, there will be a lot of True Negatives. IMG_20190507_144027

christenbc avatar May 08 '19 14:05 christenbc

I think you meant false positives?

rekalantar avatar Jun 20 '19 19:06 rekalantar

I think you meant false positives?

No, True Negatives, it is different stuff. See the picture above.

christenbc avatar Jun 22 '19 09:06 christenbc

@chbloca You can't just delete labels...you need to retrain the model for only those objects, look at @AlexeyAB repo.

fiorano10 avatar Jul 15 '19 22:07 fiorano10

If you don't want to retrain a model and only want to detect one class or several classes. Maybe you can try this method #204 .

9527-csroad avatar Oct 18 '22 08:10 9527-csroad