Tracks metrics passed to setup() during training and validation.
luz_callback_metrics()A luz_callback
This callback takes care of 2 ctx attributes:
ctx$metrics: stores the current metrics objects that are initialized once for epoch,
and are further update()d and compute()d every batch. You will rarely need
to work with these metrics.
ctx$records$metrics: Stores metrics per training/validation and epoch. The
structure is very similar to ctx$losses.
Other luz_callbacks:
luz_callback_auto_resume(),
luz_callback_csv_logger(),
luz_callback_early_stopping(),
luz_callback_interrupt(),
luz_callback_keep_best_model(),
luz_callback_lr_scheduler(),
luz_callback_mixup(),
luz_callback_model_checkpoint(),
luz_callback_profile(),
luz_callback_progress(),
luz_callback_resume_from_checkpoint(),
luz_callback_train_valid(),
luz_callback()