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注释掉原理:暂时不知道...
原创
2020-12-09 00:13:17 ·
866 阅读 ·
6 评论