LoggingModelCheckpoint#

class ctlearn.tools.LoggingModelCheckpoint(logger, *args, **kwargs)[source]#

Bases: ModelCheckpoint

Log 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

on_epoch_end(epoch, logs=None)[source]#

Save the checkpoint and log whether the monitored metric improved.