Open kylemin opened 7 years ago
You may have a try: change the original "lstm_cell = tf.contrib.rnn.BasicLSTMCell(lstm_dim, state_is_tuple=True) outputs2raw, = tf.nn.bidirectional_dynamic_rnn(lstm_cell, lstm_cell, outputs1, seq_length, dtype=tf.float32, time_major=True, scope="bidirectional_lstm2")" into “lstm_cell_2 = tf.contrib.rnn.BasicLSTMCell(lstm_dim, state_is_tuple=True) outputs2raw, = tf.nn.bidirectional_dynamic_rnn(lstm_cell_2, lstm_cell_2, outputs1, seq_length, dtype=tf.float32, time_major=True, scope="bidirectional_lstm2")”
It works for me.
If I try to train the model on Visual Genome, this error occurs. (tensorflow 1.2.1)
Thank you.