ERROR: Unsupported operation _PyramidROIAlign_TRT

Hello,

I try to convert uff model to engine model (Mask RCNN) and run on DeepStream with command:
gst-launch-1.0 filesrc location=/opt/nvidia/deepstream/deepstream-4.0/samples/streams/sample_1080p_h264.mp4 !
decodebin ! m.sink_0 nvstreammux name=m batch-size=1 width=1280
height=720 ! nvinfer config-file-path=$1 !
nvvideoconvert ! nvdsosd ! nvegltransform ! nveglglessink sync=false

and I got error: “Unsupported operation _PyramidROIAlign_TRT

How can I fix it?

Thanks!

My device: Jetson Nano

TensorRT Version : 6.0.1.10
GPU Type : NVIDIA Tegra X1 (nvgpu)/integrated
Nvidia Driver Version : NVIDIA dlloader X Driver 32.3.1
CUDA Version : 10.0.326

CUDNN Version :
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 6
#define CUDNN_PATCHLEVEL 3

Operating System + Version : Ubuntu 18.04.4 LTS
Python Version (if applicable) : 3.6.9
TensorFlow Version (if applicable) : 1.13.1

Hi,

MaskRCNN need to update the TensorRT plugin library with the OSS version first.
Have you applied it first?

By the way, it’s recommended to upgrade your device into JetPack4.4 and Deepstream 5.0 to get an overall acceleration first.
Thanks.

Hello,

I updated the TensorRT plugin library for my app (I copy new lib to /usr/lib/aarch64-linux-gnu).
But when I remove some new lib that I was built and then I copied defaul some lib (like image)
Screenshot from 2020-06-22 10-50-41
to /usr/lib/aarch64-linux-gnu.
I run DeepStreamSDK again (with “sudo” and without “sudo”), I got error:

How can I fix it?

Thanks!

Hi,

Could you check if the TensorRT plugin library is correctly updated.

$ sudo cp `pwd`/out/libnvinfer_plugin.so.6.x.x    /usr/lib/aarch64-linux-gnu/libnvinfer_plugin.so.6.x.x

Based on your error, the missing PyramidROIAlign_TRT implementation is included in the TensorRT OSS here:

Thanks.

Hi AastaLLL,

Thanks you!