Repository navigation
Fixes shadow hand data cloning and pink IK tests - #4855
Conversation
|
@michaellin6 for viz on the pink IK tests - not sure what triggered these threshold increases. let me know if it looks problematic. |
Greptile SummaryThis PR contains two targeted bug fixes: adding Key changes:
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["forward(x): input shape (N, H, W, C)"] --> B["x = x.permute(0, 3, 1, 2)\n→ non-contiguous view (N, C, H, W)"]
B --> C[".clone() ← NEW\nCreates contiguous copy\nsafe for in-place ops"]
C --> D{"ImageNet norm\nranges?"}
D -- "yes, for each range" --> E["x[:, start:end, :, :] =\ndata_transforms(...)"]
E --> D
D -- "done" --> F["cnn(x)"]
F --> G["linear(cnn_x.view(-1, 128))"]
G --> H["return output (N, 27)"]
Last reviewed commit: e815e42 |
| "pd_position": 0.002, | ||
| "rotation": 0.017, | ||
| "rotation": 0.030, |
There was a problem hiding this comment.
Significant position tolerance relaxation
The position tolerance was increased 8× (from 3 mm to 25 mm). As a result, the position tolerance is now 12.5× larger than pd_position (0.002), which is an unusually wide gap. While loosening tolerances is sometimes necessary to fix flaky tests across hardware configurations, a 25 mm position error is quite coarse for an IK acceptance test and could allow substantial regressions in controller accuracy to go undetected.
If the root cause of the test failure is nondeterminism or hardware variation, it may be worth:
- Investigating whether the solver's convergence criterion or step budget can be tuned instead of widening the acceptance band, or
- Adding a comment explaining the expected typical error magnitude and why 25 mm is the appropriate safety margin.
|
These changes are relaxing the accuracy tolerance on IK significantly. Not sure why this happened as the other change is unrelated. I'll look into why this is happening and address on a separate PR. |
Description
Minor fixes for recent test failures.
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there