diff --git a/tools/infer/utility.py b/tools/infer/utility.py index a87e3eefb2b3e0bcc8d4a4202092989ba56dadd4..dbdb4e33998837414c7833d470c93c6199ad61c9 100755 --- a/tools/infer/utility.py +++ b/tools/infer/utility.py @@ -236,8 +236,8 @@ def create_predictor(args, mode, logger): config.enable_tensorrt_engine( precision_mode=inference.PrecisionType.Float32, max_batch_size=args.max_batch_size, - min_subgraph_size=args. - min_subgraph_size) # skip the minmum trt subgraph + min_subgraph_size=args.min_subgraph_size) + # skip the minmum trt subgraph if mode == "det": min_input_shape = { "x": [1, 3, 50, 50],