This website uses onnx.js to apply a fast neural style transfer. It is used on https://fast-web-style-transfer.netlify.app. On that website a tutorial to build this website is provided.
The used model was created using the model I created here. This can be run using this google colab notebook.
The project is explained at: https://github.com/kleinicke/fast_web_style_transfer/blob/master/src/tutorial.md
Running this site locally requires git
and yarn
(or npm
). With those installed, do:
-
Clone the repo and change into its directory.
git clone https://github.com/kleinicke/fast_web_style_transfer && cd fast_web_style_transfer
-
Install dependencies.
yarn
-
Start the dev server.
yarn dev
This is a project uses the template for Svelte apps which lives at https://github.com/sveltejs/template.