callbacks = [earlystop, reducelr, modelckpt] # 设定回调 history = ann.fit(X_train, y_train, # 指定训练集