fast_web_style_transfer

Fast_web_style_transfer

A small svelte website inclusive tutorial to perform a fast neural style transfer using ONNX.js.

Fast neural style transfer svelte website

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

Setup

Running this site locally requires git and yarn (or npm). With those installed, do:

  1. Clone the repo and change into its directory.

    git clone https://github.com/kleinicke/fast_web_style_transfer && cd fast_web_style_transfer
    
  2. Install dependencies.

    yarn
    
  3. Start the dev server.

    yarn dev
    

Svelte app

This is a project uses the template for Svelte apps which lives at https://github.com/sveltejs/template.

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes