From d87be123d2c77e9c01db7c838c5d3d32a2790ac1 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Mon, 28 Jun 2021 21:56:59 +0800 Subject: [PATCH] delete benchmark_util --- tools/infer/predict_det.py | 2 -- tools/infer/predict_rec.py | 1 - 2 files changed, 3 deletions(-) diff --git a/tools/infer/predict_det.py b/tools/infer/predict_det.py index 1b52e717..a9ebd89d 100755 --- a/tools/infer/predict_det.py +++ b/tools/infer/predict_det.py @@ -31,8 +31,6 @@ from ppocr.utils.utility import get_image_file_list, check_and_read_gif from ppocr.data import create_operators, transform from ppocr.postprocess import build_post_process -# import tools.infer.benchmark_utils as benchmark_utils - logger = get_logger() diff --git a/tools/infer/predict_rec.py b/tools/infer/predict_rec.py index f0f03be7..cf671403 100755 --- a/tools/infer/predict_rec.py +++ b/tools/infer/predict_rec.py @@ -28,7 +28,6 @@ import traceback import paddle import tools.infer.utility as utility -import tools.infer.benchmark_utils as benchmark_utils from ppocr.postprocess import build_post_process from ppocr.utils.logging import get_logger from ppocr.utils.utility import get_image_file_list, check_and_read_gif -- GitLab