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

A macOS Swift Playground for testing your image stylizing CoreML model

License

Notifications You must be signed in to change notification settings

Norod/MLStyleTransferPlayground

Repository files navigation

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

About

A macOS Swift Playground for testing your image stylizing CoreML model

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published