Traceback (most recent call last):


 "/home/mjq/PycharmProjects/multi-class-text/multi-class-text-classification-cnn-rnn/train.py", line 167, in <module>

train_cnn_rnn()


 "/home/mjq/PycharmProjects/multi-class-text/multi-class-text-classification-cnn-rnn/train.py", line 63, in train_cnn_rnn

l2_reg_lambda=params['l2_reg_lambda'])


 "/home/mjq/PycharmProjects/multi-class-text/multi-class-text-classification-cnn-rnn/text_cnn_rnn.py", line 56, in __init__

lstm_cell = tf.contrib.rnn.DropoutWrapper(lstm_cell, output_keep_prob=self.dropout_keep_prob)
AttributeError: 'module' object has no attribute 'DropoutWrapper'
`Traceback (most recent call last):


 "test-redis-cluster.py", line 65, in <module>

p.execute()


 "/home/fwt/anaconda3/lib/python3.7/site-packages/rediscluster/pipeline.py", line 102, in execute

return self.send_cluster_commands(stack, raise_on_error)


 "/home/fwt/anaconda3/lib/python3.7/site-packages/rediscluster/utils.py", line 101, in inner

return func(*args, **kwargs)


 "/home/fwt/anaconda3/lib/python3.7/site-packages/rediscluster/pipeline.py", line 148, in send_cluster_commands

attempt = sorted(stack, key=lambda x: x.position)


 "/home/fwt/anaconda3/lib/python3.7/site-packages/rediscluster/pipeline.py", line 148, in <lambda>

attempt = sorted(stack, key=lambda x: x.position)
AttributeError: 'tuple' object has no attribute 'position'
