d3rlpy.logging.LoggerAdapterFactory

class d3rlpy.logging.LoggerAdapterFactory(*args, **kwargs)[source]

Interface of LoggerAdapterFactory.

Methods

create(algo, experiment_name, n_steps_per_epoch)[source]

Creates LoggerAdapter.

This method instantiates LoggerAdapter with a given experiment_name. This method is usually called at the beginning of training.

Parameters:
  • algo (AlgProtocol) – Algorithm.

  • experiment_name (str) – Experiment name.

  • steps_per_epoch – Number of steps per epoch.

  • n_steps_per_epoch (int) –

Return type:

LoggerAdapter