October 2018
Intermediate to advanced
246 pages
6h 26m
English
Convert your existing model into a Core ML model can be done through the coremltools Python package. If you want to convert a simple Caffe model to a Core ML model, it can be done with the following example:
import coremltoolsmy_coremlmodel = coremltools.converters.caffe.convert('faces.caffemodel') coremltools.utils.save_spec(my_coremlmodel, 'faces.mlmodel')
This conversion step varies between different models. You may need to add labels and input names, as well as the structure of the model.
Read now
Unlock full access