Coder Social home page Coder Social logo

berserk77 / pixel_character_generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agamiko/pixel_character_generator

0.0 0.0 0.0 20.74 MB

Generating retro pixel game characters with Generative Adversarial Networks. Dataset "TinyHero" included.

Jupyter Notebook 100.00%

pixel_character_generator's Introduction

pixel_character_generator

Generating retro pixel game characters with Generative Adversarial Networks. Dataset "TinyHero" included.

Dataset TinyHero

Dataset TinyHero includes 64x64 retro-pixel character. All characters were generated with Universal LPC spritesheet by makrohn. Each character in the dataset was randomly generated including: sex, body type, skin color and equipment with LPC spritesheet with 4 different angles view.

Image sixe Dataset size Source Download
64x64 3648 images LPC Spritesheet data.zip
912 per class

According to the rules of the LPC all art submissions were dual licensed under both GNU GPL 3.0 and CC-BY-SA 3.0. Further work produced in this repository is licensed under the same terms.

CC-BY-SA 3.0: http://creativecommons.org/licenses/by-sa/3.0/ See the file: cc-by-sa-3.0.txt

GNU GPL 3.0: http://www.gnu.org/licenses/gpl-3.0.html See the file: gpl-3.0.txt

Pixel Character Generator - DCGAN

Based on the DCGAN pytorch tutorial: https://pytorch.org/tutorials/beginner/dcgan_faces_tutorial.html

Example results

Conditional DCGAN

Conditional DCGAN that generates a pixel character seen from selected angle.

  • different learning rate for discriminator and generator
  • soft labels
  • added classification loss to the discriminator. Discriminator have to guess fake/real but also the character angle
  • generator is conditioned with embedding from trainable look-up table that gives the info about the character view angle

DC Autoencoder

Deep convolutional autoencoder. This autoencoder have the same architecture as DCGAN above. The only difference is the additional fully-connected layer at the top of the encoder, which projects output from convolutional layer to selected latent size.

  • embedding size = 40 is enough for a good-quality reconstruction
  • autoencoder have great denoising properties
  • easier and more stable to train then GAN's

pixel_character_generator's People

Contributors

agamiko 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.