Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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 incoremltools 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

You can’t perform that action at this time.