From d0ec161fe48fff01c5d1ed3ae275f76d4ac27962 Mon Sep 17 00:00:00 2001 From: Vincent Hanewinkel Date: Thu, 12 Jun 2025 14:51:14 +0200 Subject: [PATCH] add tflite export --- Export.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Export.py diff --git a/Export.py b/Export.py new file mode 100644 index 0000000..9fbff3e --- /dev/null +++ b/Export.py @@ -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") \ No newline at end of file