Tensorflow踩坑之tf.nn.bidirectional_dynamic_rnn()报错 “ValueError: None values not supported.”

**详细解决方法见链接:https://stackoverflow.com/questions/39808336/tensorflow-bidirectional-dynamic-rnn-none-values-error **
主要原因:tf.nn.bidirectional_dynamic_rnn()中的参数sequence_length必须设置
tf.nn.bidirectional_dynamic_rnn()函数详情链接:https://tensorflow.google.cn/api_docs/python/tf/nn/bidirectional_dynamic_rnn

posted @ 2019-03-19 18:46  EEEEEcho  阅读(3711)  评论(0编辑  收藏  举报