Can not convert a ndarray into a Tensor or Operation.

Tensorflow报错:Can not convert a ndarray into a Tensor or Operation.
原因:sess.run()前后参数名称一致了。
解决方案:将接收的变量名改了就可以了
参考链接:https://blog.csdn.net/michael__corleone/article/details/79007425

猜你喜欢

转载自blog.csdn.net/aaon22357/article/details/83272842