All Projects → orgoro → style-vae

orgoro / style-vae

Licence: MIT license
Implementation of VAE and Style-GAN Architecture Achieving State of the Art Reconstruction

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to style-vae

Awesome Vaes
A curated list of awesome work on VAEs, disentanglement, representation learning, and generative models.
Stars: ✭ 418 (+1572%)
Mutual labels:  generative-model, vae
Pytorch Mnist Vae
Stars: ✭ 32 (+28%)
Mutual labels:  generative-model, vae
Sentence Vae
PyTorch Re-Implementation of "Generating Sentences from a Continuous Space" by Bowman et al 2015 https://arxiv.org/abs/1511.06349
Stars: ✭ 462 (+1748%)
Mutual labels:  generative-model, vae
srVAE
VAE with RealNVP prior and Super-Resolution VAE in PyTorch. Code release for https://arxiv.org/abs/2006.05218.
Stars: ✭ 56 (+124%)
Mutual labels:  generative-model, vae
Vae For Image Generation
Implemented Variational Autoencoder generative model in Keras for image generation and its latent space visualization on MNIST and CIFAR10 datasets
Stars: ✭ 87 (+248%)
Mutual labels:  generative-model, vae
Alae
[CVPR2020] Adversarial Latent Autoencoders
Stars: ✭ 3,178 (+12612%)
Mutual labels:  generative-model, celeba
Began Tensorflow
Tensorflow implementation of "BEGAN: Boundary Equilibrium Generative Adversarial Networks"
Stars: ✭ 904 (+3516%)
Mutual labels:  generative-model, celeba
Factorvae
Pytorch implementation of FactorVAE proposed in Disentangling by Factorising(http://arxiv.org/abs/1802.05983)
Stars: ✭ 176 (+604%)
Mutual labels:  vae, celeba
Attend infer repeat
A Tensorfflow implementation of Attend, Infer, Repeat
Stars: ✭ 82 (+228%)
Mutual labels:  generative-model, vae
Dfc Vae
Variational Autoencoder trained by Feature Perceputal Loss
Stars: ✭ 74 (+196%)
Mutual labels:  generative-model, vae
DiffuseVAE
A combination of VAE's and Diffusion Models for efficient, controllable and high-fidelity generation from low-dimensional latents
Stars: ✭ 81 (+224%)
Mutual labels:  generative-model, vae
InpaintNet
Code accompanying ISMIR'19 paper titled "Learning to Traverse Latent Spaces for Musical Score Inpaintning"
Stars: ✭ 48 (+92%)
Mutual labels:  generative-model, vae
generative deep learning
Generative Deep Learning Sessions led by Anugraha Sinha (Machine Learning Tokyo)
Stars: ✭ 24 (-4%)
Mutual labels:  generative-model, vae
Tensorflow Generative Model Collections
Collection of generative models in Tensorflow
Stars: ✭ 3,785 (+15040%)
Mutual labels:  generative-model, vae
char-VAE
Inspired by the neural style algorithm in the computer vision field, we propose a high-level language model with the aim of adapting the linguistic style.
Stars: ✭ 18 (-28%)
Mutual labels:  generative-model, vae
Generative Models
Collection of generative models, e.g. GAN, VAE in Pytorch and Tensorflow.
Stars: ✭ 6,701 (+26704%)
Mutual labels:  generative-model, vae
Deepnude An Image To Image Technology
DeepNude's algorithm and general image generation theory and practice research, including pix2pix, CycleGAN, UGATIT, DCGAN, SinGAN, ALAE, mGANprior, StarGAN-v2 and VAE models (TensorFlow2 implementation). DeepNude的算法以及通用生成对抗网络(GAN,Generative Adversarial Network)图像生成的理论与实践研究。
Stars: ✭ 4,029 (+16016%)
Mutual labels:  vae, style-gan
Disentangling Vae
Experiments for understanding disentanglement in VAE latent representations
Stars: ✭ 398 (+1492%)
Mutual labels:  vae, celeba
Vae protein function
Protein function prediction using a variational autoencoder
Stars: ✭ 57 (+128%)
Mutual labels:  generative-model, vae
Tf Vqvae
Tensorflow Implementation of the paper [Neural Discrete Representation Learning](https://arxiv.org/abs/1711.00937) (VQ-VAE).
Stars: ✭ 226 (+804%)
Mutual labels:  generative-model, vae

A Style Based Variational Autoencoder

Build Status

Abstract

VAE are among the state of the art generative models, but have recently lost their shine to GANs. The most prominent work recently in which is the Style-GAN by Karras et al. VAE has the ability to encode as well as decode - this advantage over the style-gan is useful in many downstream tasks. In this work we combine the style based architecture and VAE and achieve state of the art reconstruction and generation. We follow the work of Hou et al. DFC-VAE to use perceptual loss and we compare our results to this work.

Dataset

  • Celeb-A - the results below model (64x64)
  • FFHQ - for other models (128x128, 256x256)

Architecture

arch

The loss is comprised out of two components:

  • Reconstruction Loss - based on perceptual loss (pre-trained VGG16 features)
  • Latent Loss - kl-divergence loss

Reconstruction Results

recon

Random Sample Results

random

Interpolation

random

Comparison to State of the Art

compare

Code Structure

Training Curves

curve

Test

Test results can be seen in the visuals part

Additional Experiments

We used the provided model to train on the FFHQ dataset to produce a 256x256 results: 64-256

Future Work

  • Adversarial Training- Adding an adversarial term to improve generation of hair and fine details (hair) and background especially in the high resulotion models
  • Weighted KL-Divergence- The hierarchical structure of the code injection would allow weighted KL-divergence loss term where we allow the VAE encoder to different divergence fine/coarse features. This flexibility makes sense perhaps because fine details like hairs are more normally distributed, while coarse feature behave differently (not many dark skin red heads i.e.)

Trained Models

Available soon...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].