Report the progress of your recipe to Adaptive
ctx.job.register_stages()
to define the stages of your recipe:
RecipeContext
(generally shown as the ctx
input parameter):
StageNotifier
, which is a copy of ctx.job
that holds a default stage. AllTraining classes take in an optional stage_notifier
parameter, which - as the name indicates - must be a stage-bounded notifier. This means you can follow the progress of training in # training samples processed from the Adaptive UI without having to edit the Trainer classes.
SimpleProgressNotifier
progress manager:
SimpleProgressNotifier
works in both synchronous and asynchronous contexts.Progress visualization of a run on the Adaptive Engine