我正在尝试将输入分类。
形状是:
df_train.shape: (17980, 380)
df_validation.shape: (17980, 380)
Run Code Online (Sandbox Code Playgroud)
但是,当我运行代码时,出现以下错误
ValueError: Input 0 of layer conv1d is incompatible with the layer: : expected min_ndim=3, found ndim=2. Full shape received: [32, 380]
Run Code Online (Sandbox Code Playgroud)
我们如何修复这个错误?