luz_callback_metrics | R Documentation |
Tracks metrics passed to setup()
during training and validation.
luz_callback_metrics()
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
.
A luz_callback
In general you won't need to explicitly use the metrics callback as it's
used by default in fit.luz_module_generator()
.
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_mixed_precision()
,
luz_callback_mixup()
,
luz_callback_model_checkpoint()
,
luz_callback_profile()
,
luz_callback_progress()
,
luz_callback_resume_from_checkpoint()
,
luz_callback_train_valid()
,
luz_callback()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.