LoggingModelCheckpoint#
- class ctlearn.tools.keras.train_model.LoggingModelCheckpoint(logger, *args, **kwargs)[source]#
Bases:
ModelCheckpointLog checkpoint updates through the ctapipe tool logger.
This keeps Keras checkpoint messages within the logging system used by ctapipe tools, while preserving
ModelCheckpoint’s save behavior.Methods Summary
on_epoch_end(epoch[, logs])Save the checkpoint and log whether the monitored metric improved.
Methods Documentation