From 3703010c26aaf7a0b00f40d688b995b327e18f2d Mon Sep 17 00:00:00 2001 From: wanghaoshuang Date: Mon, 27 Aug 2018 04:27:12 +0000 Subject: [PATCH] Fix .run_ce.sh. --- fluid/ocr_recognition/.run_ce.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fluid/ocr_recognition/.run_ce.sh b/fluid/ocr_recognition/.run_ce.sh index 90abc143..48f466eb 100755 --- a/fluid/ocr_recognition/.run_ce.sh +++ b/fluid/ocr_recognition/.run_ce.sh @@ -1,4 +1,5 @@ export ce_mode=1 -python train.py --batch_size=32 --total_step=1 --eval_period=1 --log_period=1 --use_gpu=True 1> ./tmp.log +rm -f *_factor.txt +python train.py --batch_size=32 --total_step=100 --eval_period=100 --log_period=100 --use_gpu=True 1> ./tmp.log cat tmp.log | python _ce.py rm tmp.log -- GitLab