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

what is the purpose of buckets? #75

Open
mowkee opened this issue Nov 12, 2018 · 1 comment
Open

what is the purpose of buckets? #75

mowkee opened this issue Nov 12, 2018 · 1 comment

Comments

@mowkee
Copy link

mowkee commented Nov 12, 2018

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?

@MichalBusta
Copy link
Owner

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.

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