farizrahman4u / recurrentshop

Framework for building complex recurrent neural networks with Keras
MIT License
767 stars 218 forks source link

recurrentshop: NameError: name 'K' is not defined #120

Closed absognety closed 4 years ago

absognety commented 4 years ago

There is small bug in recurrentshop, due to which post installation cannot import the library. A bug NameError: name 'K' is not defined is being incurred. fixed this by adding the line from keras import backend as K to engine.py of recurrentshop

this PR solved these issues - https://github.com/farizrahman4u/seq2seq/issues/165 and https://github.com/farizrahman4u/recurrentshop/issues/119

absognety commented 4 years ago

Also solves https://github.com/farizrahman4u/seq2seq/issues/276#issuecomment-583960729