Image too large to learn!!

62 views
Skip to first unread message

shuang hao

unread,
Sep 20, 2017, 10:07:47 PM9/20/17
to tesseract-ocr

Hello everyone,

When I train models by LSTM 4.0 https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#fine-tuning-for-%C2%B1-a-few-characters

It showed this problem, how to solve it? Why happened? What should the pic size be?


Image too large to learn!! Size = 2608x48
Image not trainable
Image too large to learn!! Size = 2845x48
Image not trainable
At iteration 18938/35100/36699, Mean rms=0.379%, delta=0.441%, char train=1.315%, word train=2.366%, skip ratio=3.2%,  New worst char error = 1.315 wrote checkpoint.

Image too large to learn!! Size = 2704x48
Image not trainable
Image too large to learn!! Size = 2666x48
Image not trainable
Image too large to learn!! Size = 2634x48
Image not trainable
Image too large to learn!! Size = 2593x48
Image not trainable
Image too large to learn!! Size = 2593x48
Image not trainable
At iteration 18971/35200/36804, Mean rms=0.376%, delta=0.435%, char train=1.279%, word train=2.311%, skip ratio=3.4%,  New worst char error = 1.279 wrote checkpoint.



The pics is created by the shell "training/tesstrain.sh ", How to decide the size of the pic by this way???


training/tesstrain.sh  \
   
--fonts_dir /usr/share/fonts \
 
--lang chi_sim  \
 
--linedata_only \
 
--noextract_font_properties \
 
--exposures "0"    \
 
--langdata_dir ../langdata \
 
--tessdata_dir /home/hs/tessdata/tessdata  \
 
--output_dir ../tesstutorial/chi_sim



shuang hao

unread,
Sep 21, 2017, 2:53:15 AM9/21/17
to tesseract-ocr

https://github.com/tesseract-ocr/tesseract/issues/590



在 2017年9月21日星期四 UTC+8上午10:07:47,shuang hao写道:
Reply all
Reply to author
Forward
0 new messages