Run from the YOLOv9 repository:
python export.py --weights yolov9-c/e-converted.pt --include onnx
python export.py --weights yolov9-c/e-converted.pt --include torchscript
trtexec --onnx=yolov9-c/e-converted.onnx --saveEngine=yolov9-c/e.engine --fp16