Need help with tf-coreml?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

tf-coreml
1.3K Stars 177 Forks Apache License 2.0 297 Commits 66 Opened issues

Description

TensorFlow to CoreML Converter

Services available

!
?

Need anything else?

Contributors list

Build Status PyPI Release Python Versions

Convert from Tensorflow to CoreML

coremltools (Recommended approach)

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.0
python package. Please read the coremltools documentation on Tensorflow conversion for example usage.

To install coremltools package, please follow these instructions in the coremltools documentation.

tfcoreml

tfcoreml
package is no longer maintained.

Conversion API

tfcoreml.convert
should only be used if all of the following conditions are met: 1. Primary deployment target is
iOS 12
or earlier. 2. Source model is a TensorFlow 1
graph_def
object serialized as frozen protobuf format (".pb")

To install

tfcoreml
, please run:
pip install --upgrade tfcoreml

Please read this usage section which illustrates how to convert models using

tfcoreml
.

For access to new features, bug fixes, community support and requests, please use coremltools github repository.

License

Apache License 2.0

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.