Giter VIP home page Giter VIP logo

autoencoders-variants's Introduction

Autoencoders-Variants

This is a repository about Pytorch implementations of different Autoencoder variants on MNIST or CIFAR-10 dataset just for studing so training hyperparameters have not been well-tuned. The following models are going to be implemented:

  • Fully-connected Autoencoder (Simple Autoencoder)
  • Convolutional Autoencoder
  • Sparse Autoencoder (L1 regularization)
  • Sparse Autoencoder (KL divergence)
  • Sparse Autoencoder Visualization
  • Denoising Autoencoder
  • Contractive Autoencoder
  • Variational Autoencoder
  • Sequence-to-Sequence Autoencoder
  • Adversarial Autoencoder

Tensorflow version may be updated in the future.

Any advice would be appreciated :)

Experiment Results & Analysis

Here I will list some results recorded in my experiments or analysis just for simple comparisons between different autoencoder methods after 100 epochs training (I hope this may be helpful).

Methods Best MSE Loss (MNIST or CIFAR-10)
Simple Autoencoder 0.0318 (MNIST)
Sparse Autoencoder (L1 reg) 0.0301 (MNIST)
Sparse Autoencoder (KL divergence) 0.0287 (MNIST)
Convolutional Autoencoder 0.0223 (MNIST)
Denoising Autoencoder 0.1118 (MNIST)

Sparse Autoencoder Visualization:

Sparse Autoencoder Visualization

How To Run

You can just find the autoencoder you want according to file names where the model is defined and simply run it. Data loader and some other methods are written in data_utils.py.

Pretrained autoencoders are saved in history directory and you can simply load them by setting TRAIN_SCRATCH flag in python file. Reconstruction results can be find in images directory.

Reference Blogs & Posts

autoencoders-variants's People

Contributors

syorami avatar nisha1729 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.