You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: Trying to share variable rnnlm/multi_rnn_cell/cell_0/basic_lstm_cell/kernel, but specified shape (512, 1024) and found shape (259, 1024).
#26
When I run train.py, got this errors. I think is kind of version problems, my tf version is 1.3
File "/home/lxt/tf_project/HyperNetwork/write-rnn-tensorflow/model.py", line 50, in init
outputs, state_out = tf.contrib.legacy_seq2seq.rnn_decoder(inputs, self.state_in, cell, loop_function=None, scope='rnnlm')
File "/home/lxt/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py", line 152, in rnn_decoder
output, state = cell(inp, state)
The text was updated successfully, but these errors were encountered:
I got this error as well but I think it was fixed by changing cell = tf.contrib.rnn.MultiRNNCell([get_cell() for _ in range(args.rnn_size)])
to cell = tf.contrib.rnn.MultiRNNCell([get_cell() for _ in range(args.num_layers)])
in model.py.
This was implemented in PRs #28 or #30 and is now part of master
When I run train.py, got this errors. I think is kind of version problems, my tf version is 1.3
File "/home/lxt/tf_project/HyperNetwork/write-rnn-tensorflow/model.py", line 50, in init
outputs, state_out = tf.contrib.legacy_seq2seq.rnn_decoder(inputs, self.state_in, cell, loop_function=None, scope='rnnlm')
File "/home/lxt/anaconda2/lib/python2.7/site-packages/tensorflow/contrib/legacy_seq2seq/python/ops/seq2seq.py", line 152, in rnn_decoder
output, state = cell(inp, state)
The text was updated successfully, but these errors were encountered: