Hi. I finally got the training from 4.o to work, but I was unable to build 
the ScrollView.jar so Im currently running the test with "--debug_interval 
-1". Can someone help Me?

Sistem

Platform: MAC OS X  10.13.3 (installed with brew)
Tesseract: 4.0.0-beta.1
leptonica: 1.75.3
  libjpeg 9c : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11

Steps

*First Try*

1 - I cloned a new repository from git
2 - Added the "piccolo2d-core-3.0.jar" and "piccolo2d-extras-3.0.jar" files 
to the java folder
3 - Executed the command
make ScrollView.jar

4 - Got this message from console:
make: *** No rule to make target `ScrollView.jar'.  Stop.

*Second Try*

1 - Downloaded the files already builded 
from: https://www.4shared.com/zip/FnP8RSu0/tess_debug_3_02.html
2 - Copied the "piccolo2d-core-3.0.jar", "piccolo2d-extras-3.0.jar" and "
ScrollView.jar" to the java folder
3 - Executed the code:
SCROLLVIEW_PATH=~/projects/tesseract/java \
/usr/local/Cellar/tesseract/HEAD-f8e26ee/bin/lstmtraining \
--debug_interval 100 \
--traineddata ~/tesstutorial/eng/eng.traineddata \
--net_spec '[1,36,0,1 Ct3,3,16 Mp3,3 Lfys48 Lfx96 Lrx96 Lfx256 O1c111]' \
--model_output ~/tesstutorial/engoutput/base \
--learning_rate 20e-4 \
--train_listfile ~/tesstutorial/engtrain/eng.training_files.txt \
--eval_listfile ~/tesstutorial/engeval/eng.training_files.txt \
--max_iterations 5000 &>~/tesstutorial/engoutput/basetrain.log

4 - Got this error:
Loaded file /Users/fernandogot/tesstutorial/engoutput/base_checkpoint, 
unpacking...
Successfully restored trainer from 
/Users/fernandogot/tesstutorial/engoutput/base_checkpoint
Loaded 72/72 pages (1-72) of document 
/Users/fernandogot/tesstutorial/eng/eng.Verdana.exp0.lstmf
Loaded 72/72 pages (1-72) of document 
/Users/fernandogot/tesstutorial/eng/eng.Verdana.exp0.lstmf
Starting sh -c "trap 'kill %1' 0 1 2 ; java -Xms1024m -Xmx2048m -jar 
/Users/fernandogot/projects/tesseract/java/ScrollView.jar & wait"
Error: Unable to access jarfile 
/Users/fernandogot/projects/tesseract/java/ScrollView.jar
sh: line 0: kill: %1: no such job

Any idea on how to fix it?

Thanks for reading and for your time!

-- 
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 post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/4bdadb4e-549c-4361-8a83-53199633489a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to