• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
    Python
  • Created over 7 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tensorflow code of "autoencoding beyond pixels using a learned similarity metric"

VAE/GAN

the tensorflow code of Autoencoding beyond pixels using a learned similarity metric

The paper should be the first one to combine the Variational Autoencoder(VAE) and Generative Adversarial Networks(GAN), by using the discrimiator of GAN as the perceptual loss instead of the pixel-wise loss in the original VAE. VAE/GAN also can be used for image reconstruction and visual attribution manipulation.

About training instability

I also found the training is very instability. So, I update the code to stablize the adversarial progress of VAE/GAN. The details is in the below.

Pretrained models.

The checkpoints files can be downloads from Google Drive. Please unzip the files inside the project directory. Later, I will update the new models after more training iterations.

Prerequisites

  • tensorflow >=1.4

dataset requirement

You can download the Align and Cropped CelebA dataset and unzip CelebA into a directory. Noted that this directory don't contain the sub-directory.

Usage

Train:

$ python main.py --op 0 --path your data path

Test:

$ python main.py --op 1 --path your data path

Experiments visual result

Input:

Reconstruction

Issue

If you find the bug and problem, Thanks for your issue to propose it.

Reference code

DCGAN

autoencoding_beyond_pixels

More Repositories

1

AdversarialNetsPapers

Awesome paper list with code about generative adversarial nets
6,532
star
2

CnnForAndroid

The Convolutional Neural Network(CNN) for Android
C++
253
star
3

Conditional-GAN

Tensorflow implementation for Conditional Convolutional Adversarial Networks.
Python
213
star
4

GazeAnimationV2

Unsupervised High-Resolution Portrait Gaze Correction and Animation (TIP 2022)
185
star
5

GazeAnimation

Give a portrait face, move the gaze up (ACM MM 2020)
Python
153
star
6

progressive_growing_of_gans_tensorflow

Tensorflow implementation of PROGRESSIVE GROWING OF GANS FOR IMPROVED QUALITY, STABILITY, AND VARIATION
Python
150
star
7

Exemplar-GAN-Eye-Inpainting-Tensorflow

Tensorflow implement of "Eye In-Painting with Exemplar Generative Adversarial Networks"
Python
95
star
8

Sparsely-Grouped-GAN

Code for paper "Sparsely Grouped Multi-task Generative Adversarial Networks for Facial Attribute Manipulation"
Python
75
star
9

Sawn

Implementation of 'Controllable Person Image Synthesis with Spatially-Adaptive Warped Normalization'
Python
55
star
10

TT-GNeRF

Official code of Training and Tuning Generative Neural Radiance Fields for Attribute-Conditional 3D-Aware Face Generation
Python
44
star
11

Self-Supervised-GANs

Tensorflow Implementation for paper "self-supervised generative adversarial networks"
Python
36
star
12

3DSGAN

The code of '3D-Aware Semantic-Guided Generative Model for Human Synthesis' (ECCV 2022)
Python
34
star
13

Residual_Image_Learning_GAN

Tensorflow implementation for Paper "Learning Residual Images for Face Attribute Manipulation"
Python
28
star
14

Swapping-Autoencoder-tf

The unofficial tensorflow implementation of Swapping Autoencoder for Deep Image Manipulation
Python
25
star
15

ICGan-tensorflow

The code of "Invertible conditional GANs for image editing" in tensorflow
Python
17
star
16

FUNIT_tensorflow

Tensorflow Implementation of FUNIT: Few-Shot Unsupervised Image-to-Image Translation
Python
7
star
17

python_tool

Jupyter Notebook
1
star
18

caffe-multilabel

caffe-for-multi-task
C++
1
star