ksuit.callbacks.early_stoppers.fixed_early_stopper

Classes

FixedEarlyStopper

Early stopper (training) based on a fixed number of epochs, updates, or samples.

Module Contents

class ksuit.callbacks.early_stoppers.fixed_early_stopper.FixedEarlyStopper(callback_config, **kwargs)

Bases: ksuit.callbacks.early_stoppers.early_stopper_base.EarlyStopperBase

Early stopper (training) based on a fixed number of epochs, updates, or samples.

Initialize the early stopper.

Parameters:
  • **kwargs – Additional arguments to pass to the parent class.

  • callback_config (ksuit.schemas.callbacks.callbacks_config.FixedEarlyStopperConfig)

stop_at_sample
stop_at_update
stop_at_epoch