数据集和评估集形状如下:df_val shape: (1800,) #You needs to reshapeinput_length=35,inp = Input(shape错误如下所示:
ValueError: Input 0 is incompatible with layer CNN: expected s
在assert_input_compatibility line (f‘Input {input_index} of layer "{layer_name}“是’ValueError: layer”的输入0)中,"sequential_52“与层不兼容:预期的shape=(None,660,12),found shape=(无,12) model = Sequential()