数据维度
Opened this issue · 2 comments
Zomun commented
ValueError: Input 0 of layer sequential_2 is incompatible with the layer: expected ndim=3, found ndim=2. Full shape received: (None, 240)
A-biao96 commented
代码有问题,需要修改数据维度
hetianxiao commented
add the following code before the In[26]
x_train = np.expand_dims(x_train, 2)