EarlyStopping,可以读取最终训练了多少个Epochs和最佳的Epochs在第几个~

callback = keras.callbacks.EarlyStopping(monitor=‘val_loss’,patience=50, restore_best_weights=True)
@snowkylin