Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (14 loc) · 1.47 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.47 KB

MLStyleTransferPlayground

A macOS Swift Playground for testing your image stylizing CoreML model
  • The playground loads and compiles the model in runtime
  • It comes with an example model I have prepared
  • Before you start, please create a folder named "Shared Playground Data" in your ~/Documents folder, it's where the tiff files are written to
  • You can run convertOutput.sh to batch convert them into jpg's
  • Before you try the example model, set the correct full path for the inputImageFullPath and mlModelFullPath parameters
You can see the stylized result inline

XcodeScreenShot.png

There are 10 styles in the example model (0 to 9)

Style 0 Style 1 Style 2

Style 3 Style 4 Style 5

Style 6 Style 7 Style 8

Style 8