Hacker News new | ask | show | jobs
by seek3r 2028 days 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.
1 comments

You can convert CoreML models to ONNX which is widely supported cross-platform for doing inference. https://github.com/onnx/onnxmltools
sorry my lack of understanding: So you think an image classifier trained on Create ML can be exported to another framework of not?
It’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.