shaoheshaohe 发表于 2019-11-25 23:47:24

tf错误记录

ValueError: Tensor must be from the same graph as Tensor with Bidirectinal RNN in Tensorflow

这个错误,意思是:tensors一部分在一个graph定义,另一部分在另一个graph。
出现的原因:
在tensors的中间,有tf.reset_default_graph()这样的语句。它会重开一个graph,这样它的前后,就属于不同的graph。


页: [1]
查看完整版本: tf错误记录