遇到如图所示的报错:expected dense_3 to have shape (3,) but got array with shape (2) 请问应该怎么解决
expected dense_3 to have shape (3,) but got array with shape (2)意思是期望得到一个3维的数组,但是你传入的是一个2维的,检查一下传入的数组改为三维就好了