0
我試圖走出Tensorflow Seq2Seq翻譯例子,收到此錯誤:AttributeError的:模塊「tensorflow.contrib.rnn」有沒有屬性「GRUCell」
AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'GRUCell'
我這有Tensorflow 0.10的服務器上運行。
我試圖走出Tensorflow Seq2Seq翻譯例子,收到此錯誤:AttributeError的:模塊「tensorflow.contrib.rnn」有沒有屬性「GRUCell」
AttributeError: module 'tensorflow.contrib.rnn' has no attribute 'GRUCell'
我這有Tensorflow 0.10的服務器上運行。
Tensorflow的contrib的API僅支持更高版本(即1.0)的GRUCell。對於早期版本中可能的RNN小區,請參閱here。