From 8fb2bba25e4f8748c7abbef4635c8020be95aa8f Mon Sep 17 00:00:00 2001 From: Harshit Kumar Date: Wed, 27 Oct 2021 17:25:55 +0530 Subject: [PATCH] fix: Fix param minShapes for trtexec command It should be minShapes, not minShape --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75c1b7cd..ed39b95d 100644 --- a/README.md +++ b/README.md @@ -274,7 +274,7 @@ python demo_trt.py For multi-batch, ``` - trtexec --onnx= --explicitBatch --shapes=input:Xx3xHxW --optShapes=input:Xx3xHxW --maxShapes=input:Xx3xHxW --minShape=input:1x3xHxW --saveEngine= --fp16 + trtexec --onnx= --explicitBatch --shapes=input:Xx3xHxW --optShapes=input:Xx3xHxW --maxShapes=input:Xx3xHxW --minShapes=input:1x3xHxW --saveEngine= --fp16 ``` Note :The maxShapes could not be larger than model original shape.