This week Apple announced support for trained ML models.
How can one convert a trained Tensorflow model (Google Cloud Machine Learning Engine model in SavedModel format) into an Apple Core ML model (.mlmodel format)?
This week Apple announced support for trained ML models.
How can one convert a trained Tensorflow model (Google Cloud Machine Learning Engine model in SavedModel format) into an Apple Core ML model (.mlmodel format)?
It depends what your TensorFlow model contains. The coremltools do not support TensorFlow so you'll have to write your own converter. But this will only work if your model only contains things that are supported by the mlmodel format. You can download the spec for this format from the coremltools web page. Since it's possible to build compute graphs of arbitrary complexity in TensorFlow, it's not surprising that coremltools currently does not support it (since mlmodel itself only supports a limited number of model types).
You should use coremltools (python package).
Check out the WWDC Session 710 Video "Core ML In Depth"