From ef620c2a20c24017906482b08dfae28e62d06cb8 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Mon, 22 Mar 2021 12:49:10 +0800 Subject: [PATCH] remove unused func --- tools/export_model.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tools/export_model.py b/tools/export_model.py index 1e9526e0..f587b2bb 100755 --- a/tools/export_model.py +++ b/tools/export_model.py @@ -31,14 +31,6 @@ from ppocr.utils.logging import get_logger from tools.program import load_config, merge_config, ArgsParser -def parse_args(): - parser = argparse.ArgumentParser() - parser.add_argument("-c", "--config", help="configuration file to use") - parser.add_argument( - "-o", "--output_path", type=str, default='./output/infer/') - return parser.parse_args() - - def main(): FLAGS = ArgsParser().parse_args() config = load_config(FLAGS.config) -- GitLab