未验证 提交 067e94db 编写于 作者: G guochaorong 提交者: GitHub

Merge pull request #1172 from wanghaoshuang/fx_ce_ocr

Fix ce of ocr.
export ce_mode=1
rm *factor.txt
python ctc_train.py --batch_size=32 --total_step=30000 --eval_period=30000 --log_period=30000 --use_gpu=True 1> ./tmp.log
python ctc_train.py --batch_size=32 --total_step=1 --eval_period=1 --log_period=1 --use_gpu=True 1> ./tmp.log
cat tmp.log | python _ce.py
rm tmp.log
......@@ -4,8 +4,8 @@ import tarfile
import numpy as np
from PIL import Image
from os import path
from paddle.v2.image import load_image
import paddle.v2 as paddle
from paddle.dataset.image import load_image
import paddle
NUM_CLASSES = 95
DATA_SHAPE = [1, 48, 512]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册