Closed kunkun1230 closed 4 years ago
when i import recurrentshop, i got this back
` File "D:\Program\Anaconda\lib\site-packages\recurrentshop-1.0.0-py3.7.egg\recurrentshop\engine.py", line 10, in if K.backend() == 'tensorflow':
NameError: name 'K' is not defined`
what should i do ? My backend is theano for keras
https://github.com/farizrahman4u/recurrentshop/pull/120#issue-378817838 - this can fix this. you can close the issue now. Already raised a PR for this.
when i import recurrentshop, i got this back
` File "D:\Program\Anaconda\lib\site-packages\recurrentshop-1.0.0-py3.7.egg\recurrentshop\engine.py", line 10, in
if K.backend() == 'tensorflow':
NameError: name 'K' is not defined`
what should i do ? My backend is theano for keras