我的模型出了什么问题?
model = Sequential()
model.add(GRU(32, batch_input_shape = (1,6,1), return_sequences=True, stateful=True))
model.add(GRU(16, return_sequences=True, stateful=True))
model.add(GRU(8, activation = 'relu', return_sequences = True, stateful = True))
model.add(GRU(4, activation ='relu', stateful = True))
model.add(Dense(1))
model.compile(optimizer='adam', loss='mae', metrics=['acc'])
model.fit(x[train], y[train], epochs=num_epochs, batch_size=1, verbose=0, callbacks=[early_stopping_callback, checkpointer],
validation_data = (x[test], y[test]))