官术网_书友最值得收藏!

Converting your own model into a Core ML model

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 coremltools
my_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.

主站蜘蛛池模板: 团风县| 红安县| 团风县| 泌阳县| 连江县| 南平市| 武定县| 柏乡县| 芷江| 建昌县| 驻马店市| 屏南县| 闽清县| 昌都县| 双峰县| 吴堡县| 专栏| 桃园市| 抚顺市| 樟树市| 抚远县| 鹤庆县| 南昌市| 五莲县| 诸城市| 元朗区| 曲松县| 巩留县| 嘉黎县| 阿克苏市| 青冈县| 灯塔市| 平远县| 岳阳县| 辰溪县| 左贡县| 葫芦岛市| 绵阳市| 尼勒克县| 南康市| 大丰市|