From d7cbe52697f3a29550da09f91b885bf53356e5a6 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Thu, 26 Aug 2021 02:21:22 +0000 Subject: [PATCH] adjust the min_subgraph_size to 15 --- tools/infer/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/infer/utility.py b/tools/infer/utility.py index 1c822800..9a687b73 100755 --- a/tools/infer/utility.py +++ b/tools/infer/utility.py @@ -35,7 +35,7 @@ def init_args(): parser.add_argument("--use_gpu", type=str2bool, default=True) parser.add_argument("--ir_optim", type=str2bool, default=True) parser.add_argument("--use_tensorrt", type=str2bool, default=False) - parser.add_argument("--min_subgraph_size", type=int, default=10) + parser.add_argument("--min_subgraph_size", type=int, default=15) parser.add_argument("--precision", type=str, default="fp32") parser.add_argument("--gpu_mem", type=int, default=500) -- GitLab