From 3a347ebc3a09c9c0a81f9ae84f02c23200dd2d8f Mon Sep 17 00:00:00 2001 From: wangjiawei04 Date: Tue, 22 Sep 2020 21:04:48 +0800 Subject: [PATCH] fix doc --- deploy/pdserving/ocr_local_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/pdserving/ocr_local_server.py b/deploy/pdserving/ocr_local_server.py index a4fb540b..b506790f 100644 --- a/deploy/pdserving/ocr_local_server.py +++ b/deploy/pdserving/ocr_local_server.py @@ -110,7 +110,7 @@ class OCRService(WebService): if __name__ == "__main__": ocr_service = OCRService(name="ocr") - ocr_service.load_model_config("ocr_rec_model") + ocr_service.load_model_config(global_args.rec_model_dir) ocr_service.init_rec() if global_args.use_gpu: ocr_service.prepare_server( -- GitLab