diff --git a/tools/infer/predict_system.py b/tools/infer/predict_system.py index 6e7f69025a924ed727905c7efa4867262da665b7..b5edd01589685a29a37dc20064b0d58e9d776fec 100755 --- a/tools/infer/predict_system.py +++ b/tools/infer/predict_system.py @@ -177,6 +177,7 @@ def main(args): text_sys.text_detector.autolog.report() text_sys.text_recognizer.autolog.report() + if __name__ == "__main__": args = utility.parse_args() if args.use_mp: