Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Latest commit

 

History

History
 
 

FastStyleTransfer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Fast Style Transfer

Based on the PyTorch implementation. The model should be trainable, but so far it's only tested for inference with pre-trained weights (included in Demo/weights).

Example

Run demo application to apply styles to jpeg images:

swift run FastStyleTransferDemo --style=candy --image=FastStyleTransfer/Demo/examples/cat.jpg --output=candy_cat.jpg
swift run FastStyleTransferDemo --style=mosaic --image=FastStyleTransfer/Demo/examples/cat.jpg --output=mosaic_cat.jpg

Jupyter Notebook

Run demo notebook in Colab!