Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto wandb tag with benchmark.py #308

Merged
merged 6 commits into from
Nov 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
quick change
  • Loading branch information
vwxyzjn committed Nov 1, 2022
commit 9ca363c78cc92639ed4533ae2d767a8693f3d68d
3 changes: 2 additions & 1 deletion cleanrl_utils/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
import shlex
import subprocess
from distutils.util import strtobool

import requests

Expand Down Expand Up @@ -73,7 +74,7 @@ def autotag() -> str:
os.environ["WANDB_TAGS"] = wandb_tag

commands = []
for seed in range(0, args.num_seeds + 1):
for seed in range(0, args.num_seeds):
for env_id in args.env_ids:
commands += [" ".join([args.command, "--env-id", env_id, "--seed", str(args.start_seed + seed)])]

Expand Down