Giter VIP home page Giter VIP logo

ganime's Introduction

GANime: Video generation of anime content conditioned on two frames

Paper | Presentation

tl;dr This is GANime, a model capable to generate video of anime content based on the first and last frame. This model is trained on a custom dataset based on the Kimetsu no Yaiba anime. It is composed of two model, a VQ-GAN for image generation, and a GPT2 transformer to generate the video frame by frame.

This project is a Master thesis realised by Farid Abdalla at HES-SO in partnership with Osaka Prefecture University (now renamed to Osaka Metropolitan University) in Japan. A PyTorch implementation is available on this repository.

All implementation details are available in this pdf.

Good results

For each pair of rows, the first row is the generated result and the second row is the ground truth.

Surprising results

For each pair of rows, the first row is the generated result and the second row is the ground truth.

Some results are quite surprising. For instance when the first and last frame are identical, the model is capable to generate some animations. For instance, some characters seems to be breathing even though the ground truth is still. When something appears suddenly (upper right video), the model made it appear with a fading effect.

The lower left picture with Zenitsu is interesting: it seems that the VQ-GAN learned that when generating an eye, it must put a pupil inside it, so generating a white eye did not make sense for the model.

For the clock (bottom-middle), the generated video moves the clock arms even though the first and last pictures are identical.

Dataset

Image

Dataset Link
Kimetsu no Yaiba link

Video

Dataset Link
Kimetsu no Yaiba link

Image

Dataset Link
Kimetsu no Yaiba link

Pretrained model

VQ-GAN

Dataset Model Link
MovingMNIST moving_mnist_image.yaml link
Kimetsu no Yaiba kny_image_full_vgg19.yaml link

Transformer

Dataset Model Link
Kimetsu no Yaiba kny_video_gpt2_medium.yaml.yaml link

VGG Weights

link

Instructions on how to train / generate will come later

ganime's People

Contributors

kurokabe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.