Ignored boxes without labels seem to be treated as positive samples in YOLO training example #3094
-
|
Hi dears, I’ve been testing the dnn_yolo_train_ex.cpp example, and I noticed something unexpected. It looks like rectangles that are marked as "ignored" and no labeleds are still being treated as positive samples during training. They end up being detected by the trained model as if they were real objects. Has anyone else observed this behavior? Is it the intended behavior, or could there be something wrong in how ignored boxes are being handled during training? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 3 replies
-
|
Hi! It would be helpful to have a bit more details, but I have a few questions:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Can you try training by removing all ignored boxes? I you don't want to detect, you should just not label. Ignore means just I don't care what you do here. So I doesn't penalize detections but also doesn't penalize non-detections. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I thought of this because of the comment written in dnn_mmod_train_find_cars_ex.cpp Ah, I'm doing the training without the ignored boxes, it will take time. I tell you the result! |
Beta Was this translation helpful? Give feedback.
-
|
I feel like, if all your texts are in plates, the network will figure that out and implicitly detect plates. I haven't tried plate number detection, though. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much for the tips Arrufat! I removed all the boxes marked as ignored and put them into training. It will take a while to finish. When I finish and test it, I'll post the results. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Arrufat, Thank you so much for your help! I completed the training and ran some inference tests. Your suggestions made a huge difference and significantly improved the system. My dataset is still quite small, so I'll expand it next. I'm also planning to do post-processing and full-plate detection to better isolate the important characters. I really appreciate your willingness to help and the way you (and Davis King) always take the time to respond, not just to me, but to everyone. ps: Attached are some test inferences, in case you want to look at them. Thanks again, and best regards! |
Beta Was this translation helpful? Give feedback.












Hi!
It would be helpful to have a bit more details, but I have a few questions: