Coder Social home page Coder Social logo

ioangatop / deepgenerativemodels Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 102.5 MB

Variational Auto Encoders (VAEs), Generative Adversarial Networks (GANs) and Generative Normalizing Flows (NFs) and are the most famous and powerful deep generative models.

License: MIT License

Python 99.28% Shell 0.72%
vae vae-implementation cvae deep-learning deep-neural-networks

deepgenerativemodels's Introduction

Deep Generative Models

License

Description

Variational Auto Encoders (VAEs), Generative Adversarial Networks (GANs) and Generative Normalizing Flows (NFs) and are the most famous and powerful deep generative models. With this reposetory, I attempt to gather many deep generative model architectures, within a clean structured code enviroment. Lastly, I also attempt to analyzed both from theoretical and practical spectrum, with mathematical formulas and annimated pictures.

A VAE is a latent variable model that leverages the flexibility of Neural Networks (NN) in order to learn/specify a latent variable model.

Vanilla VAE

Auto-Encoding Variational Bayes

Conditional VAE

Learning Structured Output Representation using Deep Conditional Generative Models

Generative Adversarial Networks (GAN) are a type of deep generative models. Similar to VAEs, GANs can generate images that mimick images from the dataset by sampling an encoding from a noise distribution. In constract to VAEs, in vanilla GANs there is no inference mechanism to determine an encoding or latent vector that corresponds to a given data point (or image).

Vanilla GANs

Generative Adversarial Networks

Results

From left to right; Vanilla VAE on 2-dimentional space, Conditional VAE on 20-dimentional space.

Vanilla GAN training progress.

Logging

All the results can be found the folder vae/logs (or gan/logs) with tensorboard:

tensorboard --logdir=vae/logs

Running

python vae/main.py --model="cvae"

Dependencies

  • Python 3.x: PyTorch, NumPy, Tensorboard

Copyright

Copyright © 2019 Ioannis Gatopoulos.

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.