未验证 提交 96eb6287 编写于 作者: littletomatodonkey's avatar littletomatodonkey 提交者: GitHub

fix trt int8 inference (#6387)

上级 f2c0a1a2
......@@ -202,7 +202,8 @@ def create_predictor(args, mode, logger):
workspace_size=1 << 30,
precision_mode=precision,
max_batch_size=args.max_batch_size,
min_subgraph_size=args.min_subgraph_size)
min_subgraph_size=args.min_subgraph_size,
use_calib_mode=False)
# skip the minmum trt subgraph
use_dynamic_shape = True
if mode == "det":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册