Machine Learning
阿娇IOS
ios developer
展开
-
mac下安装coremltools
由于coremltools 目前支持phyton2.7而不支持3.7 ,所以创建virtual environment for python2.7 step 1 : 输入以下命令virtual environment for python2.7 virtualenv --python=Your python Path /Versions/2.7/bin/Python python2...原创 2019-05-19 03:21:02 · 875 阅读 · 0 评论 -
A Demo of Convert Caffe Model into CoreML Model
import coremltools #oxford102.caffemodel是模型名字 caffe_model = ('oxford102.caffemodel','deploy.prototxt') #标签文件名 labels = 'flower-labels.txt' coreml_model = coremltools.converters.caffe.convert ( ...原创 2019-05-19 04:40:13 · 178 阅读 · 0 评论