- Machine Learning Projects for Mobile Applications
- Karthikeyan NG
- 80字
- 2021-06-10 19:41:41
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.
推薦閱讀
- 3ds Max Speed Modeling for 3D Artists
- scikit-learn:Machine Learning Simplified
- Large Scale Machine Learning with Python
- Arduino BLINK Blueprints
- 基于Proteus仿真的51單片機(jī)應(yīng)用
- Source SDK Game Development Essentials
- Neural Network Programming with Java(Second Edition)
- WebGL Hotshot
- 單片機(jī)原理及應(yīng)用:基于C51+Proteus仿真
- FreeSWITCH Cookbook
- Intel FPGA權(quán)威設(shè)計(jì)指南:基于Quartus Prime Pro 19集成開發(fā)環(huán)境
- Angular 6 by Example
- Learning Less.js
- 創(chuàng)客電子:Arduino和Raspberry Pi智能制作項(xiàng)目精選
- 施耐德M241/251可編程序控制器應(yīng)用技術(shù)