bidirectional_RNN icon indicating copy to clipboard operation
bidirectional_RNN copied to clipboard

Issue with theano utils

Open MdAsifKhan opened this issue 8 years ago • 2 comments

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

MdAsifKhan avatar Mar 07 '16 12:03 MdAsifKhan

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.

hycis avatar Mar 07 '16 14:03 hycis

all the utils stuff got moved to backend, apparently.

http://keras.io/backend/

bennythedataguy avatar Apr 06 '16 22:04 bennythedataguy