add tflite export

This commit is contained in:
Vincent Hanewinkel 2025-06-12 14:51:14 +02:00
parent a2803123fc
commit d0ec161fe4

10
Export.py Normal file
View File

@ -0,0 +1,10 @@
from ultralytics import YOLO
import os
dir = os.path.dirname(os.path.realpath(__file__))
model = YOLO(dir + "/best.pt")
# Exportiere es ins TFLite-Format
model.export(format="tflite")