Visual Intelligence Summit: Oct 22 in San Francisco Get your ticket

Roboflow + Create ML

Export a Roboflow dataset as CreateML JSON and train an object detector in Apple's Create ML app on your Mac, for Core ML models that run on iPhone and iPad.

Create ML is Apple's app for training machine learning models on a Mac, opened from Xcode. Its object detector trains on a folder of images plus a JSON file listing each image's labels and bounding boxes, and it outputs a Core ML model for Apple devices.

Roboflow reads and writes that CreateML JSON format. You label in Roboflow Annotate or upload existing labels, generate a dataset version, and export it as CreateML. The zip has train, valid and test folders that Create ML takes directly as training, validation and test data. Roboflow can also import CreateML JSON, so labels made for Create ML can move into Roboflow too.

How to connect Create ML to Roboflow

5 steps
  1. Generate a dataset version

    Label your images in Roboflow, then generate a version with the preprocessing and augmentation you want.

  2. Export as CreateML

    On the version, click Export, choose the CreateML format and download the zip. Unzip it to get train, valid and test folders.

  3. Create an object detector project

    In Xcode, open Xcode, Open Developer Tool, Create ML, and create a new Object Detector project.

  4. Point Create ML at the folders

    Set the training, validation and test data to the matching folders from the Roboflow export. Transfer Learning is the suggested algorithm for datasets in the hundreds of images.

  5. Train and test

    Click Train, watch validation loss, then check IoU and mAP per split and try held-back images in the Output tab.

What teams build with Create ML

  • Ship an on-device detector in an iOS app

    Train in Create ML on Roboflow data and run the Core ML model on iPhone and iPad.

  • Grow a Create ML dataset in Roboflow

    Import an existing CreateML JSON dataset, label new images, add augmentation and export a fresh version.

Questions

CreateML. It writes the JSON annotation file Create ML's object detector reads, with one entry per image listing each label and box.

Yes. Create ML is part of Xcode, which runs on macOS, and training happens on the Mac.

Yes. Roboflow reads CreateML JSON as well as writing it, so you can upload an existing Create ML dataset to a project.

Our CreateML export is for object detection projects. Classification datasets were not part of what we verified for Create ML.

Guides

1 on the blog
View all
Get started

Build on the Platform

For developers, engineers, and technical founders who want to get hands on. Try the free tier; the docs are open.

Bring it into your operation

For heads of AI, operations leaders, and enterprise teams. Bring a known problem, or work with us to find the first one worth taking on.