YOLOP convert wts to trt error

Description

I was convert wts to trt, model building successfully,but still have error.
Please give me help,thanks!

Environment

System: AGX Orin
TensorRT Version: 8.5.2.2
CUDA Version: 11.4
CUDNN Version: 8.6
ubuntu: 20.04

Relevant Files

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!

But my model does not convert to onnx,convert process was pth->wts->trt

Hi,

Since you already converted the model into a TensorRT engine, could you check if it can work with trtexec?

$ /usr/src/tensorrt/bin/trtexec --loadEngine=[file] --verbose

Thanks.