YOLOv8Detection / yolo_export.py
Jaime García Villena
get the script to export
48730f0
raw
history blame
178 Bytes
from ultralytics import YOLO
if __name__ == '__main__':
model = YOLO('yolov8n.pt')
model.export(format = 'saved_model', keras = True)
model.export(format = 'tflite')