ValueError: Input 0 of layer sequential_30 is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: [None, None, None]
答案 0 :(得分:0)
首先,您提供的详细信息很少。根据您提供的详细信息,我已经解释说您正在尝试将维度3的numpy array
传递给CNN Layer
。 CNN Layer
仅接受4-dimensional numpy arrays
,但是您已将3-dimensional numpy array
作为输入。为了解决此问题,将阵列重塑为4D阵列。如果您提供您的代码,我将能够为您提供您必须使用的确切行。