DeepTextSpotter icon indicating copy to clipboard operation
DeepTextSpotter copied to clipboard

what is the purpose of buckets?

Open mowkee opened this issue 6 years ago • 1 comments

In the python code we have a list called buckets with following values:

buckets = [54, 80, 124, 182, 272, 410, 614, 922, 1383, 2212]

what is the purpose of this list?

mowkee avatar Nov 12 '18 12:11 mowkee

in order to create batches for OCR training, we work with fixed widths of size 54, 80, 124 ...

so you take the proposal, and pick the best corresponding width from list. In this way you are able to pass more samples in one batch to network.

MichalBusta avatar Nov 15 '18 08:11 MichalBusta