Segmentation fault when using “Resize“

Description

When converting Mask-RCNN from onnx to trt trtexec , the segfault (‘Segmentation fault (core dumped)’) happened. I check the size of tensor before resize is (1,1,30,30) and target is (1, 1, 275, 442). I used code base of torchvision when implementing Mask-RCNN. Any help would much appreciated!

Environment

TensorRT Version: 8.6.0.12-1+cuda11.8
GPU Type: 3060 Ti
Nvidia Driver Version: 530.30.02
CUDA Version: 12.1
CUDNN Version:
Operating System + Version: Ubuntu 20.04 LTS
Python Version (if applicable):
TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):

Relevant Files

ONNX file: LINK
Log of trtexec: LINK

Steps To Reproduce

./trtexec --onnx=maskrcnn.onnx --verbose

Hi,
Request you to share the ONNX model and the script if not shared already so that we can assist you better.
Alongside you can try few things:

  1. validating your model with the below snippet

check_model.py

import sys
import onnx
filename = yourONNXmodel
model = onnx.load(filename)
onnx.checker.check_model(model).
2) Try running your model with trtexec command.

In case you are still facing issue, request you to share the trtexec “”–verbose"" log for further debugging
Thanks!