AvgLossCallback#

class radionets.core.callbacks.AvgLossCallback[source]#

Bases: Callback

Save the same average Loss for training and validation as printed to the terminal.

Parameters:
Callbackobject

Callback class

Attributes Summary

learn

name

Name of the Callback, camel-cased and with 'Callback' removed

order

run

run_train

run_valid

Methods Summary

__call__(event_name)

Call self.{event_name} if it's defined

after_batch()

after_train()

after_validate()

plot_loss()

plot_lrs()

Attributes Documentation

learn = None#
name#

Name of the Callback, camel-cased and with ‘Callback’ removed

order = 0#
run = True#
run_train = True#
run_valid = True#

Methods Documentation

__call__(event_name)#

Call self.{event_name} if it’s defined

after_batch()[source]#
after_train()[source]#
after_validate()[source]#
plot_loss()[source]#
plot_lrs()[source]#