TensorFlow to CoreML Converter
For converting TensorFlow models to CoreML format, the recommended approach is to use TensorFlow converter available through new unified conversion API, introduced in
coremltools 4.0python package. Please read the coremltools documentation on Tensorflow conversion for example usage.
To install coremltools package, please follow these instructions in the coremltools documentation.
tfcoremlpackage is no longer maintained.
tfcoreml.convertshould only be used if all of the following conditions are met: 1. Primary deployment target is
iOS 12or earlier. 2. Source model is a TensorFlow 1
graph_defobject serialized as frozen protobuf format (".pb")
tfcoreml, please run:
pip install --upgrade tfcoreml
Please read this usage section which illustrates how to convert models using
For access to new features, bug fixes, community support and requests, please use coremltools github repository.