Skip to content

Commit

Permalink
Proper description of v_min and v_max in C51 parser (#343)
Browse files Browse the repository at this point in the history
* fix typo

* c51 typo
  • Loading branch information
qgallouedec authored Jan 9, 2023
1 parent 94a44b5 commit 3f5535c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cleanrl/c51.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def parse_args():
parser.add_argument("--n-atoms", type=int, default=101,
help="the number of atoms")
parser.add_argument("--v-min", type=float, default=-100,
help="the number of atoms")
help="the return lower bound")
parser.add_argument("--v-max", type=float, default=100,
help="the number of atoms")
help="the return upper bound")
parser.add_argument("--buffer-size", type=int, default=10000,
help="the replay memory buffer size")
parser.add_argument("--gamma", type=float, default=0.99,
Expand Down
4 changes: 2 additions & 2 deletions cleanrl/c51_atari.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def parse_args():
parser.add_argument("--n-atoms", type=int, default=51,
help="the number of atoms")
parser.add_argument("--v-min", type=float, default=-10,
help="the number of atoms")
help="the return lower bound")
parser.add_argument("--v-max", type=float, default=10,
help="the number of atoms")
help="the return upper bound")
parser.add_argument("--buffer-size", type=int, default=1000000,
help="the replay memory buffer size")
parser.add_argument("--gamma", type=float, default=0.99,
Expand Down
4 changes: 2 additions & 2 deletions cleanrl/c51_atari_jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def parse_args():
parser.add_argument("--n-atoms", type=int, default=51,
help="the number of atoms")
parser.add_argument("--v-min", type=float, default=-10,
help="the number of atoms")
help="the return lower bound")
parser.add_argument("--v-max", type=float, default=10,
help="the number of atoms")
help="the return upper bound")
parser.add_argument("--buffer-size", type=int, default=1000000,
help="the replay memory buffer size")
parser.add_argument("--gamma", type=float, default=0.99,
Expand Down
4 changes: 2 additions & 2 deletions cleanrl/c51_jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ def parse_args():
parser.add_argument("--n-atoms", type=int, default=101,
help="the number of atoms")
parser.add_argument("--v-min", type=float, default=-100,
help="the number of atoms")
help="the return lower bound")
parser.add_argument("--v-max", type=float, default=100,
help="the number of atoms")
help="the return upper bound")
parser.add_argument("--buffer-size", type=int, default=10000,
help="the replay memory buffer size")
parser.add_argument("--gamma", type=float, default=0.99,
Expand Down

1 comment on commit 3f5535c

@vercel
Copy link

@vercel vercel bot commented on 3f5535c Jan 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cleanrl – ./

cleanrl.vercel.app
cleanrl-git-master-vwxyzjn.vercel.app
cleanrl-vwxyzjn.vercel.app
docs.cleanrl.dev

Please sign in to comment.