未验证 提交 ce2674dc 编写于 作者: X xiaoting 提交者: GitHub

Merge pull request #140 from tink2123/fix_typo

fix typo
......@@ -13,6 +13,7 @@ Global:
max_text_length: 25
character_type: en
loss_type: attention
tps: true
reader_yml: ./configs/rec/rec_benchmark_reader.yml
pretrain_weights:
checkpoints:
......
......@@ -13,6 +13,7 @@ Global:
max_text_length: 25
character_type: en
loss_type: ctc
tps: true
reader_yml: ./configs/rec/rec_benchmark_reader.yml
pretrain_weights:
checkpoints:
......
......@@ -184,7 +184,7 @@ class SimpleReader(object):
self.infer_img = params['infer_img']
self.use_tps = False
if "tps" in params:
self.ues_tps = True
self.use_tps = True
if params['mode'] == 'train':
self.batch_size = params['train_batch_size_per_card']
self.drop_last = True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册