DeepTextSpotter
DeepTextSpotter copied to clipboard
what is the purpose of buckets?
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?
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.