Objectness loss in case of "one-class-only" detector #12872
Unanswered
simonespring
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I have a question regarding the training of a single-class yolov5 object detection model.
Since the model should learn how to only detect a single specific class, the class loss is identically zero throughout the training process. But what about the objectness loss? Should it be included in the computation of the "total" loss function although I have a single class only?
Also, note that during the training process, the evolution of the objectness score is quite peculiar. In particular, while the box loss decreases "as expected", this is not true for the objectness loss. In particular, the objectness loss computed on the training dataset decreases almost linearly, while the objectness loss computed on the validation dataset reaches a sort of "plateau" (see attached plot).
Do you have any recommendation/suggestion about how to improve the training performances?
Any advice would be great, thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions