How to convert onnx or trt file to .engine file

Hi

I have recently trained a yolov7 tiny model. I have converted it to onnx format. I have then used trtexec to check and convert it to trt. So now I have both onnx and trt file.

Is there anyway to convert it to .engine file so that I can use it with the demo code here jetson-inference/detectnet-example-2.md at master · dusty-nv/jetson-inference · GitHub

Thanks

Hi,

.engine file is the TensorRT serialized output.
You can rename the .trt file with the .engine file extension directly.

Thanks.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.