Last active
July 9, 2019 12:17
-
-
Save e-lin/225cd24d9f1c308517ee3262ec8f55ce to your computer and use it in GitHub Desktop.
AutoEncoder: Training one Autoencoder at a time in multiple graphs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first phase of AE, trained on the training data | |
hidden_output, W1, b1, W4, b4 = train_autoencoder(mnist.train.images, n_neurons=300, n_epochs=4, batch_size=150, | |
# second phase of AE, trained on the previous Autoencoder's hidden layer output | |
_, W2, b2, W3, b3 = train_autoencoder(hidden_output, n_neurons=150, n_epochs=4, batch_size=150) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment