Reality Check side-camera pose estimator
Snapshot sources and licences
perception/is from RA-1-618/reality-check-perception-stage-a, revision 13631ecf. See the MIT licence and the bundled torchvision BSD 3-Clause notice.lm/contains the text-only OpenAI GPT-OSS 20B, revision 6cee5e81 under the Apache 2.0 licence. The policy uses it only as a fallback to translate instructions to structured goals; the vision weights still locate the parts.
The original Stage A model card continues below.
This model locates seven fastener types and the fixture in the UR robot base frame. It uses two 640 脳 360 RGB side views and six joint angles. A full-image network estimates the scene. A second network crops a 96 脳 96 region around each proposed part in each view and refines its pose. Both checkpoints run in one policy call.
Accuracy
Both releases used the same 500 held-out public simulator seeds, 969 present parts, and a detection cutoff of 0.5. Recall and precision pool all seven classes. Position error includes every present part. It measures the worse head or tip error for a bolt and the centre error for a nut or washer.
| Original layout | Previous public release | This release |
|---|---|---|
| True positives / false positives / misses | 935 / 22 / 34 | 960 / 16 / 9 |
| Recall | 96.49% | 99.07% |
| Precision | 97.70% | 98.36% |
| Part position, median / P90 | 20.6 / 55.1 mm | 8.3 / 20.2 mm |
| Seat centre, median / P90 | 4.4 / 11.3 mm | 3.5 / 8.2 mm |
On the matched 60 mm negative-X layout shift, recall rose from 91.43% to 99.28%. Precision rose from 97.15% to 98.26%. Position error fell from 33.9 / 82.7 mm to 9.1 / 21.6 mm. The positive-X shift gave the largest P90 among the four tested directions, at 47.4 mm. Original layout 路 Negative X 路 Positive X 路 Negative Y 路 Positive Y
At the same cutoff, the newer coarse network alone had 98.97% recall and 98.87% precision. The refiner's largest gain was pose accuracy. The coarse network alone had 18.6 / 46.1 mm median / P90 part error.
Grasp performance
On the original layout, the model detected and localized 589 of 969 parts within 10 mm. In 12 closed-loop simulator trials, it physically lifted 11 parts. Detection failed after each of those lifts and none of the 12 insertions completed. The reported metrics cover simulated images. Real-cell accuracy remains unmeasured for this release.
Offline use
Download the full snapshot before the run. Start Python in the snapshot root so the code and weights come from the same revision.
from perception.coarse import CoarseEstimator
estimator = CoarseEstimator("perception", device="cuda")
prediction = estimator.predict(obs)
bolt = prediction["parts"]["bolt_m16x50"]
tray_centre_m = prediction["seats"]["tray"]["centre"]
The included configuration enables the crop refiner by default. Its loader verifies the coarse checkpoint's SHA-256. The two image keys are left and right. Each accepts a policy base64 JPEG, JPEG bytes, or a 360 脳 640 脳 3 RGB uint8 array. The six values in obs["proprio"]["joint_pos"] use radians. Each part has a presence probability, confidence, centre and axis. Bolts also have head and tip points. Nuts have a sixfold hex phase. All positions use metres.
For the scripted skill interface, use CameraPoses(weights="perception") from perception.camera_poses, call update(obs), then get(part_id) or get_seat(seat_id). Pass the planner's aliases and goals for instance-specific placement.
Combined inference took 9.9 ms median and 10.2 ms P90 on an RTX 5070 Laptop GPU across 40 warmed policy calls. Peak PyTorch allocation was 123 MiB. The runtime uses PyTorch, timm, NumPy, OpenCV and safetensors.
Checkpoint provenance
Both networks use ImageNet-initialized ResNet-18 features. The coarse model continued from the previous public checkpoint on 8,000 simulated training scenes. Validation selected epoch 16. The crop model used the same training pool and 15,609 positive part examples. Validation selected epoch 31 and a 0.5 weight on the stereo correction. The table below gives SHA-256 hashes of the distributed weight files.
| Checkpoint | SHA-256 |
|---|---|
| Coarse | 0dd887f37f004982d44a3d9aa82b2e0c50bb5c72001cbd0cb95ca35b88f615b9 |
| Crop refiner | 49a631a169b38429af013390650aece6c8372acf1eef098c822567c46d4568a8 |
The repository includes the project source licence and the upstream torchvision notice. The public simulator renders kit meshes derived from projectsim's SimReady Hardware. Previous public release 路 Torchvision ResNet-18 路 SimReady Hardware