Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3 times call to function net.forward_ocr in method process_boxes #77

Open
AniketGurav opened this issue Jul 30, 2022 · 2 comments
Open

Comments

@AniketGurav
Copy link

Hi, in function process_boxes net.forward_ocr is called 3 times. I am not clear about it.
those lines no are 270,276,381 in train.py

By reading paper, what I understand is the function process_boxes ocr the crops extracted by the
Localization Module LM.
Those crops are extracted from the 1. bounding box coordinate extracted by LM and 2.feature map from one of the layer of LM.

But I am not clear about 3rd ocr call on line 381 above..

I have referred Fig 3 of your paper https://arxiv.org/pdf/1801.09919.pdf for understanding.

@MichalBusta
Copy link
Owner

Hi Aniket,
3rd call is training on GT boxes. It can speed up training in early stage (since a prediction network does not produce proposals with good overlap)

in short we train on:

  • gt boxes
  • proposals with estimated angle
  • propostals with gt angle (You can see it as extra augumentation)

Hope it helps, Michal

@AniketGurav
Copy link
Author

Thank you for reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants