This version of TensorRT does not support BOOL input type for the Gather operator

Description

Trying to generate trt engine from onnx model using trtexec
onnx file got from tensorflow trained model.

getting following error

Assertion failed: (data.getType() != nvinfer1::DataType::kBOOL) && “This version of TensorRT does not support BOOL input type for the Gather operator.”

Environment

TensorRT Version : 8.4
Package: nvidia-jetpack
CUDA Version : 11.4
Package: nvidia-jetpack
Version: 5.0.1-b118
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-jetpack-runtime (= 5.0.1-b118), nvidia-jetpack-dev (= 5.0.1-b118)
Size: 29304

Hi,

We recommend you try the latest TensorRT version 8.6.1. Which supports the BOOL data type.

Thank you.

Thank you for the suggestion. It worked with 8.6.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.