Tensorrt: How can I use tensorRT in 3D image including hight, width and depth

Created on 13 Aug 2019  路  3Comments  路  Source: NVIDIA/TensorRT

Hi ,
I have a tensorflow-trained 3D network---V-Net, which is a 3D segmentation network. That means the input and output image is a 3D image including hight, width and depth. I notice that the tensorRT API UffInputOrder has three members:NC, NHWC, NCHW. All of them are for 2D image.
So how can I use tensorRT in my 3D V-Net model?
Thanks

Most helpful comment

Hi ,
I have a tensorflow-trained 3D network---V-Net, which is a 3D segmentation network. That means the input and output image is a 3D image including hight, width and depth. I notice that the tensorRT API UffInputOrder has three members:NC, NHWC, NCHW. All of them are for 2D image.
So how can I use tensorRT in my 3D V-Net model?
Thanks

Now TensorRT 6.0 supports conv3D.

All 3 comments

Hi ,
I have a tensorflow-trained 3D network---V-Net, which is a 3D segmentation network. That means the input and output image is a 3D image including hight, width and depth. I notice that the tensorRT API UffInputOrder has three members:NC, NHWC, NCHW. All of them are for 2D image.
So how can I use tensorRT in my 3D V-Net model?
Thanks

Now TensorRT 6.0 supports conv3D.

@Rongnian is correct. And if you experience issues with the UFF parser, I would recommend exporting your model to ONNX and trying the ONNX parser instead like here: https://github.com/NVIDIA/TensorRT/issues/185.

If you experience this error (https://github.com/NVIDIA/TensorRT/issues/180), it should be fixed in a future release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ycchanau picture ycchanau  路  3Comments

WangXuanBT picture WangXuanBT  路  3Comments

yflv-yanxia picture yflv-yanxia  路  3Comments

float123 picture float123  路  6Comments

MachineJeff picture MachineJeff  路  5Comments