Skip to content

Instantly share code, notes, and snippets.

@lukovkin
Created February 24, 2016 16:54
Show Gist options
  • Save lukovkin/cbc13af27fa0aa7cf7e3 to your computer and use it in GitHub Desktop.
Save lukovkin/cbc13af27fa0aa7cf7e3 to your computer and use it in GitHub Desktop.
from __future__ import absolute_import
from __future__ import print_function
import numpy as np
from keras.preprocessing import sequence
from keras.optimizers import SGD, RMSprop, Adagrad, Adadelta
from keras.utils import np_utils
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation, TimeDistributedDense, Flatten, Permute, Reshape
from keras.layers.embeddings import Embedding
from keras.layers.recurrent import LSTM, GRU, SimpleRNN
from keras.callbacks import ModelCheckpoint, Callback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment