Git Product home page Git Product logo

non-variational-autoencoders's Introduction

non-variational-autoencoders

Authors: Grigorii Sotnikov, Vladimir Gogoryan, Dmitry Smorchkov, Ivan Vovk


Unsupervised Domain Translation

Alt Text Alt Text Alt Text

References

https://arxiv.org/pdf/2001.05017.pdf https://github.com/oripress/ContentDisentanglement

Reproducibility

Link to download aligned images in CelebA https://drive.google.com/open?id=0B7EVK8r0v71pZjFTYXZWM3FlRnM

Link to download list_attr_celeba.txt https://drive.google.com/drive/folders/0B7EVK8r0v71pOC0wOVZlQnFfaGs

Run a command: python preprocess.py --root ./img_align_celeba --attributes ./list_attr_celeba.txt --dest ./glasses_train

After this command in directory /glasses_train will be located 4 files: trainA.txt, trainB.txt, testA.txt, testA.txt

Then by starting from Disentanglement.ipynb a mode can be trained from the config.yml

The other possible option is to use pretrained models which are located at https://drive.google.com/open?id=1sA6BXedG23_ZTuES_udeQlYXrssFq2BU and proceed to visualization.ipynb where beautiful visualizations can be plotted via written functions

Files description

1) disentanglement.ipynb - train UDT model
2) modules.py - parts of the model: E1, E2, Decoder, Disc
3) utils.py - necessary functions for reproducible research
4) preprocess.py - given folder img_align_celeba produces separate dataset partitioning
5) visualization.ipynb - a notebook where you can plot beautiful interpolations between samples in different settings. Source of visualization for the project.

Adversarially Constrained Autoencoder Interpolation

Alt Text Alt Text

References

https://arxiv.org/pdf/1807.07543.pdf

Files description

1) evaluation.py - fit a FC on top of trained latent representations
2) modules.py - blocks of models
3) train.py - fit ACAI and Baseline models with necessary losses
4) utils.py - load datasets
5) visualize.py - plot interpolated samples during training
6) visualization.ipynb - obtain interpolations for report and score models via FC layer
7) acai_train.ipynb - train baseline AE and ACAI from configs

On the Transformation of Latent Space in Autoencoders

Alt Text Alt Text

References

https://arxiv.org/pdf/1901.08479.pdf

The main goal of the proposed framework is to transform vectors in the latent space. Reducing distances between vectors in without changing their topological properties should lead to more relevant interpolation between output vectors.

Files description

1) check_2d_minmax.ipynb - get pictures of latent representation for LTAE-M
2) check_2d_standard.ipynb - get pictures of latent representation for LTAE-S
3) check_ae.py - functions for performance measurenment of learned LTAE 
4) compute_hausdorff.py - calculate Hausdorff distance of the model
5) eval_ltae_features.ipynb - check trained LTAE
6) model.py - implemented achitectures
7) tests.ipynb - basic experiments 
8) train.py - train a model 
9) utils.py - useful funcs for reconstruction, interpolatin etc.

Augmentation procedure

Alt Text

non-variational-autoencoders's People

Contributors

ivanvovk avatar

Watchers

James Cloos 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.