sanskxr02 commited on
Commit
2af25fd
·
verified ·
1 Parent(s): dbef48f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +82 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - robotics
5
+ - reinforcement-learning
6
+ tags:
7
+ - act
8
+ - imitation-learning
9
+ - mujoco
10
+ - simulation
11
+ - aloha
12
+ size_categories:
13
+ - n<1K
14
+ ---
15
+
16
+ # 🦾 ACT Simulation Dataset (v2): Cube Sort
17
+
18
+ **A lightweight, randomized imitation learning dataset optimized for Action Chunking Transformers.**
19
+
20
+ <div align="center">
21
+ ![Cube Sort Training Video](https://github-production-user-asset-6210df.s3.amazonaws.com/71585678/520477863-ec1d9885-0d81-46a1-a29d-c0ef0e782fff.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20251201%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251201T004617Z&X-Amz-Expires=300&X-Amz-Signature=dd18d7f406bcc24fbd9ddde59686ea3984949a407477cf45acfd2e2f9a709370&X-Amz-SignedHeaders=host)
22
+ </div>
23
+
24
+
25
+ ## 📖 Overview
26
+ This dataset contains **228 episodes** of synthetic robot manipulation data generated using MuJoCo. It was created to train **Action Chunking Transformers (ACT)** on consumer hardware (specifically an Apple M2 MacBook Air).
27
+
28
+ Unlike "sterile" datasets that follow perfect straight lines, this **v2 dataset** utilizes **Domain Randomization** to ensure the policy learns robust correction behaviors rather than simple memorization.
29
+
30
+ - **Task:** A 4-DOF Robotic Arm picking up a cube and moving it to a specific target zone.
31
+ - **Hardware Virtualization:** Mimics the data structure of a real Dynamixel-based robot arm.
32
+ - **Goal:** Enable "Zero-to-Hero" training of Visuomotor Policies without NVIDIA H100s.
33
+
34
+ ## ⚙️ Dataset Specifications
35
+
36
+ | Feature | Details |
37
+ | :--- | :--- |
38
+ | **Episodes** | 228 (approx. 68,000 timesteps) |
39
+ | **Format** | `.hdf5` |
40
+ | **Simulation** | MuJoCo (via `dm_control` / `mujoco-py`) |
41
+ | **Robot** | Custom 4-DOF Arm (Base, Shoulder, Elbow, Wrist) |
42
+ | **Camera** | 1x Static Front Camera (480x640, RGB) |
43
+ | **Control Freq** | 50Hz |
44
+
45
+ ### 🧠 Data Structure (HDF5)
46
+ Each `.hdf5` file represents one full episode and contains:
47
+
48
+ - `observations/images/front`: `(T, 480, 640, 3)` - Raw RGB images.
49
+ - `observations/qpos`: `(T, 4)` - Joint positions (radians).
50
+ - `observations/qvel`: `(T, 4)` - Joint velocities.
51
+ - `action`: `(T, 4)` - Target joint positions for the next step.
52
+
53
+ ## 🛠️ How to Use
54
+
55
+ ### 1. Download & Unzip
56
+ This dataset is stored as a compressed ZIP file (`episodes-v2.zip`) to maintain directory structure.
57
+
58
+ ```python
59
+ from huggingface_hub import hf_hub_download
60
+ import zipfile
61
+ import os
62
+
63
+ # 1. Download
64
+ zip_path = hf_hub_download(
65
+ repo_id="sanskxr02/act_sim_cube_sort",
66
+ filename="episodes-v2.zip",
67
+ repo_type="dataset"
68
+ )
69
+
70
+ # 2. Extract
71
+ extract_path = "data/sim_cube_sort"
72
+ os.makedirs(extract_path, exist_ok=True)
73
+
74
+ with zipfile.ZipFile(zip_path, 'r') as zip_ref:
75
+ zip_ref.extractall(extract_path)
76
+
77
+ print(f"✅ Dataset ready at {extract_path}")
78
+
79
+
80
+
81
+
82
+