Repository navigation
Compass document bug fix - #5973
Conversation
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot
Summary
This PR fixes a documentation inaccuracy in the COMPASS with NuRec tutorial (compass_navigation_policy_with_NuRec.rst). The docs previously stated that checkpoints are saved under <output_dir>/checkpoints/, but the actual behavior saves them directly under <output_dir>/. The PR corrects the path in two locations and adds clarifying examples of the checkpoint naming pattern (e.g., model_0.pt, model_50.pt, model_100.pt) and the save interval (every 50 iterations).
Findings
No issues found. The changes are minimal, accurate, and improve clarity for users following the tutorial.
Verdict
No issues found — LGTM ✅
There was a problem hiding this comment.
This PR corrects the documentation to accurately reflect where COMPASS training checkpoints are saved.
Summary
The fix updates two places in the COMPASS/NuRec tutorial documentation:
-
Line 372: Changes the checkpoint path description from
<output_dir>/checkpoints/to<output_dir>/and adds clarity about the checkpoint naming pattern (model_0.pt,model_50.pt, etc.) and save frequency (every 50 iterations). -
Line 444: Updates the example checkpoint path from
<output_dir>/checkpoints/model_1000.ptto<output_dir>/model_1000.ptto match the actual output location.
Analysis
✅ Changes look correct - The documentation now accurately reflects that checkpoints are saved directly in the output directory, not in a checkpoints/ subdirectory.
✅ Good additional detail - The added information about checkpoint naming convention and save frequency (every 50 iterations) is helpful for users.
✅ Minimal, focused change - Only the necessary lines are modified.
Minor Suggestion
The PR is fine as-is, but consider whether the default iteration count mentioned ("default: 1000 iterations") is still accurate. If checkpoints are written every 50 iterations, users would see model_0.pt through model_1000.pt (or up to the final iteration).
Automated review by IsaacLab Review Bot 🤖
Greptile SummaryThis PR fixes incorrect checkpoint path documentation in the COMPASS with NuRec guide, where checkpoints were documented as being saved under
Confidence Score: 5/5Safe to merge — documentation-only change with no code impact. Both edits correct a factual error in the checkpoint path and are internally consistent: the training section and the evaluation example now agree on <output_dir>/model_.pt. The added detail about checkpoint frequency (every 50 iterations) matches the naming examples provided. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Training Run] --> B["Checkpoint saved every 50 iterations\n(model_0.pt, model_50.pt, ...)"]
B --> C["<output_dir>/model_<iteration>.pt\n✅ Correct path (after fix)"]
D["<output_dir>/checkpoints/model_<iteration>.pt\n❌ Incorrect path (before fix)"] -.->|was documented as| A
C --> E[Evaluation\nrun.py -p <output_dir>/model_1000.pt]
A --> F["Videos saved in\n<output_dir>/videos/"]
Reviews (1): Last reviewed commit: "Compass document bug fix" | Re-trigger Greptile |
|
pls cherry pick this to release/3.0.0-beta2 |
… imports fixes, Newton 1.2.1rc2 pin (#6014) # Description Cherry pick fixes from develop: - #5990 - #5944 - #5973 - #5935 - #5948 - #5932 - #5966 - #5927 --------- Signed-off-by: matthewtrepte <[email protected]> Co-authored-by: sameerchavan0027 <[email protected]> Co-authored-by: matthewtrepte <[email protected]> Co-authored-by: Mustafa H <[email protected]> Co-authored-by: Antoine Richard <[email protected]> Co-authored-by: ooctipus <[email protected]> Co-authored-by: mingxueg <[email protected]>
Description
Bug : 6247480
Observation:
behavior — checkpoints are saved directly under <output_dir>/
The doc states:
"The resulting checkpoint will be stored in <output_dir>/checkpoints/ with the filename
model_<iteration_number>.pt"
Actual directory layout after training completes:
~/compass-nurec/output/galileo_spot/
├── model_0.pt
├── model_50.pt
├── model_100.pt
├── model_150.pt
├── model_200.pt
├── debug_images/
├── tensorboard/
└── videos/
No checkpoints/ subdirectory is created. Checkpoint files are written directly to the
output root. Any user or test step that follows the doc and checks
<output_dir>/checkpoints/ for verification will get:
ls: cannot access '<output_dir>/checkpoints/': No such file or directory
Command:
${ISAACLAB_PATH:?}/isaaclab.sh -p run.py \ -c configs/train_config_real2sim.gin \ -o ~/compass-nurec/output/galileo_spot \ -b ~/compass-nurec/X-Mobility/x_mobility-nav2-semantic_action_path.ckpt \ --embodiment spot \ --environment nova_carter-galileo \ --num_envs 64 \ --video --video_interval 1 \ --visualizer kit \ --enable_cameras \ --precompute_valid_poses
File: docs/source/policy_deployment/03_compass_with_NuRec/compass_navigation_policy_with_NuRec.rst
Doc:
https://isaac-sim.github.io/IsaacLab/release/3.0.0-beta2/index.html
Error Logs: N/A
Expected:
Doc should state checkpoints are saved directly at <output_dir>/model_.pt. Checkpoint save interval is every 50 iterations (confirmed: model_0.pt, model_50.pt, model_100.pt, etc.).
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there