东方耀AI技术分享

标题: ValueError: could not broadcast input array from shape (75,4096) into shape (75) [打印本页]

作者: 东方耀    时间: 2019-10-30 17:48
标题: ValueError: could not broadcast input array from shape (75,4096) into shape (75)
报错:ValueError: could not broadcast input array from shape (75,4096) into shape (75)


出现这个错误时是使用 tensorflow==2.0.0  里面的 keras     from tensorflow import keras




如果换成使用单独的keras  ,则报错消失:
pip3 install keras
具体原因估计是:tf-keras 与 keras 的细微区别导致吧,先记录一下!





欢迎光临 东方耀AI技术分享 (http://www.ai111.vip/) Powered by Discuz! X3.4