提交 814c91eb 编写于 作者: B breezedeus

change default model

上级 c28507e5
......@@ -115,7 +115,7 @@ class CnOcr(object):
def __init__(
self,
model_name='conv-lite-fc',
model_name='densenet-lite-fc',
model_epoch=None,
cand_alphabet=None,
root=data_dir(),
......@@ -165,6 +165,7 @@ class CnOcr(object):
f = os.path.join(model_dir, f)
if not os.path.exists(f):
file_prepared = False
logger.warning('can not find file %s', f)
break
if file_prepared:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册