Closed hovnatan closed 1 year ago
https://coremltools.readme.io/docs/onnx-conversion
Apple is not willing to do it. Therefore, conversion to coreml is not possible.
There is no motivation to deal with unmotivated manufacturers.
https://github.com/PINTO0309/PINTO_model_zoo#4-2d3d-face-detection
Thanks! I really need this to work on iOS. Do you have any recommendations on how to that?
This can be done by building a model with the same structure in PyTorch and transcribing the weights.
Issue Type
Bug
OS
Mac OS
OS architecture
aarch64
Programming Language
Python
Framework
CoreML
Download URL for tflite file
https://github.com/google/mediapipe/blob/master/mediapipe/modules/face_landmark/face_landmark_with_attention.tflite
Convert Script
tflite2tensorflow --model_path face_landmark_with_attention.tflite --flatc_path ../flatc --schema_path ../schema.fbs --output_coreml
Description
Error's out with
ValueError: axes don't match array
Relevant Log Output
Source code for simple inference testing code
No response