DAVAR-Lab-OCR icon indicating copy to clipboard operation
DAVAR-Lab-OCR copied to clipboard

LGPMA - Global segmentation branch

Open smeetpatelmai opened this issue 1 year ago • 1 comments

I went through the LGPMA research paper and found the idea pretty interesting. However, I had some questions on going through the code a bit more closely.

I found that global segmentation branch results are never used to rescore LPMA branch results or fine tune the aligned bounding boxes. Only the local segmentation branch results are used to refine aligned bounding boxes. I tested the code using test_pub.py script where:

  1. In lgpma_base.py, I set refine_bboxes=True.
  2. In lgpma.py, line 167 appends the global segmentation result to the results list. However, in post_lgpma.py, line 336 never passes global segmentation results to softmasks_refine_bboxes().

This leads me to the question: Is global segmentation based refinement a missing feature or it turns out to provide better results without it?

I would really appreciate your feedback on the same.

smeetpatelmai avatar Feb 21 '23 21:02 smeetpatelmai