Skip to content

Commit 62cbec3

Browse files
committed
add doc for resume to the dexsuite example
1 parent d461c5d commit 62cbec3

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/pages/example_workflows/dexsuite_lift/step_2_policy_training.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,29 @@ Hyperparameters can be overridden with Hydra-style CLI arguments:
6464
agent.max_iterations=20000 agent.save_interval=500 agent.algorithm.learning_rate=0.0005
6565
6666
67+
Resuming from a Checkpoint
68+
^^^^^^^^^^^^^^^^^^^^^^^^^^
69+
70+
To resume training from a previously saved checkpoint, use the ``--resume`` flag
71+
together with ``--load_run`` (run folder name) and ``--checkpoint`` (model filename).
72+
Both arguments are optional — when omitted, the most recent run and latest checkpoint
73+
are used automatically.
74+
75+
.. code-block:: bash
76+
77+
python submodules/IsaacLab/scripts/reinforcement_learning/rsl_rl/train.py \
78+
--task Isaac-Dexsuite-Kuka-Allegro-Lift-v0 \
79+
--num_envs 512 \
80+
--resume \
81+
--load_run <timestamp> \
82+
--checkpoint model_5000.pt \
83+
presets=newton presets=cube
84+
85+
Replace ``<timestamp>`` with the run folder name under ``logs/rsl_rl/dexsuite_kuka_allegro/``.
86+
If ``--load_run`` is omitted, the latest run is selected. If ``--checkpoint`` is omitted,
87+
the latest checkpoint in that run is loaded.
88+
89+
6790
Monitoring Training
6891
^^^^^^^^^^^^^^^^^^^
6992

0 commit comments

Comments
 (0)