Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Turi Create and Concept Behind Image Classification

Merocode
February 14, 2018

Turi Create and Concept Behind Image Classification

CocoaHead Berlin

Merocode

February 14, 2018
Tweet

More Decks by Merocode

Other Decks in Programming

Transcript

  1. > Apple tool (Python Package) to convert known model formats

    to Core ML model format. That is covered in that blog post
  2. import coremltools caffe_model = ('EmotiW_VGG_S.caffemodel', 'deploy.prototxt') labels = 'labels.txt' coreml_model

    = coremltools.converters.caffe.convert(caffe_model, class_labels=labels, image_input_names='data') coreml_model.save('EmotiW_VGG_S.mlmodel')
  3. > Under the hood of Turi Create is Apache’s MXNet

    > Python 2.7, 3.5, 3.6 conda create -n turi python=3.6 source activate turi pip install -U turicreate import turicreate fails on macOS 10.12.6 conda create -n turi python=2.7 pip install -Iv turicreate==4.0
  4. RESOURCES APPLE Turi Create User Guide Turi Create API Documentation

    Sample Code: Classifying Images with Vision and Core ML Apple Machine Learning