feed_dictキーをTensorとして解釈できません:Tensor Tensor(...)はこのグラフの要素ではありません。



Cannot Interpret Feed_dict Key



エラーの詳細は次のとおりです。
feed_dictキーをTensorとして解釈できません:Tensor Tensor(“ Placeholder:0”、shape =(5、5、3、64)、dtype = float32)はこのグラフの要素ではありません。

解決策は次のとおりです。



モデルをロードして通話予測を行った後、次の手順を実行します。

import tensorflow as tf graph = tf.get_default_graph() # Function: Get the current default calculation chart. with graph.as_default(): ''' The logical code of your prediction '''

具体的な参考資料:
https://www.cnblogs.com/studylyn/p/9105818.html