noether.core.callbacks.checkpoint.best_checkpoint¶
Classes¶
Callback to save the best model based on a metric. |
Module Contents¶
- class noether.core.callbacks.checkpoint.best_checkpoint.BestCheckpointCallback(callback_config, **kwargs)¶
Bases:
noether.core.callbacks.periodic.PeriodicCallbackCallback to save the best model based on a metric.
Initializes the BestCheckpointCallback.
- Parameters:
callback_config (noether.core.schemas.callbacks.BestCheckpointCallbackConfig) – The configuration for the callback. Implements the BestMetricCallbackConfig schema.
**kwargs – additional arguments passed to the parent class.
- metric_key¶
- model_names¶
- higher_is_better¶
- best_metric_value¶
- save_frozen_weights¶
- tolerances_is_exceeded¶
- tolerance_counter = 0¶