pan_pp_stable icon indicating copy to clipboard operation
pan_pp_stable copied to clipboard

IoU/Loss not changing for ICDAR2015 when all labels = "###"

Open abdur75648 opened this issue 3 years ago • 1 comments

I am trying to train it only for detection. So, I edited the .txt files in the annotations of ICDAR2015 and replaced the last part of each line (the label) in each file with "###". Previously, it was working fine, but now IoU/loss is NOT changing. I wonder why is this happening. This code is only for detection, so the labels should not matter. Please help @whai362 !

PS - I don't want labels because I want to train this model on my own dataset which has only bounding boxes, not labels (or equivalent;y, all the labels are equal to "###").

abdur75648 avatar May 18 '22 22:05 abdur75648

I notice that word ### will result in drawContour in training_masks. Perhaps you can try comment this line: https://github.com/whai362/pan_pp_stable/blob/d52a93a6c6ca4f2ef8b31aa3c6d6bad06daae2b5/dataset/ic15.py#L364

tyz1994 avatar Jan 17 '23 03:01 tyz1994