hi, i have tried minus 1 and got following result Iteration 0: GROUND TRUTH : ) @® Iteration 0: BEST OCR TEXT : Yo File eng.arial.exp0.lstmf line 0 :
On Friday, February 5, 2021 at 4:40:14 PM UTC+5:30 shree wrote: > Have you tried with value -1?? > minus 1 > > On Fri, Feb 5, 2021 at 4:37 PM Kumar Rajwani <kumarraj...@gmail.com> > wrote: > >> hi, >> i have tried that it's shows following output >> Starting sh -c "trap 'kill %1' 0 1 2 ; java -Xms1024m -Xmx2048m -jar >> ./ScrollView.jar & wait" >> ScrollView: Waiting for server... >> Error: Unable to access jarfile ./ScrollView.jar >> sh: 1: kill: No such process >> On Friday, February 5, 2021 at 4:28:14 PM UTC+5:30 shree wrote: >> >>> Add the following to your lstmtraining command and see. >>> --debug_interval -1 >>> >>> >>> >>> On Fri, Feb 5, 2021 at 4:05 PM Kumar Rajwani <kumarraj...@gmail.com> >>> wrote: >>> >>>> HI, >>>> i am trying to finetune eng.traindata as per my images i have tried to >>>> train but all time i am stuck somewhere can you tell me how can i procced >>>> further. >>>> current steps >>>> step 1 make box files >>>> >>>> %%bash >>>> for file in *.jpg; do >>>> echo $file >>>> base=`basename $file .jpg` >>>> tesseract $file $base lstmbox >>>> done >>>> >>>> >>>> step 2 make lstmf file >>>> %%bash >>>> for file in *.jpg; do >>>> echo $file >>>> base=`basename $file .jpg` >>>> tesseract $file $base lstm.train >>>> done >>>> >>>> step 3 create unichar set >>>> %%bash >>>> function wrap { >>>> for i in `seq 0 $1`; do >>>> echo "$2$i$3" >>>> done >>>> } >>>> N=0 >>>> unicharset_extractor `wrap $N "eng.arial.exp" ".box"` >>>> >>>> step 4 start training >>>> >>>> !lstmtraining \ >>>> --model_output output/ \ >>>> --continue_from lstm_model/eng.lstm \ >>>> --traineddata /usr/share/tesseract-ocr/5/tessdata/eng.traineddata \ >>>> --train_listfile list.train \ >>>> --eval_listfile list.eval \ >>>> --max_iterations 400 \ >>>> >>>> >>>> in step 4 it will give following output >>>> Loaded file lstm_model/eng.lstm, unpacking... >>>> Warning: LSTMTrainer deserialized an LSTMRecognizer! >>>> Continuing from lstm_model/eng.lstm >>>> Loaded 128/128 lines (1-128) of document eng.arial.exp0.lstmf >>>> Loaded 131/131 lines (1-131) of document eng.arial.exp9.lstmf >>>> Loaded 135/135 lines (1-135) of document eng.arial.exp7.lstmf >>>> Loaded 114/114 lines (1-114) of document eng.arial.exp2.lstmf >>>> Loaded 93/93 lines (1-93) of document eng.arial.exp6.lstmf >>>> Loaded 104/104 lines (1-104) of document eng.arial.exp4.lstmf >>>> Loaded 88/88 lines (1-88) of document eng.arial.exp5.lstmf >>>> Loaded 131/131 lines (1-131) of document eng.arial.exp3.lstmf >>>> >>>> This is not training after this. >>>> so can you tell me what changes i can do to successfull training. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "tesseract-ocr" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to tesseract-oc...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/tesseract-ocr/977d82fc-c2a6-4c3d-8db5-c6c917e9c8c0n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tesseract-ocr/977d82fc-c2a6-4c3d-8db5-c6c917e9c8c0n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> -- >>> >>> ____________________________________________________________ >>> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "tesseract-ocr" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to tesseract-oc...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/539244c7-0826-4bae-a610-c4e1ededfce6n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tesseract-ocr/539244c7-0826-4bae-a610-c4e1ededfce6n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > > ____________________________________________________________ > भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/57a336d2-3b22-431e-a072-15cc674c28c7n%40googlegroups.com.