Model Conversion error

I'm trying to convert yolo12m.pt model to tflite float 16 format so that i develop an android application on top of it. But i am facing issues. from ultralytics import YOLO model = YOLO("runs/detect/yolo12m_915mAP/weights/best.pt") model.export(format="tflite", half=True) This is the code which i have used. Does anyone has any solution???
2 Replies
Skillnoob_
Skillnoob_5w ago
What is the issue you are encountering?
Toxite
Toxite4w ago
I think it's the bug with the latest ONNX release. You can run pip install onnx==1.19.1 before export.

Did you find this page helpful?