I load 3 tensorrt engines in a python file. The first two are simple models with several conv+bn+relu, the third model is a gan based on unet-256. All models are using tensorrt parse from onnx. The model sequence recorded as abc. While I warm up it returns an error like follows and the results are images with RGB equal to 127.
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:
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!