Skip to content

Commit

Permalink
MNIST
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperemy committed Dec 19, 2016
1 parent 86555aa commit 2e7bfe3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Binary file added fig/mnist_acc.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fig/mnist_ce.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions mnist_results.py → mnist_results_basic.py
Expand Up @@ -6,7 +6,6 @@
from basic_lstm import BasicLSTMCell
from helpers import FileLogger
from ml_utils import create_convolution_variable, create_bias_variable
from phased_lstm import PhasedLSTMCell


def run_lstm_mnist(lstm_cell=BasicLSTMCell, hidden_size=32, batch_size=256, steps=20):
Expand Down Expand Up @@ -57,7 +56,7 @@ def transform_x(_x_):

def main():
# Vanilla LSTM
run_lstm_mnist(lstm_cell=PhasedLSTMCell, hidden_size=32, batch_size=256, steps=2000)
run_lstm_mnist(lstm_cell=BasicLSTMCell, hidden_size=32, batch_size=256, steps=2000)


if __name__ == '__main__':
Expand Down

0 comments on commit 2e7bfe3

Please sign in to comment.