Repository navigation
Remove the Mimic failure cap for GR1 and G1 tutorials - #1801
Conversation
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryRemoves the 25-failure cap from the GR1 fridge and G1 locomotion-and-manipulation configurations.
Reviews (1) · Last reviewed commit: "fix mimic max num tries" · Reviewed by Greptile |
🤖 Isaac Lab-Arena Review BotSummaryThis PR sets Design, Boundaries & Scope
So since #1481, every config that applies the shared defaults can save a partial dataset without reporting an error:
Isaac Lab's Findings🟡 Warning: isaaclab_arena_environments/gr1_put_and_close_door_environment.py:120: This works around the shared default for one environment. Could we remove VerdictMinor fixes needed |
…1802) Remove the 25-failure cap from the GR1 fridge and G1 locomotion and manipulation tasks so Mimic keeps generating demonstrations until it reaches the requested success count. ## Why this change? The GR1 tutorial stopped after 51 of the 100 requested demos and exited with code 0. The G1 tutorial uses the same failure cap and can also produce a partial dataset. ## What changes? Set `max_num_failures = None` for both tasks. Failed attempts no longer end generation early. Runs can keep retrying indefinitely if no attempts succeed. ## Validation - GR1 reached 100 successes in 154 attempts. Verified that the exported HDF5 contains exactly 100 successful episodes. - Verified in Isaac Sim that the registered G1 tutorial configuration targets 100 successful demos with the failure cap disabled. Cherry-pick: #1801
Remove the 25-failure cap from the GR1 fridge and G1 locomotion and manipulation tasks so Mimic keeps generating demonstrations until it reaches the requested success count.
Why this change?
The GR1 tutorial stopped after 51 of the 100 requested demos and exited with code 0. The G1 tutorial uses the same failure cap and can also produce a partial dataset.
What changes?
Set
max_num_failures = Nonefor both tasks. Failed attempts no longer end generation early. Runs can keep retrying indefinitely if no attempts succeed.Validation