tensorflow提示出错module 'tensorflow.contrib' has no attribute 'bidirectional_rnn'

运行报错
 File "model.py", line 21, in __init__
    output, _, _ = tf.contrib.static_bidirectional_rnn(....)

AttributeError: module 'tensorflow.contrib' has no attribute 'bidirectional_rnn'  


解决方案:
tf.contrib.rnn.static_bidirectional_rnn()(失败)

tf.nn.bidirectional_dynamic_rnn()(成功)



阅读更多
个人分类: python
上一篇tensorflow提示出错'module' object has no attribute 'pack'
下一篇linux的Anaconda3环境下安装TensorFlow1.3
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭