How to convert onnx or trt file to .engine file


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/ at master · dusty-nv/jetson-inference · GitHub



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


1 Like

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