2020
10-08
10-08
解决keras使用cov1D函数的输入问题
解决了以下错误:1.ValueError:Input0isincompatiblewithlayerconv1d_1:expectedndim=3,foundndim=42.ValueError:Errorwhencheckingtarget:expecteddense_3tohave3dimensions,butgotarraywith…1.ValueError:Input0isincompatiblewithlayerconv1d_1:expectedndim=3,foundndim=4错误代码:model.add(Conv1D(8,kernel_size=3,strides=1,padding='same',input_shape=(x_train.shape))或者mo...
继续阅读 >