dplutils.observer.aim.AimObserver#
- class dplutils.observer.aim.AimObserver(run=None, **aim_kwargs)[source]#
Aim-based observer
Aim is an ML experiment tracker with included explorer UI. See aimhubio/aim for details.
- Parameters:
run – Existing aim run object to use for tracking.
aim_kwargs – In case an existing run is not supplied, one will be created, in which case aim_kwargs will be passed to its instantiation
Note
Aim does not track the time with metric, only the step and this implementation uses the default auto-increment step counter.
Methods
__init__([run])increment(name[, value])Increment a counter
observe(name, value, **kwargs)Observe a metric value
param(name, value, **kwargs)Record a run parameter
timer(name, **kwargs)Return a timer context manager recoding to this observer