From 95f820b835e9c266269dfda94e44a4cdbc86fc03 Mon Sep 17 00:00:00 2001 From: wangjiawei04 Date: Tue, 22 Sep 2020 21:08:31 +0800 Subject: [PATCH] CLOSE data augment if use pdserving --- ppocr/data/det/db_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppocr/data/det/db_process.py b/ppocr/data/det/db_process.py index 3136b3ec..1d3dafe5 100644 --- a/ppocr/data/det/db_process.py +++ b/ppocr/data/det/db_process.py @@ -22,7 +22,7 @@ logger = initial_logger() import tools.infer.utility as utility args = utility.parse_args() -if args.use_serving is False: +if args.use_pdserving is False: from .data_augment import AugmentData from .random_crop_data import RandomCropData from .make_shrink_map import MakeShrinkMap -- GitLab