Experiment Tracking
The Base Tracker Class
A base Tracker class to be used for all logging integration implementations.
Each function should take in **kwargs
that will automatically be passed in from a base dictionary provided to
Accelerator
Should run any finalizing functions within the tracking API. If the API should not have one, just don’t overwrite that method.
log
< source >( values: dict step: typing.Optional[int] **kwargs )
Logs values
to the current run. Base log
implementations of a tracking API should go in here, along with
special behavior for the `step parameter.
store_init_configuration
< source >( values: dict )
Logs values
as hyperparameters for the run. Implementations should use the experiment configuration
functionality of a tracking API.
Integrated Trackers
class accelerate.tracking.TensorBoardTracker
< source >( run_name: str logging_dir: typing.Union[str, os.PathLike, NoneType] **kwargs )
A Tracker
class that supports tensorboard
. Should be initialized at the start of your script.
__init__
< source >( run_name: str logging_dir: typing.Union[str, os.PathLike, NoneType] **kwargs )
class accelerate.tracking.WandBTracker
< source >( run_name: str **kwargs )
A Tracker
class that supports wandb
. Should be initialized at the start of your script.
class accelerate.tracking.CometMLTracker
< source >( run_name: str **kwargs )
A Tracker
class that supports comet_ml
. Should be initialized at the start of your script.
API keys must be stored in a Comet config file.