Skip to content

Clarify SuperMimic assets, downloads and usage on main - #9337

Merged
kellyguo11 merged 3 commits into
isaac-sim:mainfrom
Double7sBurger:docs/supermimic-usage-main
Dec 3, 2026
Merged

kellyguo11 merged 3 commits into
isaac-sim:mainfrom
Double7sBurger:docs/supermimic-usage-main

Conversation

@Double7sBurger

@Double7sBurger Double7sBurger commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

Forward-port #9307 from release/3.1.0 to main. Clarify SuperMimic dataset downloads, default G1 assets, pretrained sample commands, logging, and checkpoint outputs. Add an actionable error for unsupported NPZ directory layouts.

Asset links now use the published Isaac 6.2 checkpoint, reference motion, and G1 USD.

Validation

  • Repository formatting and changelog checks passed.
  • NPZ loading, named-channel reordering, and invalid-layout error checks passed.
  • All 15 documented Bash blocks passed syntax checks; CSV dictionary overrides parsed and loaded correctly.
  • W&B offline scalar logging passed.
  • Full Sphinx build passed before the URL-only follow-up; the follow-up passed formatting and Bash syntax checks.
  • The published 6.2 checkpoint and reference motion match the release files by SHA-256.

## Description

Clarify SuperMimic setup and usage with the default G1 asset, published
dance files, and full motion datasets. Add dataset download
instructions, NPZ layout requirements and samples, quoted CSV mappings,
W&B setup, BONES-SEED loading guidance, checkpoint save rules, and the
Experimental Features entry. Link the video in NVIDIA's documentation
asset repository.

Report missing root/joint NPZ fields with an actionable error explaining
directory requirements and single-file full-body input.

## Type of change

- Documentation update
- Bug fix (input validation message)

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `main`

## Validation

- Reproduced the reported full-body NPZ directory failure on the
previous code and verified the new error with the published `g1_run.npz`
sample.
- Loaded the full-body sample with named channel reordering and a nested
directory of root/joint `hiphop.npz` clips; checked incomplete inputs
and frame-rate validation.
- Parsed the documented CSV dictionary overrides through task
configuration and loaded CSV data without modifying the input file.
- Verified offline scalar logging with the locked W&B 0.26.1 package.
- Downloaded all 40 LAFAN1 G1 CSV files and checked the directory
layout; checked checkpoint naming against the locked runner and existing
30-step output.
- Verified the official video URL anonymously and matched SHA-256 to the
unchanged source video.
- Clean Sphinx build with warnings treated as errors, Bash syntax
checks, and repository formatting checks.

Prior validation includes published dance playback and native/pretrained
LEAPP export on one RTX PRO 5000 Blackwell (48 GB). Full-budget
training, full BONES-SEED loading, online W&B logging, Windows and DGX
Spark were not newly validated.

The media addition is pending review in [isaaclab-docs-assets
isaac-sim#8](https://huggingface.co/datasets/nvidia/isaaclab-docs-assets/discussions/8).
The guide uses its verified, publicly accessible commit URL.

(cherry picked from commit 04859da)
@Double7sBurger
Double7sBurger requested a review from a team December 2, 2026 02:20
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Dec 2, 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

Needs attention: Compatibility and deprecation (1), Implementation (1), Style consistency (1). Other reviewed categories look good.

  • PR description: Substantiate “tens of minutes” loading with baseline/candidate revisions, workload command, hardware, backend, environment count, warmup, and startup-time measurements, or remove the estimate; title, scope, and reported validation match the diff.
  • Design and architecture: Architecture looks good.
  • Scope and over-engineering: No over-engineering issues.
  • API: API changes look good.
  • Compatibility and deprecation: Breaking changes: missing NPZ fields now raise ValueError instead of KeyError without a deprecation bridge; preserve KeyError with the improved message.
  • Implementation: The missing-field branch also handles direct files, where repeating the file-path remedy is misleading; distinguish direct-file guidance from directory-routing advice.
  • Style consistency: The Train introduction repeats recursive directory-loading guidance already documented under Inputs; delete the repeated sentences.
  • Test quality: Test quality looks good.

Minor fixes needed. Posted 3 inline findings.

Automated review; human maintainers own approval decisions.

Train
-----

Train on the full downloaded motion directory. Set ``env.commands.motion.motion_file``

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.

🟡 Warning · Style Consistency — Remove repeated directory guidance

These sentences repeat the recursive-loading guidance under Inputs and the directory selection shown immediately below. Delete them so readers have one place to maintain that instruction.

with np.load(path, allow_pickle=False) as data:
missing = [key for key in fields if key not in data]
if missing:
raise ValueError(

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.

🟡 Warning · Compatibility — Preserve the missing-field exception type

Missing NPZ fields previously raised KeyError; ValueError bypasses existing KeyError handlers. Keep KeyError with the improved diagnostic, or complete a deprecation transition before changing the exception type.

raise ValueError(
f"Reference clip {path} is missing root/joint NPZ fields: {', '.join(missing)}."
" Directories of NPZ clips require the root/joint layout."
" To load a full-body NPZ, pass its file path directly to motion_file."

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.

🟡 Warning · Implementation — Do not repeat a direct-file remedy

A direct NPZ file reaches this branch too; passing that same file path to the loader will still fail. Give file-specific guidance here and reserve directory-routing advice for directory inputs.

@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 4/5RetriggerView in Greptile

[Low impact] Runtime effects stay limited to unsupported NPZ directory layouts.

The PR appears safe to merge, with a non-blocking request to test the new NPZ error.

Findings

  1. P2 New error lacks a test ▶

Summary

This PR clarifies SuperMimic setup and usage on main.

  • SuperMimic guides users from motion downloads to supported training inputs.
  • NPZ motion loading explains which layouts work for files and folders.
  • SuperMimic's guide lays out setup, logging, and checkpoint details.
  • The pretrained dance sample links the assets needed for playback and export.

Reviews (1) · Last reviewed commit: "Clarify SuperMimic assets, downloads and..." · Reviewed by Greptile

Comment on lines +384 to +390
missing = [key for key in fields if key not in data]
if missing:
raise ValueError(
f"Reference clip {path} is missing root/joint NPZ fields: {', '.join(missing)}."
" Directories of NPZ clips require the root/joint layout."
" To load a full-body NPZ, pass its file path directly to motion_file."
)

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.

P2 New error lacks a test

The new missing-fields error has no automated test, so its useful recovery advice could regress unnoticed. Add a small test using a directory containing a full-body NPZ. Assert that the error lists the missing fields and explains how to load the file directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Dec 2, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Dec 3, 2026
kellyguo11 added a commit that referenced this pull request Dec 3, 2026
## Description

Update the SuperMimic guide to use the published Isaac 6.2 G1 USD, dance
checkpoint, and reference motion in download links and play/export
examples. Follow-up to #9307; the same update is included in #9337 for
main.

## Validation

- The published 6.2 checkpoint and reference motion match the release
files by SHA-256.
- Formatting, diff checks, and documented Bash syntax checks passed.
- The guide is identical on both updated branches; only five URL version
strings changed.

---------

Co-authored-by: Kelly Guo <[email protected]>
@kellyguo11
kellyguo11 merged commit c2d41d9 into isaac-sim:main Dec 3, 2026
71 of 95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants