Skip to content

AnimeGAN.js: Photo Animation for Everyone

Notifications You must be signed in to change notification settings

Zain-Saiyed/AnimeGAN.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnimeGAN.js

AnimeGAN.js is now hosted on https://animegan.js.org/ 🥳

If you are in an area that does not provide reliable connection to Github Pages, you can try this link hosted on Gitee instead.

This project allows online photo animation. Click here to have a try.

I suggest you use a device with WebGL support. See your device's support of Tensorflow.js here.

Behind the scene, this project runs AnimeGAN online with TensorFlow.js. The model that AnimeGAN.js uses comes from AnimeGAN's released model. You could use the one in public if you want to run it locally. If you want to create another model, you need to export it from TensorFlow and then use tools TensorFlow.js provides to convert.

A comparison

Original Image Converted Image
Original Image Converted Image

Source image taken from AnimeGAN Github repo

Give this repo a star 🌟 if you enjoy it!

For developers

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Languages

  • JavaScript 85.8%
  • HTML 12.2%
  • CSS 2.0%