我的输入是一个包含64个整数的数组。
model = Sequential()
model.add( Input(shape=(68,), name="input"))
model.add(Conv1D(64, 2, activation="relu", padding="same", name="convLayer"))
我在训练集中有10000个这样的数组。我需要指定这些内容使conv1D起作用吗?
我正在遇到可怕的问题。
ValueError: Input 0 of layer convLayer is incompatible with the layer: : expected min_ndim=3, found ndim=2. Full shape received: [None, 68]
出现错误,我真的不明白我需要做什么。