From 646fa5fa4e9328146d59e6b2b61ce2f8b98c6c93 Mon Sep 17 00:00:00 2001 From: Yao Fang Date: Mon, 12 Apr 2021 11:58:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E9=AB=98cpu=E8=AF=86=E5=88=AB?= =?UTF-8?q?=E5=87=86=E7=A1=AE=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index e0b374b5..d686c96e 100644 --- a/main.py +++ b/main.py @@ -37,7 +37,8 @@ def load_model(): # 加载快速模型 args.det_model_dir = config.DET_MODEL_FAST_PATH # 加载快速模型 - args.rec_model_dir = config.REC_MODEL_FAST_PATH + # args.rec_model_dir = config.REC_MODEL_FAST_PATH + args.rec_model_dir = config.REC_MODEL_PATH # 设置字典路径 args.rec_char_dict_path = config.DICT_PATH