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