Repository navigation
Evaluate the GR00T workflow pages with Experiments - #1702
Conversation
049ff40 to
4f91bc8
Compare
[Medium impact] The PR appears safe to merge. SummaryMoves the GR00T evaluation tutorials to
No actionable issues were found. Reviews (1) · Last reviewed commit: "Evaluate the locomanipulation GR00T work..." · Reviewed by Greptile |
🤖 Isaac Lab-Arena Review BotSummaryThis PR changes the GR00T evaluation steps on the sequential static manipulation and locomanipulation pages from Findings🟡 Warning: 🔵 Improvement: Test Coverage and CI CostThe "Build the docs (pre-merge)" check was skipped for this head commit. I checked the VerdictMinor fixes needed |
alexmillane
left a comment
There was a problem hiding this comment.
LGTM. Thanks for doing that!
Replace the policy_runner.py commands on the sequential static manipulation evaluation page with experiment_runner.py and two new Experiment files. The multi-object step uses the asset selection variation instead of an object set, so each bottle gets its own success rate. Sample outputs come from running these Experiments on main with the pre-trained checkpoint. Signed-off-by: Clemens Volk <cvolk@nvidia.com>
Replace the policy_runner.py commands on the locomanipulation evaluation page with experiment_runner.py and a new Experiment file. The parallel step now keeps 1500 steps instead of 1200. An episode times out after 1500 steps, so with 1200 steps the attempts that time out never counted and the sample showed a success rate of 1.0. The device note now matches the commands, which run physics on the GPU. Signed-off-by: Clemens Volk <cvolk@nvidia.com>
4f91bc8 to
a69acc7
Compare
Replace the
policy_runner.pycommands on the GR00T evaluation pages of the sequential static manipulation and locomanipulation workflows withexperiment_runner.pyand three new Experiment files. Replace the sample outputs with output from running these Experiments.Why this change?
Experiments run with
experiment_runner.pyare becoming the only way to evaluate, but these two tutorial pages still usepolicy_runner.py. This is the follow-up promised in #1459.The sample outputs were also out of date. On current
main, the oldpolicy_runner.pycommand for the 10-environment sequential step reaches a success rate of 0.73 over 45 episodes, where the page showed 0.98. The Experiment version reaches 0.83 over 46 episodes.What changes?
gr1_put_ranch_bottle_in_fridge_gr00t_experiment.yamlhas one Run for Steps 1 and 2 of the sequential page. Step 2 sets 10 environments on the command line withruns.gr1_put_ranch_bottle_in_fridge_and_close_door.environment_builder.num_envs=10.gr1_put_sauce_bottles_in_fridge_gr00t_experiment.yamlreplaces--object_setin Step 3 with the asset selection variation. The Run builds the scene once per bottle and reports a success rate for each bottle. Before, each parallel environment held a different bottle and the page showed one combined rate.g1_locomanip_gr00t_experiment.yamlhas one Run for both locomanipulation steps.--device cpu, but neither the old nor the new commands do. It now says the commands run physics on the GPU, and that--device cpuswitches to CPU physics.experiment_runner.py. Its intro now builds on Steps 1 to 3.checkpoint-30000. A sentence next to the server command now says to serve that checkpoint after training with that option, because that training also keepscheckpoint-20000.Validation
I ran every command on both pages in the Arena Docker image built from
main. The GR00T server ran from the Isaac-GR00T submodule with the pre-trained checkpoints from Hugging Face. All Runs completed:For comparison, the old
policy_runner.pycommands onmaingave 0.73 over 45 episodes for sequential Step 2. For locomanipulation Step 2 at 1200 steps they gave 1.0 over 2 episodes, the same result as the Experiment with those settings.A 100-step locomanipulation run with
--device cpucompleted with the environment on the CPU.I did not re-run sequential Step 4, because its Experiment file and command did not change.
After #1456 removed the metrics, I rebased onto
mainand re-rendered the sample outputs in the new Run table format. The tables come frombuild_runs_info_tableandbuild_categorical_variation_tableonmain, applied to the saved episode results of the runs above. The numbers did not change. The three Experiment files load withmain's loader, and the docs build with-Wpasses.