Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jan 23, 2024
1 parent 505c27b commit ae31624
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion torchrl/record/loggers/tensorboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TensorboardLogger(Logger):
Args:
exp_name (str): The name of the experiment.
log_dir (str): the tensorboard log_dir.
log_dir (str): the tensorboard log_dir. Defaults to ``td_logs``.
"""

Expand Down
16 changes: 16 additions & 0 deletions torchrl/record/loggers/wandb.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,24 @@
class WandbLogger(Logger):
"""Wrapper for the wandb logger.
The keyword arguments are mainly based on the :func:`wandb.init` kwargs.
See the doc `here <https://docs.wandb.ai/ref/python/init>`__.
Args:
exp_name (str): The name of the experiment.
offline (bool, optional): if ``True``, the logs will be stored locally
only. Defaults to ``False``.
save_dir (path, optional): the directory where to save data. Exclusive with
``log_dir``.
log_dir (path, optional): the directory where to save data. Exclusive with
``save_dir``.
id (str, optional): A unique ID for this run, used for resuming.
It must be unique in the project, and if you delete a run you can't reuse the ID.
project (str, optional): The name of the project where you're sending
the new run. If the project is not specified, the run is put in
an ``"Uncategorized"`` project.
**kwargs: Extra keyword arguments for ``wandb.init``. See relevant page for
more info.
"""

Expand Down

0 comments on commit ae31624

Please sign in to comment.