Skip to content

ariel415el/SimplePytorch-ALAE

Repository files navigation

Pytorch ALAE

A simple Pytorch implementation of the paper "Adverserial Latent AutoEncoder". The paper: https://arxiv.org/abs/2004.04467
Official implementation https://github.com/podgorskiy/ALAE

Experiments

1: train MLP-ALAE on mnist

The first experiment on the paper was training an MLP version of ALAE on Mnist The training result of 100 epochs: (First row: Real images; second row: reconstructed images; third row randomly generated digits) text

reprodue:

python3 train_MlpALAE.py

2: train Style-GAN on face images.

This experiment serves as a baseline to styleAlae Style gan on LFW (64x64 resize) with no tricks (truncation, style-mixing):

text

reprodue:

python3 train_StyleGan.py --dataset_name LFW

3: train Style-ALE on face images

Results of Style ALAE on FFHQ (64x64 resize): (First row: Real images; second row: reconstructed images; third row randomly generated digits)

text

reprodue:

python3 train_StyleALAE.py --dataset_name FFHQ

requirements

  • imageiofile
  • kaggle
  • numpy
  • opencv-python
  • torch
  • torchvision
  • tqdm

Relevant papers:

Credits:

I Consulted and used parts of the codes in

About

Implementation of Adverserial autoencoders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages