Skip to content

Commit

Permalink
Merge pull request #26 from vwxyzjn/log-algo
Browse files Browse the repository at this point in the history
Logs the algo name in wandb
  • Loading branch information
ikostrikov2 authored May 23, 2022
2 parents 6a37d80 + 39fb70e commit 6550d6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def main(_):
monitor_gym=True,
save_code=True,
)
wandb.config.update({"algo": algo})

summary_writer = SummaryWriter(
os.path.join(FLAGS.save_dir, run_name))
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ imageio-ffmpeg = "^0.4.7"
mujoco-py = "^2.1.2"
d4rl = {git = "https://github.com/ikostrikov/d4rl.git"}
dm-control = "^1.0.2"
wandb = "^0.12.16"

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit 6550d6f

Please sign in to comment.