0
回答
ImportError: cannot import name 'core_rnn_cell'

from tensorflow.contrib.rnn import core_rnn_cell as rnn_cell
from tensorflow.contrib import legacy_seq2seq as seq2seq

 

tensorFlow报错了,是版本不对吗?

  File "D:\Users\Administrator\workspace\pyt\predict.py", line 11, in <module>
    from tensorflow.contrib.rnn import core_rnn_cell as rnn_cell
ImportError: cannot import name 'core_rnn_cell'

<无标签>
举报
天池番薯
发帖于1年前 0回/286阅
顶部