Environment
TensorRT Image: nvcr.io/nvidia/tensorrt:24.03-py3
GPU Type: NVIDIA GeForce RTX 3050
Operating System + Version: WSL
PeopleNet ONNX and calibration file: PeopleNet | NVIDIA NGC
Steps to reproduce:
- docker run --gpus all -it --rm -v /home/CV-Framework:/workspace/CV-Framework nvcr.io/nvidia/tensorrt:24.03-py3
- trtexec --onnx=/workspace/CV-Framework/model_repository/peoplenet_int8_onnx/1/resnet34_peoplenet_int8.onnx --maxShapes=“input_1:0”:16x3x544x960 --minShapes=“input_1:0”:1x3x544x960 --optShapes=“input_1:0”:8x3x544x960 --calib=/workspace/CV-Framework/model_repository/peoplenet_int8_onnx/1/resnet34_peoplenet_int8.txt --best --saveEngine=/workspace/CV-Framework/model_repository/peoplenet_int8_onnx/1/resnet34_peoplenet_int8.plan
Note: The trtexec command works when --fp16 is flagged but fails when --int8 or --best is flagged
Error:
Appreciate your advice on this. Thanks!