early_stopping_cb = tf.keras.callbacks.EarlyStopping(patience=config["earlystopping_patience"]) checkpoint_cb = tf.keras.callbacks.ModelCheckpoint("model_cb.keras",save_best_only=True) logs = "logs/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S") tensorboard_cb = tf.keras.callbacks.TensorBoard(log_dir = logs, histogram_freq = 1, profile_batch = '500,520') __ __