Attention-OCR icon indicating copy to clipboard operation
Attention-OCR copied to clipboard

bucket_specs

Open cltdevelop opened this issue 6 years ago • 2 comments

Hello! Thank for your opening source code. It's a wonderful code.

I want to ask what the meaning of bucket_specs in DataGen class: self.bucket_specs = [(int(64 / 4), 9 + 2), (int(108 / 4), 15 + 2), (int(140 / 4), 17 + 2), (int(256 / 4), 20 + 2), (int(math.ceil(img_width_range[1] / 4)), word_len + 2)]

cltdevelop avatar Apr 15 '18 12:04 cltdevelop

I guess they are used for images with different size

lulupanPPY avatar Jun 27 '18 08:06 lulupanPPY

they are for grouping images with the approx same width in the training process.

Zhang-O avatar Sep 04 '19 08:09 Zhang-O