lukas / ml-class

Machine learning lessons and teaching projects designed for engineers
https://www.youtube.com/channel/UCBp3w4DCEC64FZr4k9ROxig
GNU General Public License v2.0
2.36k stars 1.17k forks source link

Input 0 is incompatible with this deep neural network #57

Closed bilalbaloch1 closed 3 years ago

bilalbaloch1 commented 4 years ago

ValueError: Input 0 is incompatible with layer flatten_3: expected min_ndim=3, found ndim=2

charlesfrye commented 4 years ago

Hey there @bilalbaloch1! Could you give a bit more detail about where you ran into this error so we can correct it?