Skip to content

Commit d9590f8

Browse files
committed
allow user specified box/tiff pairs with tesstrain.sh
1 parent 323361b commit d9590f8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/training/tesstrain.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,11 @@ echo -e "USAGE: tesstrain.sh
2828
--run_shape_clustering # Run shape clustering (use for Indic langs).
2929
--maxpages # Specify maximum pages to output (default:0=all)
3030
--save_box_tiff # Save box/tiff pairs along with lstmf files.
31-
<<<<<<< HEAD
32-
--x_size # Specify width of output image (default:3600)
33-
=======
3431
--xsize # Specify width of output image (default:3600)
3532
3633
OPTIONAL flag for specifying directory with user specified box/tiff pairs.
3734
Files should be named similar to ${LANG_CODE}.${fontname}.exp${EXPOSURE}.box/tif
3835
--my_boxtiff_dir MY_BOXTIFF_DIR # Location of user specified box/tiff files.
39-
>>>>>>> c7cd112... allow box/tiff pairs for LSTM training
4036
4137
OPTIONAL flags for input data. If unspecified we will look for them in
4238
the langdata_dir directory.
@@ -89,7 +85,7 @@ if ((LINEDATA)); then
8985
phase_E_extract_features " --psm 6 lstm.train " 8 "lstmf"
9086
make__lstmdata
9187
tlog "\nCreated starter traineddata for LSTM training of language '${LANG_CODE}'\n"
92-
tlog "\nRun 'lstmtraining' comman next to continue LSTM training for language '${LANG_CODE}'\n"
88+
tlog "\nRun 'lstmtraining' command to continue LSTM training for language '${LANG_CODE}'\n"
9389
else
9490
phase_D_generate_dawg
9591
phase_E_extract_features "box.train" 8 "tr"

0 commit comments

Comments
 (0)