Skip to content

Compass document bug fix - #5973

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
sameerchavan0027:sc/bug-fixes-compass-tutorial
Jun 5, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
sameerchavan0027:sc/bug-fixes-compass-tutorial

Conversation

@sameerchavan0027

@sameerchavan0027 sameerchavan0027 commented Jun 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

Bug : 6247480

Observation:

  1. Documented checkpoint save path <output_dir>/checkpoints/ does not match actual
    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

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation labels Jun 4, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 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 ✅

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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:

  1. 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).

  2. Line 444: Updates the example checkpoint path from <output_dir>/checkpoints/model_1000.pt to <output_dir>/model_1000.pt to 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-apps

greptile-apps Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes incorrect checkpoint path documentation in the COMPASS with NuRec guide, where checkpoints were documented as being saved under <output_dir>/checkpoints/ when they are actually saved directly under <output_dir>/.

  • Corrects the checkpoint save location description from <output_dir>/checkpoints/ to <output_dir>/ and adds detail about the naming convention (every 50 iterations: model_0.pt, model_50.pt, etc.).
  • Updates the evaluation command example to reference the correct path <output_dir>/model_1000.pt instead of <output_dir>/checkpoints/model_1000.pt.

Confidence Score: 5/5

Safe 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

Filename Overview
docs/source/policy_deployment/03_compass_with_NuRec/compass_navigation_policy_with_NuRec.rst Documentation-only fix correcting the checkpoint directory path from <output_dir>/checkpoints/ to <output_dir>/ in two places; also adds helpful checkpoint naming/frequency details.

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/"]
Loading

Reviews (1): Last reviewed commit: "Compass document bug fix" | Re-trigger Greptile

@kellyguo11

Copy link
Copy Markdown
Contributor

pls cherry pick this to release/3.0.0-beta2

@kellyguo11
kellyguo11 merged commit dc96eac into isaac-sim:develop Jun 5, 2026
37 checks passed
kellyguo11 added a commit that referenced this pull request Jun 7, 2026
… 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants