Repository navigation
Conversation
…ank/franka-stack-ppo
…ank/stack-success-height
…ank/franka-stack-ppo
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Design and architecture (2), Scope and over-engineering (1), Implementation (5), Style consistency (6), Test quality (1). Other reviewed categories look good.
- PR description: Include state PPO/reset curriculum in title/body; preserve validation sections and substantiate the eight-times-faster collection claim with baseline/candidate revisions, workload command, hardware, backend, environment count, warmup, throughput, and peak memory.
- Design and architecture: Held-cube placement duplicates Franka kinematics, creating a second geometry owner that can diverge from the robot asset; derive reset tool poses from the configured articulation.
- Scope and over-engineering: Minimal implementation: extend observations.py and terminations.py; remove duplicate attempt metrics, not lifecycle owners. Keep distillation.py, rsl_rl_camera_ppo_cfg.py, rsl_rl_distillation_cfg.py, rsl_rl_ppo_cfg.py, franka_robot_cfg.py, stack_camera_rl_env_cfg.py, stack_rl_env_cfg.py, constants.py, actions.py, actions_cfg.py, camera.py, curriculums.py, goal_context.py, reset_events.py, rewards.py, robot_state.py, runtime_state.py, and spawners.py for configuration contracts, reset state, rendering, and training; separate camera noise configuration. Suggested PR breakdown: state PPO/reset curriculum with action/reset validation; camera PPO with image/reset validation; distillation with checkpoint/clipping validation.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: The reset-row builder performs thousands of small device operations during initialization; construct rows on CPU or batch their construction before transferring the completed table.
- Style consistency: EpisodeCameraNoiseCfg shares its implementation module and directly references the runtime class, violating the required configuration split; separate it and use a resolvable class_type.
- Test quality: The curriculum fixture omits four parameters required by StackResetStateTable construction, so its assertions are unreachable; clone the registered event configuration and override fixed_recipe.
Significant concerns. Posted 15 inline findings.
Automated review; human maintainers own approval decisions.
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Design and architecture (4), Scope and over-engineering (5), Implementation (5), Style consistency (6). Other reviewed categories look good.
- PR description: Describe state PPO/curriculum scope and remove unsupported “seeded” wording; substantiate throughput and RGB-memory costs with baseline/candidate revisions, command/workload, hardware, backend, environment count, warmup, throughput, and peak memory.
- Design and architecture: Reset placement duplicates configured robot geometry and workspace bounds, allowing configuration and reset behavior to disagree; derive transforms and limits from their configured owners.
- Scope and over-engineering: Minimal implementation: Extend StackEnvCfg, observations, and TerminationsCfg; merge franka_robot_cfg→stack_rl_env_cfg, robot_state→observations, runtime_state→reset_events; keep constants, spawners, reset_events, rewards, goal_context, curriculums, camera, actions/actions_cfg, stack_rl_env_cfg, stack_camera_rl_env_cfg, distillation, rsl_rl_ppo_cfg, rsl_rl_camera_ppo_cfg, and rsl_rl_distillation_cfg for configuration, cloning, manager lifecycle, and checkpoint contracts; delete redundant gates/metrics. Essential flow: reset, observe, train. Suggested PR breakdown: 1) state PPO/curriculum, registered-task validation; 2) camera PPO, rendering/noise validation; 3) distillation, checkpoint/clipping validation.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: StackResetStateTable indexes four optional parameters during construction, so the added curriculum fixture raises KeyError before its assertions; use the defaults declared by call.
- Style consistency: Added prose misstates base-role placement and photometric noise, retains obsolete algorithm history, and omits observation frames and units; correct the contracts and remove stale comparisons.
- Test quality: Test quality looks good.
Significant concerns. Posted 20 inline findings.
Automated review; human maintainers own approval decisions.
[Medium impact] The reviewed changes appear safe to merge; no new blocking issues were found. SummaryAdds RGB-based Franka cube stacking with PPO and distillation from a state-based teacher, alongside shared reset and success checks.
No new actionable issues were found in the changes since the previous review. This review used source inspection; training and tests were not run. Reviews (2) · Last reviewed commit: "Synchronize all stacking review follow-u..." · Reviewed by Greptile |
|
The first-round review fixes are on this branch with both prerequisite slices. Reset perturbations are checked before restoration, and valid rows use the configured arm workspace. Camera calibration derives its nominal view from the sensor config, the noise configuration is separate from its runtime, and the joint-target observation lives with the other observations. We removed the stale speed and memory comments and verified observation layout, selected-reset potential, and post-reset RGB. The fixture with omitted reset parameters passes through the actual EventManager. ManagerBase resolves the declared callable defaults before creating the reset term, so adding fallback defaults in the constructor would create a second source. The reset event owns every write to the typed metadata. The nominal FK is specific to the stock authored Franka asset, where live Newton tool positions agreed within 0.6 µm across eight held resets. The explicit terminal order and time gate prevent the confirmed lifecycle mismatch and retain the configured horizon. |
Description
Add
IsaacContrib-Stack-Cube-Franka-RL-Camerafor RGB PPO andIsaacContrib-Stack-Cube-Franka-RL-Camera-Distillationfor a camera student trained from the state teacher in #9073. Both actors use a single fixed RGB camera and robot signals. The camera PPO critic and distillation teacher use privileged state. Training includes startup calibration variation and episode-consistent image noise.This is part 3 of #7735 and builds on the reset curriculum in #9072 and state PPO task in #9073. GitHub includes the dependency commits in the main-based view. Review the camera changes alone.
Validation
Both registered tasks completed one training update with Newton Warp rendering. Distillation loaded the state smoke run's checkpoint. After changing reset recipes with image noise disabled, the first returned RGB image changed with the scene. The teacher/student and image-noise tests passed. Isaac Sim RTX and OVRTX selectors were configuration-validated.