Input 0 of layer sequential is incompatible with the layer: : expected min_ndim=4, found ndim=3.

环境windows11,tensorflow2.1,python3.6

img

img

ValueError: Input 0 of layer sequential is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: [None, 207, 3]

可以解答下吗

数据的shape有问题

如果你的代码是从其他渠道获取,应该是tensorflow版本问题,降低版本试试