Open kimmo1019 opened 6 years ago
have the same issue
temporary workaround: install old version of recurrentshop: pip install git+https://github.com/datalogai/recurrentshop.git@f5a1d126dd579c1eefe7c7caaa4ccd8867ee09d4
Similar issue. However my error is
model = SimpleSeq2Seq(input_dim=5, hidden_dim=10, output_length=8, output_dim=8) Traceback (most recent call last):
File "
File "D:\Program\Anaconda\lib\site-packages\seq2seq-1.0.0-py3.7.egg\seq2seq\models.py", line 58, in SimpleSeq2Seq encoder = RecurrentSequential(unroll=unroll, stateful=stateful)
File "D:\Program\Anaconda\lib\site-packages\recurrentshop-1.0.0-py3.7.egg\recurrentshop\engine.py", line 888, in init self.readout_activation = activations.get(readout_activation)
NameError: name 'activations' is not defined
Anyone knows how to solve this issue?
Similar issue. However my error is
model = SimpleSeq2Seq(input_dim=5, hidden_dim=10, output_length=8, output_dim=8) Traceback (most recent call last): File "<ipython-input-8-5fa801e7cd93>", line 1, in <module> model = SimpleSeq2Seq(input_dim=5, hidden_dim=10, output_length=8, output_dim=8) File "D:\Program\Anaconda\lib\site-packages\seq2seq-1.0.0-py3.7.egg\seq2seq\models.py", line 58, in SimpleSeq2Seq encoder = RecurrentSequential(unroll=unroll, stateful=stateful) File "D:\Program\Anaconda\lib\site-packages\recurrentshop-1.0.0-py3.7.egg\recurrentshop\engine.py", line 888, in __init__ self.readout_activation = activations.get(readout_activation) NameError: name 'activations' is not defined
Anyone knows how to solve this issue?
the same error I met
Similar issue. However my error is
model = SimpleSeq2Seq(input_dim=5, hidden_dim=10, output_length=8, output_dim=8) Traceback (most recent call last): File "<ipython-input-8-5fa801e7cd93>", line 1, in <module> model = SimpleSeq2Seq(input_dim=5, hidden_dim=10, output_length=8, output_dim=8) File "D:\Program\Anaconda\lib\site-packages\seq2seq-1.0.0-py3.7.egg\seq2seq\models.py", line 58, in SimpleSeq2Seq encoder = RecurrentSequential(unroll=unroll, stateful=stateful) File "D:\Program\Anaconda\lib\site-packages\recurrentshop-1.0.0-py3.7.egg\recurrentshop\engine.py", line 888, in __init__ self.readout_activation = activations.get(readout_activation) NameError: name 'activations' is not defined
Anyone knows how to solve this issue?
did you have solve it? please share it with me. thanks very much.
Similar issue. However my error is
model = SimpleSeq2Seq(input_dim=5, hidden_dim=10, output_length=8, output_dim=8) Traceback (most recent call last): File "<ipython-input-8-5fa801e7cd93>", line 1, in <module> model = SimpleSeq2Seq(input_dim=5, hidden_dim=10, output_length=8, output_dim=8) File "D:\Program\Anaconda\lib\site-packages\seq2seq-1.0.0-py3.7.egg\seq2seq\models.py", line 58, in SimpleSeq2Seq encoder = RecurrentSequential(unroll=unroll, stateful=stateful) File "D:\Program\Anaconda\lib\site-packages\recurrentshop-1.0.0-py3.7.egg\recurrentshop\engine.py", line 888, in __init__ self.readout_activation = activations.get(readout_activation) NameError: name 'activations' is not defined
Anyone knows how to solve this issue?
I have done it. you must add the sentence "from keras import activations" to advanced_cell.py, basic_cells.py, cells.py and engine.py. and my program works after doing that.
I have successfully installed recurrentshop and seq2seq as the github pages suggest. Then I try to run a demo like the following
I got an unexpected error
This is really strange and has bothered me for days. It seems that no one occurred the same error like me. This error seems to originate in recurrentshop package. Could anyone help me solve this problem, thks a lot. BTW, my environment: centos7.0 + python 2.7 + keras 2.0.8 + tensorflow 1.0.1