noether.core.callbacks.early_stoppers.fixed¶
Classes¶
Early stopper (training) based on a fixed number of epochs, updates, or samples. |
Module Contents¶
- class noether.core.callbacks.early_stoppers.fixed.FixedEarlyStopperConfig(/, **data)¶
Bases:
pydantic.BaseModel- Parameters:
data (Any)
- name: Literal['FixedEarlyStopper'] = None¶
- validate_callback_frequency()¶
Ensures that exactly one stop (‘stop_at_*’) is specified
- Return type:
- class noether.core.callbacks.early_stoppers.fixed.FixedEarlyStopper(callback_config, **kwargs)¶
Bases:
noether.core.callbacks.early_stoppers.base.EarlyStopperBaseEarly stopper (training) based on a fixed number of epochs, updates, or samples.
Example config:
- kind: noether.core.callbacks.FixedEarlyStopper stop_at_epoch: 10 name: FixedEarlyStopper
- Parameters:
callback_config (FixedEarlyStopperConfig) – The configuration for the callback. See
FixedEarlyStopperConfigfor available options.**kwargs – Additional arguments to pass to the parent class.
- stop_at_sample¶
- stop_at_update¶
- stop_at_epoch¶