onnx-tensorrt icon indicating copy to clipboard operation
onnx-tensorrt copied to clipboard

Assertion failed: inputs.at(0).isInt32() && "For range operator with dynamic inputs, this version of TensorRT only supports INT32!"

Open ElegantLin opened this issue 4 years ago • 3 comments

Description

I met the problem when I am trying to convert the range node using trtexec. The error is

image

The detail of the node is

image

Environment

TensorRT Version: 8.0.1.6 ONNX-TensorRT Version / Branch: GPU Type: Jetson Nano Jetpack 4.6 Nvidia Driver Version: CUDA Version: 10.2.300 CUDNN Version: 8.2.1.32 Operating System + Version: Python Version (if applicable): 3.6 TensorFlow + TF2ONNX Version (if applicable): PyTorch Version (if applicable): Baremetal or Container (if container which image + tag):

Relevant Files

Steps To Reproduce

ElegantLin avatar Sep 30 '21 08:09 ElegantLin

This is a known limitation, we are working on this feature and will be available in a future release.

kevinch-nv avatar Nov 05 '21 18:11 kevinch-nv

@kevinch-nv hello,i would like to know whether this problem has been solved,looking forward to your reply!

happyamyhope avatar Mar 09 '22 02:03 happyamyhope

I have already resolved it. Upgrade Tensorrt to version TensorRT 8.4 GA Update 1. 我已经解决了。tensorrt升到版本TensorRT 8.4 GA Update 1就可以了。

zoufangyu1987 avatar Apr 19 '23 02:04 zoufangyu1987