Repository navigation
Clarify SuperMimic assets, downloads and usage on main - #9337
Conversation
## 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)
There was a problem hiding this comment.
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`` |
There was a problem hiding this comment.
🟡 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( |
There was a problem hiding this comment.
🟡 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." |
There was a problem hiding this comment.
🟡 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.
Confidence Score: 4/5
[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
SummaryThis PR clarifies SuperMimic setup and usage on
Reviews (1) · Last reviewed commit: "Clarify SuperMimic assets, downloads and..." · Reviewed by Greptile |
| 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." | ||
| ) |
There was a problem hiding this comment.
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!
|
run-ci |
|
run-ci |
## 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]>
Description
Forward-port #9307 from
release/3.1.0tomain. 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