bandari krishnakanth

Results 5 comments of bandari krishnakanth

replace this code in place of previous code: basic_cell = tf.contrib.rnn.DropoutWrapper( tf.contrib.rnn.BasicLSTMCell(emb_dim, state_is_tuple=True), output_keep_prob=self.keep_prob) # stack cells together : n layered model stacked_lstm = tf.contrib.rnn.MultiRNNCell([basic_cell] * num_layers, state_is_tuple=True)

Hi, Use python 3.5 to overcome the issue

Hi, replace this code in previous code(in seq2seqwraper.py) basic_cell = tf.contrib.rnn.core_rnn_cell.DropoutWrapper( tf.contrib.rnn.core_rnn_cell.BasicLSTMCell(emb_dim, state_is_tuple=True), output_keep_prob=self.keep_prob) # stack cells together : n layered model stacked_lstm = tf.contrib.rnn.core_rnn_cell.MultiRNNCell([basic_cell]*num_layers, state_is_tuple=True) Thank you

replace this code in place of previous code: use tensorflow>=1.0 basic_cell = tf.contrib.rnn.DropoutWrapper( tf.contrib.rnn.BasicLSTMCell(emb_dim, state_is_tuple=True), output_keep_prob=self.keep_prob) # stack cells together : n layered model stacked_lstm = tf.contrib.rnn.MultiRNNCell([basic_cell] * num_layers, state_is_tuple=True)

It's tf.contrib.rnn.your requirements. Like to.contrib.rnn.basiclstm or dropout. You need to use tensorflow =1.2 or above If you have further questions mail me at [email protected] On 02-Jan-2018 6:51 PM, "zwep" wrote:...