CallbacksΒΆ

class ssp.keras.callbacks.callbacks.UseLossLowpassDecay[source]

Bases: Callback

UseLossLowpassDecay Callback. This callback updates the class variable loss.epoch to the current training epoch in order to allow a linear decay of the lowpass filter.

on_epoch_begin(epoch, logs=None)[source]

Update loss.epoch to the current training epoch

on_train_begin(logs=None)[source]

Check if loss function is supported and set loss.epoch=0