Giter Site home page Giter Site logo

badass-techie / these-people-do-not-exist Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 4.0 28 MB

AI that generates human faces which have never been seen before. The future is now ๐Ÿ˜

Python 100.00%
deep-learning computer-vision deep-generative-modelling convolutional-neural-networks cnn python tensorflow keras generative-adversarial-networks gan

these-people-do-not-exist's Introduction

These People Do Not Exist

AI that generates human faces which have never been seen before.

deep-learning computer-vision deep-generative-modeling generative-adversarial-networks gan NVIDIA stylegan tensorflow

This is a very basic unofficial implementation of the research paper "A Style-Based Generator Architecture for Generative Adversarial Networks" published by NVIDIA in 2018. Here is the official implementation.


What has been implemented from the paper

  • Mapping of the latent vector to an intermediate latent vector, to reduce feature disentanglement
  • Use of bilinear upsampling with normal convolutions over transpose convolutions
  • Adaptive Instance Normalization
  • Constant generator input
  • Application of the latent vector to each block in the generator
  • Addition of noise to each block in the generator
  • Gradient penalty loss
  • Mixing regularization

Training

The dataset used was the CelebaHQ dataset, scaled to 256x256 pixels.

Below are samples generated after 230000 iterations of training with a batch size of 12, a channel coefficient of 48, and a base learning rate of 1e-4.

Training on a Tesla P100 GPU using the above configuration will take approximately 24 hours.

samples


Pretrained Weights

Click here to get the pretrained weights


Style Mixing

The following images were generated by mixing coarse styles (pose, gender, smile) from images on the left column with fine styles (skin color, hair color, etc) from images on the top row.

mixed styles


Latent Space Interpolation

Here's an interpolation video of various generated images.

interpolations


ยฉ 2020 Moses Odhiambo

these-people-do-not-exist's People

Contributors

badass-techie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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