SWEEP-Bench / README.md
Damin3927's picture
Correct the dataset card and drop the root ranges.json
15c180a verified
|
Raw History Blame Contribute Delete
9.05 kB
---
license: cc-by-nc-4.0
task_categories:
- robotics
tags:
- LeRobot
- manipulation
- conveyor
- moving-objects
pretty_name: SWEEP-Bench
size_categories:
- 1M<n<10M
---
# SWEEP-Bench demonstrations
Training demonstrations for SWEEP-Bench, a simulation benchmark of robot manipulation on a moving conveyor belt.
There are 80 tasks in 16 skill categories, and each task is evaluated at 13 belt speeds from 0.10 to 0.40 m/s.
This dataset has 200 successful scripted-expert demonstrations per task, 16,000 episodes and
1,259,153 frames in total, at 20 fps. Belt speeds are drawn uniformly from 0.10–0.40 m/s, 20
episodes in each of ten equal-width bins per task, and the belt runs either way.
- Code and evaluation: https://github.com/Damin3927/SWEEP-Bench
## What is in an episode
The robot is a Franka Panda with a wrist camera. Each frame has:
| field | shape | content |
|---|---|---|
| `exterior_image_1_left` | 224×224×3 | three fixed cameras in one image: the two side views on top (112×112 each), the head view below (224×112) |
| `wrist_image_left` | 224×224×3 | wrist camera |
| `joint_position` | 7 | arm joint positions (rad) |
| `gripper_position` | 1 | gripper opening, 0 = closed, 1 = open |
| `actions` | 8 | target joint positions (rad) and the gripper command (0 = closed, 1 = open) |
| `timestamp`, `frame_index`, `episode_index`, `index`, `task_index` | 1 | LeRobot bookkeeping |
The language instruction of each episode is in `meta/tasks.jsonl` (387 distinct instructions).
`meta/bench_episode_provenance.jsonl` records, per episode, the belt speed (`belt_speed`, m/s) and direction, the
background, the object and the seeds.
## Files
The layout is LeRobot v2.1: one Parquet file per episode under `data/chunk-XXX/`, with the images stored in the
file, and the usual `meta/` files. `meta/ranges.json` lists each task's episode range and collection settings.
```python
import pandas as pd
from huggingface_hub import hf_hub_download
path = hf_hub_download("Damin3927/SWEEP-Bench", "data/chunk-000/episode_000000.parquet", repo_type="dataset")
episode = pd.read_parquet(path)
```
## Tasks
| category | task | gym id | episodes | frames |
|---|---|---|---|---|
| Reach | Moving-target reach (diagnostic) | `ConveyorReach-v0` | 10200–10399 | 9,804 |
| Reach | Scanner aim (diagnostic) | `ConveyorScanAim-v0` | 11400–11599 | 10,844 |
| Pick | Belt grasp | `ConveyorAppleGrasp-v0` | 0–199 | 17,040 |
| Pick | Crushable-shell pick | `ConveyorCrushLimitPick-v0` | 2400–2599 | 15,735 |
| Pick | Handle grasp | `ConveyorHandleGrasp-v0` | 6000–6199 | 17,893 |
| Pick | Hanging-load settle | `ConveyorSwingLoad-v0` | 13800–13999 | 19,034 |
| Pick | Keyed-part lift | `ConveyorKeySlot-v0` | 6800–6999 | 13,690 |
| Pick | Loaded-tray lift | `ConveyorTrayLift-v0` | 14800–14999 | 18,389 |
| Pick | Named-object pick | `ConveyorNamedPick-v0` | 7600–7799 | 17,709 |
| Pick | Ordinal pick | `ConveyorOrderPick-v0` | 8000–8199 | 17,845 |
| Pick | Packed-cluster pick | `ConveyorHeapPick-v0` | 6200–6399 | 13,095 |
| Pick | Plowed-lane pick | `ConveyorDivertPick-v0` | 3200–3399 | 17,617 |
| Pick | Plug-lid lift | `ConveyorUncover-v0` | 15400–15599 | 14,787 |
| Pick | Rotating-table pick | `ConveyorTurntablePick-v0` | 15200–15399 | 13,686 |
| Pick | Sheet-edge pick | `ConveyorSheetEdgePick-v0` | 12200–12399 | 15,258 |
| Pick | Tote unload | `ConveyorToteUnload-v0` | 14600–14799 | 14,117 |
| Place | Arch-clearance load | `ConveyorClearArch-v0` | 1600–1799 | 13,133 |
| Place | Belt pick-and-place | `ConveyorPickPlace-v0` | 8800–8999 | 26,124 |
| Place | Corner belt transfer | `ConveyorBeltCorner-v0` | 400–599 | 25,094 |
| Place | Counter-flow belt swap | `ConveyorBeltSwap-v0` | 600–799 | 23,603 |
| Place | Even two-pad load | `ConveyorEvenLoad-v0` | 4600–4799 | 15,522 |
| Place | Flawed-part cull | `ConveyorCullFlawed-v0` | 2600–2799 | 25,331 |
| Place | Fruit drop | `ConveyorFruitDrop-v0` | 5600–5799 | 13,894 |
| Place | Gentle set-down | `ConveyorSoftSet-v0` | 13200–13399 | 14,102 |
| Place | Kit-cell fill | `ConveyorKitFill-v0` | 7000–7199 | 15,290 |
| Place | Named-patch cover | `ConveyorPatchCover-v0` | 8400–8599 | 14,318 |
| Place | Overhang recenter | `ConveyorEdgeRecenter-v0` | 4400–4599 | 20,301 |
| Place | Rail balance | `ConveyorRailBalance-v0` | 9800–9999 | 14,650 |
| Place | Ramp roll | `ConveyorRampRoll-v0` | 10000–10199 | 11,550 |
| Place | Reader presentation | `ConveyorReadPresent-v0` | 10400–10599 | 29,486 |
| Place | Relative place | `ConveyorRelPlace-v0` | 10600–10799 | 14,346 |
| Place | Topping onto cake | `ConveyorCakeTop-v0` | 800–999 | 14,613 |
| Place | Tray-to-bin transfer | `ConveyorTrayToBin-v0` | 15000–15199 | 15,658 |
| Insert | Axle seat | `ConveyorAxleSeat-v0` | 200–399 | 14,192 |
| Insert | Depth-metered insert | `ConveyorMeterInsert-v0` | 7400–7599 | 8,699 |
| Insert | Divider-gap lower | `ConveyorGapThread-v0` | 5800–5999 | 11,465 |
| Insert | Dual-pin register | `ConveyorDualPin-v0` | 4000–4199 | 12,531 |
| Insert | Flap-bin post | `ConveyorFlapPost-v0` | 5000–5199 | 13,097 |
| Insert | Flush-depth fit | `ConveyorFlushFit-v0` | 5400–5599 | 13,683 |
| Insert | Hex-bit alignment | `ConveyorHexSocket-v0` | 6400–6599 | 10,621 |
| Insert | Shim under clip | `ConveyorClipCard-v0` | 1800–1999 | 10,125 |
| Insert | Shrouded oblique bore | `ConveyorShroudBore-v0` | 12600–12799 | 8,058 |
| Insert | Sideways keyway insert | `ConveyorSideInsert-v0` | 12800–12999 | 10,852 |
| Hang | Saddle on rail | `ConveyorHookRail-v0` | 6600–6799 | 14,050 |
| Hang | Washer on leaning post | `ConveyorRingHangTilt-v0` | 11000–11199 | 11,833 |
| Hang | Washer on post | `ConveyorRingHang-v0` | 10800–10999 | 13,694 |
| Press | Button press | `ConveyorPressButton-v0` | 9400–9599 | 11,367 |
| Press | Cap press-fit | `ConveyorCapPress-v0` | 1000–1199 | 14,166 |
| Press | Color-named press | `ConveyorColorPress-v0` | 2200–2399 | 11,956 |
| Press | Label press | `ConveyorSideLabel-v0` | 13000–13199 | 10,603 |
| Press | Rocker toggle | `ConveyorRockerToggle-v0` | 11200–11399 | 12,405 |
| Press | Sequenced press | `ConveyorSeqPress-v0` | 12000–12199 | 13,272 |
| Press | Snap-dome stamp | `ConveyorStampSeal-v0` | 13600–13799 | 10,221 |
| Press | Tare then load | `ConveyorTareLoad-v0` | 14000–14199 | 36,189 |
| Push | Block topple | `ConveyorTopple-v0` | 14400–14599 | 18,123 |
| Push | Cover swipe-off | `ConveyorCapSwipe-v0` | 1200–1399 | 16,808 |
| Push | Drawer close | `ConveyorDrawerClose-v0` | 3600–3799 | 14,192 |
| Push | Selector set | `ConveyorSelectorSet-v0` | 11800–11999 | 16,069 |
| Push | Slab squaring | `ConveyorEdgeFlush-v0` | 4200–4399 | 15,588 |
| Pull | Drawer open | `ConveyorDrawerOpen-v0` | 3800–3999 | 15,075 |
| Pull | Peg pull | `ConveyorPegPull-v0` | 8600–8799 | 13,787 |
| Pull | Retaining-pin pull | `ConveyorPinRelease-v0` | 9000–9199 | 14,755 |
| Pull | Starter-cord pull | `ConveyorPullCord-v0` | 9600–9799 | 13,509 |
| Open | Lid flip | `ConveyorFlipLid-v0` | 5200–5399 | 15,949 |
| Close | Cabinet-door close | `ConveyorDoorClose-v0` | 3400–3599 | 15,180 |
| Rotate | Angle match | `ConveyorMatchAngle-v0` | 7200–7399 | 11,863 |
| Rotate | Bottle upright | `ConveyorUprightBottle-v0` | 15600–15799 | 32,503 |
| Rotate | Commanded face up | `ConveyorFaceUp-v0` | 4800–4999 | 30,144 |
| Rotate | Needle set | `ConveyorClockHand-v0` | 2000–2199 | 14,408 |
| Rotate | Sole-down place | `ConveyorShoeMat-v0` | 12400–12599 | 14,178 |
| Rotate | Yaw-keyed place | `ConveyorOrientPlace-v0` | 8200–8399 | 16,458 |
| Screw | Wing-nut run-down | `ConveyorNutRunDown-v0` | 7800–7999 | 17,474 |
| Hold | Cart coupling hold | `ConveyorCartCouple-v0` | 1400–1599 | 15,348 |
| Hold | Depth-band hold | `ConveyorDepthBand-v0` | 3000–3199 | 12,149 |
| Hold | Spring-tab hold | `ConveyorSpringHold-v0` | 13400–13599 | 12,919 |
| Pour | Bead pour | `ConveyorPourFill-v0` | 9200–9399 | 12,539 |
| Pour | Cup decant | `ConveyorDecant-v0` | 2800–2999 | 32,442 |
| Wipe | Surface wipe | `ConveyorWipeBoard-v0` | 15800–15999 | 14,021 |
| Tool use | Ball scoop | `ConveyorScoopBall-v0` | 11600–11799 | 15,733 |
| Tool use | Ring pass-through | `ConveyorThreadLoop-v0` | 14200–14399 | 11,302 |
## Scenes
Every episode is recorded in a randomized scene: background, lighting, textures, camera placement and clutter
change, and the background changes every 8 episodes.
| background | scenes | episodes |
|---|---|---|
| ReplicaCAD apartments (CC BY-NC 4.0) | 90 | 7,926 |
| RoboCasa kitchens (CC BY 4.0) | 84 | 6,907 |
| ArchitecTHOR houses (Apache 2.0) | 10 | 1,031 |
| plain table scene | 1 | 136 |
## License
CC BY-NC 4.0. The assets keep their own terms:
RoboCasa scenes and objects, the YCB Object and Model Set and Google Scanned Objects (CC BY 4.0); ArchitecTHOR
scenes (Apache 2.0); Poly Haven objects, and Poly Haven and ambientCG materials (CC0); procedural objects built by the code
(MIT).