dresser README
Browse files- dresser/README.md +44 -0
dresser/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dresser sim data (open top drawer)
|
| 2 |
+
|
| 3 |
+
Task: open the top drawer of `ithor_minimal_dresser` (asset `Drawer_b7714dd0`)
|
| 4 |
+
with the DROID arm + planner policy. One chunk = one slurm job = one 1-GPU shard.
|
| 5 |
+
|
| 6 |
+
## Layout
|
| 7 |
+
|
| 8 |
+
```
|
| 9 |
+
dresser/sim/chunk_NNN/
|
| 10 |
+
trajectories_batch_1_of_1_cam_rand.h5
|
| 11 |
+
episode_NNNNNNNN_exo_camera_1_robot_rgb_batch_1_of_1_cam_rand.mp4
|
| 12 |
+
episode_NNNNNNNN_wrist_camera_robot_rgb_batch_1_of_1_cam_rand.mp4
|
| 13 |
+
episode_NNNNNNNN_*_depth.npz
|
| 14 |
+
episode_NNNNNNNN_*_segmentation.npz
|
| 15 |
+
chunk_log.txt
|
| 16 |
+
```
|
| 17 |
+
|
| 18 |
+
Each chunk has a `chunk_log.txt` recording its setup (seed, node, args).
|
| 19 |
+
|
| 20 |
+
## Sim arguments
|
| 21 |
+
|
| 22 |
+
From `molmospaces/scripts/datagen/data_gen_dresser.sh`:
|
| 23 |
+
|
| 24 |
+
- scene_dataset: `ithor_minimal_dresser`
|
| 25 |
+
- target: drawer, `object_instance_index=0`, `joint_index=0` (top drawer)
|
| 26 |
+
- camera_extrinsics: `picked_camera_extrinsics.json` + pos noise 0.05, rot noise 5°
|
| 27 |
+
- base_pose_sampling_radius_range: 0.8–1.1 m
|
| 28 |
+
- base_pose_sampling_theta_range_rad: 1.6–2.8 (≈92°–160°, front-left wedge)
|
| 29 |
+
- robot_placement_rotation_range_rad: 0.5
|
| 30 |
+
- robot_base_z: 0.86 (with `z_jitter -0.2 -0.1` → effective 0.66–0.76 m)
|
| 31 |
+
- robot_init_qpos_noise_range: 0.4 on all 7 joints
|
| 32 |
+
|
| 33 |
+
## Pipeline
|
| 34 |
+
|
| 35 |
+
- Each chunk runs `run_pipeline_record_state.py` with `samples_per_house=12`,
|
| 36 |
+
`batch_num=1`, `total_batches=1`, `filter_for_successful_trajectories`.
|
| 37 |
+
- After sim exits, `check_chunk.py` verifies `T == exo_mp4_frames == wrist_mp4_frames`
|
| 38 |
+
for every traj. Chunk is pushed only if check passes.
|
| 39 |
+
- Push uses `huggingface_hub.HfApi.upload_folder` (one commit per chunk).
|
| 40 |
+
|
| 41 |
+
## Naming
|
| 42 |
+
|
| 43 |
+
- `chunk_NNN` where `NNN = SLURM_ARRAY_TASK_ID` (1-padded to 3 digits).
|
| 44 |
+
- `seed = 20000 + chunk_id`.
|