Callbacks

from tensorflow.keras.callbacks import ModelCheckpoint from tensorflow.keras.callbacks import ReduceLROnPlateau from tensorflow.keras.callbacks import TensorBoard checkpoint = ModelCheckpoint("emotions.h5", monitor='accuracy', verbose=1, save_best_only=True, mode='auto', period=1) reduce = ReduceLROnPlateau(monitor='accuracy', factor=0.2, patience=10, min_lr=0.0001, verbose = 1) logdir='logs' tensorboard_Visualization = TensorBoard(log_dir=logdir, histogram_freq=False)

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.