Trouble overfitting a small batch of block detection in webpages #2821
salman1993
started this conversation in
General
Replies: 1 comment 1 reply
-
Here is the small dataset I have used: Btw, I also tried overfitting using some people images from Google and it worked really well (my guess is that transfer learning from COCO works a lot better on people than webpage blocks) so my suspicion was that the anchors might be an issue since the rectangular block bboxes can be quite wide and long. However, the output from autoanchor tells me that best possible recall is 1.00 after running k-means so this is fine? (not sure):
My dataset yaml file:
My hyperparams file after running hyperparam evolution:
F1 curve of single training run (although most look quite similar): |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use YoloV5 to recognize section blocks in webpages. For starters, I am trying to overfit to a small batch - here is a sample:
I followed the tutorial here. I was able to train the model but it is not able to predict blocks confidently. At conf_thresh 0.25, there are no block predictions but if I set it to really low value such as 0.03, I see mostly mispredictions.
What I tried so far (nothing worked):
Any pointers to what I can try next with YoloV5 to solve this task will be very helpful. I will put a lot information in the thread if anyone wants to take a deeper look. Thanks for making this repo so accessible!
Beta Was this translation helpful? Give feedback.
All reactions