Closed NiranjanRavi1993 closed 2 years ago
Hard negative mining is not used in YOLOv5.
On Thu, 7 Apr 2022 at 18:58 NiranjanRavi @.***> wrote:
Search before asking
- I have searched the YOLOv5 issues https://github.com/ultralytics/yolov5/issues and discussions https://github.com/ultralytics/yolov5/discussions and found no similar questions.
Question
Hi, Thank you for the excellent repo. I was trying to analyze/understand the performance of Single Shot Detector (SSD) and YoloV5. I have a question related to the "hard negative mining (HNM)" concept. SSD chooses a ratio of negative to positive samples as 3:1 to carry out HNM.
Does Yolov5 also follow the same approach? The multibox loss calculation function of SSD is a sum of confidence+localization loss whereas the multibox loss of YoloV5 is different. Where can I understand the usage of HNM in yolov5?
Please correct me if I am wrong.
Any guidance would be highly helpful.
Thanks and Regards Niranjan Ravi. Additional
No response
— Reply to this email directly, view it on GitHub https://github.com/ultralytics/yolov5/issues/7338, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGMXEGJVIKTCJZMAFYT65JDVD4H27ANCNFSM5S2AHD3A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Glenn Jocher Founder & CEO, Ultralytics +1 301 237 6695 https://www.twitter.com/ultralytics https://www.youtube.com/ultralytics https://www.github.com/ultralytics https://www.linkedin.com/company/ultralytics
Thank you for the clarification.
Search before asking
Question
Hi, Thank you for the excellent repo. I was trying to analyze/understand the performance of Single Shot Detector (SSD) and YoloV5. I have a question related to the "hard negative mining (HNM)" concept. SSD chooses a ratio of negative to positive samples as 3:1 to carry out HNM.
Does Yolov5 also follow the same approach? The multibox loss calculation function of SSD is a sum of confidence+localization loss whereas the multibox loss of YoloV5 is different. Where can I understand the usage of HNM in yolov5?
Please correct me if I am wrong.
Any guidance would be highly helpful.
Thanks and Regards Niranjan Ravi.
Additional
No response