我是靠谱客的博主 明理蛋挞,这篇文章主要介绍Cannot interpret feed_dict key as Tensor: Tensor Tensor(“keras_learning_phase:0“, shape=(),,现在分享给大家,希望可以做个参考。

报错信息:Cannot interpret feed_dict key as Tensor: Tensor Tensor("keras_learning_phase:0", shape=(), dtype=bool) is not an element of this graph.
场景:在django中调用YOLOv3模型中的detect_image函数报错

解决办法:将detect_image函数中sess.run中K.learning_phase(): 0注释掉

原理:暂时不知道

最后

以上就是明理蛋挞最近收集整理的关于Cannot interpret feed_dict key as Tensor: Tensor Tensor(“keras_learning_phase:0“, shape=(),的全部内容,更多相关Cannot内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(53)

评论列表共有 0 条评论

立即
投稿
返回
顶部