- 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.
推薦閱讀
- Learning SQL Server Reporting Services 2012
- Augmented Reality with Kinect
- 基于Proteus和Keil的C51程序設計項目教程(第2版):理論、仿真、實踐相融合
- 精選單片機設計與制作30例(第2版)
- 嵌入式系統中的模擬電路設計
- Visual Media Processing Using Matlab Beginner's Guide
- 計算機組裝維修與外設配置(高等職業院校教改示范教材·計算機系列)
- 基于PROTEUS的電路設計、仿真與制板
- 數字媒體專業英語(第2版)
- 基于網絡化教學的項目化單片機應用技術
- Arduino項目開發:智能生活
- USB應用分析精粹:從設備硬件、固件到主機端程序設計
- FPGA實戰訓練精粹
- Corona SDK Mobile Game Development:Beginner's Guide
- 筆記本電腦現場維修實錄