diff --git a/tools/infer/predict_det.py b/tools/infer/predict_det.py index 1b52e717ca1edbbd9ede31260e47ec8973270d3f..a9ebd89dbe803451c82946658062fd133c763172 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 f0f03be742eae78cdc049ddd14943256406e6e5f..cf671403dcd254310774a4dd27d3c6c5e9fb0886 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