diff --git a/tools/infer/utility.py b/tools/infer/utility.py index b793254da688079c5a6782f2c071f1c3d8f992d4..c3d294e60091f68d93cab244dc495e4fca2aa5a6 100755 --- a/tools/infer/utility.py +++ b/tools/infer/utility.py @@ -34,7 +34,6 @@ def parse_args(): parser.add_argument("--ir_optim", type=str2bool, default=True) parser.add_argument("--use_tensorrt", type=str2bool, default=False) parser.add_argument("--use_fp16", type=str2bool, default=False) - parser.add_argument("--max_batch_size", type=int, default=10) parser.add_argument("--gpu_mem", type=int, default=8000) # params for text detector