hycis / bidirectional_RNN

bidirectional lstm
MIT License
153 stars 52 forks source link

Issue with theano utils #11

Open MdAsifKhan opened 8 years ago

MdAsifKhan commented 8 years ago

Hi, Latest version of keras has no support for theano utils, is there any alternative for this: Traceback (most recent call last): File "cnn_blstm.py", line 28, in from birnn import BiDirectionLSTM, Transform File "/home/khanma0b/keras-master/deepfunc-master/birnn.py", line 5, in from keras.utils.theano_utils import shared_zeros, alloc_zeros_matrix ImportError: No module named theano_utils

hycis commented 8 years ago

I have stopped keeping track of the latest keras, however if you want to just play with lstm, you can also checkout also mozi bilstm https://github.com/hycis/Mozi/blob/master/example/imdb_bilstm.py It's been tested to work on a few papers.

bennythedataguy commented 8 years ago

all the utils stuff got moved to backend, apparently.

http://keras.io/backend/