This is part of the book Practical MLOps
Some recipes around Apple CreateML
- Download XCode
- Open up XCode and Right click on icon to launch CreateML
- Use Image Classifier template
- Drop cats-dogs-small onto project and test-cats-dogs onto test
- Train the model
- Test it out by finding internet pictures of cats and dogs
- Download model and use it in iOS application or convert it to another format.
Here is an example of the an mlmodel
file: https://github.com/noahgift/Apple-CreateML-AutoML-Recipes/blob/main/cats-dogs.mlmodel?raw=true
Next steps:
- You could train a more complex model by downloading a larger Kaggle dataset: https://www.microsoft.com/en-us/download/details.aspx?id=54765
- You could try other types of AutoML
- Follow this notebook: https://github.com/noahgift/Apple-CreateML-AutoML-Recipes/blob/main/CreateML_Conversion.ipynb
- Download the model after converting
- Open model in XCode and predict