0
回答
ImportError: cannot import name 'core_rnn_cell'
【腾讯云】学生服务器套餐10元/月 >>>   

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'

<无标签>
举报
Baclk5
发帖于9个月前 0回/249阅
顶部