Skip to content

Commit

Permalink
Remove unnecessary set -x commands
Browse files Browse the repository at this point in the history
They create confusing output when building the lstmf files
and also slow down that build.

Fixes: 397db54 ("simplify recipe for box→lstmf")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed May 2, 2023
1 parent 5b37760 commit 02d94fc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -255,23 +255,18 @@ $(ALL_LSTMF): $(ALL_FILES:%.gt.txt=%.lstmf)

.PRECIOUS: %.lstmf
%.lstmf: %.png %.box
set -x; \
tesseract "$<" $* --psm $(PSM) lstm.train

%.lstmf: %.bin.png %.box
set -x; \
tesseract "$<" $* --psm $(PSM) lstm.train

%.lstmf: %.nrm.png %.box
set -x; \
tesseract "$<" $* --psm $(PSM) lstm.train

%.lstmf: %.raw.png %.box
set -x; \
tesseract "$<" $* --psm $(PSM) lstm.train

%.lstmf: %.tif %.box
set -x; \
tesseract "$<" $* --psm $(PSM) lstm.train

CHECKPOINT_FILES := $(wildcard $(OUTPUT_DIR)/checkpoints/$(MODEL_NAME)*.checkpoint)
Expand Down

0 comments on commit 02d94fc

Please sign in to comment.