Skip to content

Commit c1fcd58

Browse files
committed
Doc update, cuRobo tests teardown update
1 parent 09fbc68 commit c1fcd58

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

docs/source/overview/imitation-learning/skillgen.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ Train a state-based policy for the basic cube stacking task:
346346
.. code:: bash
347347
348348
./isaaclab.sh -p scripts/imitation_learning/robomimic/train.py \
349-
--task Isaac-Stack-Cube-Franka-IK-Rel-v0 \
349+
--task Isaac-Stack-Cube-Franka-IK-Rel-Skillgen-v0 \
350350
--algo bc \
351351
--dataset ./datasets/generated_dataset_skillgen_cube_stack.hdf5
352352
@@ -358,13 +358,13 @@ Train a policy for the more complex adaptive bin stacking:
358358
.. code:: bash
359359
360360
./isaaclab.sh -p scripts/imitation_learning/robomimic/train.py \
361-
--task Isaac-Stack-Cube-Bin-Franka-IK-Rel-v0 \
361+
--task Isaac-Stack-Cube-Bin-Franka-IK-Rel-Mimic-v0 \
362362
--algo bc \
363363
--dataset ./datasets/generated_dataset_skillgen_bin_cube_stack.hdf5
364364
365365
.. note::
366366

367-
The training script will save the model checkpoints in the model directory under ``PATH_TO_MODEL_DIRECTORY/logs/model_checkpoint.pth``.
367+
The training script will save the model checkpoints in the model directory under ``IssacLab/logs/robomimic``.
368368

369369
Evaluating Trained Policies
370370
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -376,7 +376,7 @@ Test your trained policies:
376376
# Basic cube stacking evaluation
377377
./isaaclab.sh -p scripts/imitation_learning/robomimic/play.py \
378378
--device cpu \
379-
--task Isaac-Stack-Cube-Franka-IK-Rel-v0 \
379+
--task Isaac-Stack-Cube-Franka-IK-Rel-Skillgen-v0 \
380380
--num_rollouts 50 \
381381
--checkpoint /path/to/model_checkpoint.pth
382382
@@ -385,7 +385,7 @@ Test your trained policies:
385385
# Adaptive bin stacking evaluation
386386
./isaaclab.sh -p scripts/imitation_learning/robomimic/play.py \
387387
--device cpu \
388-
--task Isaac-Stack-Cube-Bin-Franka-IK-Rel-v0 \
388+
--task Isaac-Stack-Cube-Bin-Franka-IK-Rel-Mimic-v0 \
389389
--num_rollouts 50 \
390390
--checkpoint /path/to/model_checkpoint.pth
391391

source/isaaclab_mimic/test/test_curobo_planner_cube_stack.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ def cube_stack_test_env() -> Generator[dict[str, Any], None, None]:
136136
}
137137

138138
env.close()
139-
simulation_app.close()
140139

141140

142141
class TestCubeStackPlanner:

source/isaaclab_mimic/test/test_curobo_planner_franka.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from isaaclab.app import AppLauncher
1616

17-
headless = True
17+
headless = False
1818
app_launcher = AppLauncher(headless=headless)
1919
simulation_app: Any = app_launcher.app
2020

@@ -101,7 +101,6 @@ def curobo_test_env() -> Generator[dict[str, Any], None, None]:
101101

102102
# Teardown: close the environment and simulation app
103103
env.close()
104-
simulation_app.close()
105104

106105

107106
class TestCuroboPlanner:

0 commit comments

Comments
 (0)