A collection of machine and deep learning models designed to run on mobile devices.
Models in this repository contain code and utility for training models as well as converting them to mobile-friendly formats like Core ML, TensorFlow Mobile, and TensorFlow Lite.
For convenience, we've consolodated a few open source projects into a single repository. fritz-style-transfer has been renamed fritz-models. Have no fear, all of the code for style transfer lives in the style_transfer sub-directory.
- Style Transfer: Transform images into works of art by transfering the style of one image onto the content of another.
- Image Segmentation: Semantic segmentation of images. Assign a value to each pixel of an image corresponding to the type of object it belongs to.
- Create ML Playgrounds: A series of playgrounds for training models with Apple's Create ML tool
Don't see the model you're looking for? Open an issue and let us know!
To see live demonstrations of these models running on-device, the Heartbeat App is available in both the App Store (source code) and Play Store (source code).
If you'd like to incorporate any of these models or versions you've trained into your own app, head over to Fritz. SDKs are available for both iOS and Android.
Heartbeat is a community of developers interested in the intesection of mobile and machine learning. Chat with us in Slack and stay up to date on the latest mobile ML news with our Newsletter.
Large files like model checkpoints, data, and archives of compiled code are managed via git lfs. You need to have Git LFS installed in order to download these files. Installation instructions are available here.
If you have Git LFS installed, large files will download automatically by default. This can take a while and require a good connection. To clone this repository without downloading the model checkpoints, you can run:
GIT_LFS_SKIP_SMUDGE=1 git clone ...