3 ms·
I did a quick Google search (so maybe I’m missing something) but there is no official support for converting Core ML — which is the foundation for Create ML — m
by seek3r 6y ago
I did a quick Google search (so maybe I’m missing something) but there is no official support for converting Core ML — which is the foundation for Create ML — models to Tensorflow or PyTorch. You need to look for third-party libraries. Although there exist libraries to convert Tensorflow models to Core ML.
- yeldarb 6y agoYou can convert CoreML models to ONNX which is widely supported cross-platform for doing inference. https://github.com/onnx/onnxmltools https://github.com/onnx/onnxmltools
- therealmarv 6y agosorry my lack of understanding: So you think an image classifier trained on Create ML can be exported to another framework of not?
- yeldarb 6y agoIt’s not entirely clear to me exactly what was meant by the grandparent post by converting to PyTorch or Tensorflow. There are two discrete concepts: training and inference. You can think of training a bit like the source code and inference a bit like running the compiled binary. The different frameworks have their own serialization formats for their model weights. If the goal is to do inference using CoreML weights trained in CreateML on non-Apple platforms (eg on a server or android device), converting them to ONNX is a way to do that. You probably won’t be able to pick up training on another framework though.