Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sahli.mohammed committed Nov 30, 2019
1 parent 01ebf2c commit 5e8de96
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 24 deletions.
36 changes: 12 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# AutoEncoder Models
Collection of autoencoder models, e.g. Vanilla, Stacked, Sparse in Tensorflow.
A collection of autoencoder models, e.g. Vanilla, Stacked, Sparse in Tensorflow.

<img src='./figures/AE_structure.png' height='240px'>

Expand All @@ -15,7 +15,7 @@ Note: Generated samples will be stored in `images/{ae_model}/` directory during

#### Traditional Autoencoders
The following papers are just examples on how to use the implemented autoencoders.
We did not mean to implement what have been described in each paper.
We did not mean to implement what have been described in each paper in details.

- Vanilla AutoEncoder
- [Learning Internal Representations by Error Propagation, 1986](https://web.stanford.edu/class/psych209a/ReadingsByDate/02_06/PDPVolIChapter8.pdf)
Expand All @@ -38,11 +38,11 @@ We did not mean to implement what have been described in each paper.

*AutoEncoder* | *Loss Function*
:---: | :--- |
**Vanilla_AE** | <img src='./figures/equations/Vanilla_AE.png' height='50px'>
**Stacked_AE** | <img src='./figures/equations/Vanilla_AE.png' height='50px'>
**Conv_AE** | <img src='./figures/equations/Vanilla_AE.png' height='50px'>
**Sparse_AE** | <img src='./figures/equations/Sparse_AE.png' height='50px'>
**Denoising_AE** | <img src='./figures/equations/Vanilla_AE.png' height='50px'>
**Vanilla_AE** | <img src='./figures/equations/AE_loss.png' height='50px'>
**Stacked_AE** | <img src='./figures/equations/AE_loss.png' height='50px'>
**Conv_AE** | <img src='./figures/equations/AE_loss.png' height='50px'>
**Denoising_AE**| <img src='./figures/equations/AE_loss.png' height='50px'>
**Sparse_AE** | <img src='./figures/equations/SparseAE_loss.png' height='50px'>

#### Results for MNIST
The following results can be reproduced with command:
Expand Down Expand Up @@ -73,29 +73,17 @@ Denoising_AE | <img src='./images/DENOISING/grid_1.png' height='150px'> | <img s
If you wanna try new dataset, please make sure you make it in the following way:
- Dataset_main_directory
- train_data
- category_1:
- image1
- image2
- ...
- category_2:
- image1
- image2
- ...
- category_1: (image1, image2, ...)
- category_2: (image1, image2, ...)
- ...
- test_data
- category_1:
- image1
- image2
- ...
- category_2:
- image1
- image2
- ...
- category_1: (image1, image2, ...)
- category_2: (image1, image2, ...)
- ...
The `loader.py` file will automatically upload all images and their labels (category_i folders)

## Acknowledgements
This implementation has been based on the work of the great giants:
This implementation has been based on the work of the following great repositories:
- https://github.com/hwalsuklee/tensorflow-generative-model-collections
- https://github.com/wiseodd/generative-models
- https://github.com/eriklindernoren/Keras-GAN
Binary file removed data/.DS_Store
Binary file not shown.
Binary file added figures/equations/AE_loss.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added figures/equations/SparseAE_loss.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed figures/equations/Sparse_AE.png
Binary file not shown.
Binary file removed figures/equations/Vanilla_AE.png
Binary file not shown.

0 comments on commit 5e8de96

Please sign in to comment.