Run from the YOLOv5 repository export script:
python export.py --weights <yolov5_version>.pt --include onnx
From the YOLOv5 repository:
python export.py --weights <yolov5_version>.pt --include openvino
From the YOLOv5 repository:
python export.py --weights <yolov5_version>.pt --include torchscript