Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KincoActuatorIsaacLab
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kevin
KincoActuatorIsaacLab
Commits
3f04d18d
Commit
3f04d18d
authored
Dec 11, 2023
by
Mayank Mittal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes argparsing of run_name in RSL-RL workfow
parent
b25a55b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
cli_args.py
source/standalone/workflows/rsl_rl/cli_args.py
+4
-0
train.py
source/standalone/workflows/rsl_rl/train.py
+0
-1
No files found.
source/standalone/workflows/rsl_rl/cli_args.py
View file @
3f04d18d
...
@@ -20,12 +20,16 @@ def add_rsl_rl_args(parser: argparse.ArgumentParser):
...
@@ -20,12 +20,16 @@ def add_rsl_rl_args(parser: argparse.ArgumentParser):
"""
"""
# create a new argument group
# create a new argument group
arg_group
=
parser
.
add_argument_group
(
"rsl_rl"
,
description
=
"Arguments for RSL-RL agent."
)
arg_group
=
parser
.
add_argument_group
(
"rsl_rl"
,
description
=
"Arguments for RSL-RL agent."
)
# -- experiment arguments
arg_group
.
add_argument
(
arg_group
.
add_argument
(
"--experiment_name"
,
type
=
str
,
default
=
None
,
help
=
"Name of the experiment folder where logs will be stored."
"--experiment_name"
,
type
=
str
,
default
=
None
,
help
=
"Name of the experiment folder where logs will be stored."
)
)
arg_group
.
add_argument
(
"--run_name"
,
type
=
str
,
default
=
None
,
help
=
"Run name suffix to the log directory."
)
# -- load arguments
arg_group
.
add_argument
(
"--resume"
,
type
=
bool
,
default
=
None
,
help
=
"Whether to resume from a checkpoint."
)
arg_group
.
add_argument
(
"--resume"
,
type
=
bool
,
default
=
None
,
help
=
"Whether to resume from a checkpoint."
)
arg_group
.
add_argument
(
"--load_run"
,
type
=
str
,
default
=
None
,
help
=
"Name of the run folder to resume from."
)
arg_group
.
add_argument
(
"--load_run"
,
type
=
str
,
default
=
None
,
help
=
"Name of the run folder to resume from."
)
arg_group
.
add_argument
(
"--checkpoint"
,
type
=
str
,
default
=
None
,
help
=
"Checkpoint file to resume from."
)
arg_group
.
add_argument
(
"--checkpoint"
,
type
=
str
,
default
=
None
,
help
=
"Checkpoint file to resume from."
)
# -- logger arguments
arg_group
.
add_argument
(
arg_group
.
add_argument
(
"--logger"
,
type
=
str
,
default
=
None
,
choices
=
{
"wandb"
,
"tensorboard"
,
"neptune"
},
help
=
"Logger module to use."
"--logger"
,
type
=
str
,
default
=
None
,
choices
=
{
"wandb"
,
"tensorboard"
,
"neptune"
},
help
=
"Logger module to use."
)
)
...
...
source/standalone/workflows/rsl_rl/train.py
View file @
3f04d18d
...
@@ -27,7 +27,6 @@ parser.add_argument("--video_interval", type=int, default=2000, help="Interval b
...
@@ -27,7 +27,6 @@ parser.add_argument("--video_interval", type=int, default=2000, help="Interval b
parser
.
add_argument
(
"--cpu"
,
action
=
"store_true"
,
default
=
False
,
help
=
"Use CPU pipeline."
)
parser
.
add_argument
(
"--cpu"
,
action
=
"store_true"
,
default
=
False
,
help
=
"Use CPU pipeline."
)
parser
.
add_argument
(
"--num_envs"
,
type
=
int
,
default
=
None
,
help
=
"Number of environments to simulate."
)
parser
.
add_argument
(
"--num_envs"
,
type
=
int
,
default
=
None
,
help
=
"Number of environments to simulate."
)
parser
.
add_argument
(
"--task"
,
type
=
str
,
default
=
None
,
help
=
"Name of the task."
)
parser
.
add_argument
(
"--task"
,
type
=
str
,
default
=
None
,
help
=
"Name of the task."
)
parser
.
add_argument
(
"--run_name"
,
type
=
str
,
default
=
None
,
help
=
"Name of the run."
)
parser
.
add_argument
(
"--seed"
,
type
=
int
,
default
=
None
,
help
=
"Seed used for the environment"
)
parser
.
add_argument
(
"--seed"
,
type
=
int
,
default
=
None
,
help
=
"Seed used for the environment"
)
# append RSL-RL cli arguments
# append RSL-RL cli arguments
cli_args
.
add_rsl_rl_args
(
parser
)
cli_args
.
add_rsl_rl_args
(
parser
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment