AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'core_rnn_cell'报错解决方法
修改前:lstm_cell = tf.contrib.rnn.core_rnn_cell.BasicLSTMCell(lstm_size) 会报错:AttributeError: module ‘tensorflow.contrib.rnn’ has no attribute ‘core_rnn_cell’ 修改后:lstm_cell = tf.nn.rnn_cell.BasicLSTMCel...
原创
2018-08-24 11:38:58 ·
4318 阅读 ·
0 评论