Rooholla commited on
Commit
849d8f7
·
verified ·
1 Parent(s): ecb3c97

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ *.hdf5 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -3,6 +3,161 @@ license: agpl-3.0
3
  task_categories:
4
  - robotics
5
  pretty_name: NYU Machines in Motion Lab
6
- size_categories:
7
- - 1B<n<10B
8
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  task_categories:
4
  - robotics
5
  pretty_name: NYU Machines in Motion Lab
6
+ tags:
7
+ - robot-learning
8
+ - manipulation
9
+ - imitation-learning
10
+ - offline-rl
11
+ - world-models
12
+ - dreamer
13
+ ---
14
+
15
+ # MiM Flexiv PushT Dataset
16
+
17
+ A real-robot dataset collected on a Flexiv Rizon 10S consisting of ~4 hours of (1) random play interactions and (2) push-to-goal episodes, with RGB observations at 5 Hz and 2D delta-position actions.
18
+
19
+ <p align="center">
20
+ <img src="assets/play-rollout.gif" width="35%" />
21
+ </p>
22
+
23
+ ## What’s inside
24
+
25
+ ### Tasks / subsets
26
+ This repository contains two related subsets:
27
+
28
+ - **Play (random interaction):**
29
+ - Unstructured episodes with no explicit start/end goals.
30
+ - Intended for representation learning, world modeling, and offline RL from diverse behavior.
31
+
32
+ - **Push-to-goal (task):**
33
+ - Each episode pushes a T-shaped object toward the **center of the board**.
34
+ - Intended for imitation learning, offline RL, and goal-conditioned learning (if you add goals).
35
+
36
+ ### Observation and action spaces
37
+ - **Observation (`images`)**
38
+ - RGB image at **5 Hz**
39
+ - Stored as `uint8` in the range `[0, 255]`
40
+ - Resolution: `256 x 256 x 3`
41
+ - Tensor shape per episode in HDF5: `1 x seq_len x 256 x 256 x 3`
42
+
43
+ - **Action (`actions`)**
44
+ - 2D delta position command in the board/camera plane: `(delta_x, delta_y)`
45
+ - Stored as `float32`
46
+ - Tensor shape per episode in HDF5: `1 x seq_len x 2`
47
+
48
+ ### Dataset scale (approx.)
49
+ - Total recording time: ~4 hours
50
+ - Frame rate: 5 Hz
51
+ - Approx. total frames: ~72,000 (4 * 3600 * 5)
52
+
53
+ > Note: Exact counts per split are provided in the metadata JSON shipped with each subset.
54
+
55
+ ## Data format and files
56
+
57
+ ### File layout
58
+ ```
59
+ .
60
+ ├── README.md
61
+ ├── assets/
62
+ │ └── preview.gif
63
+ ├── play/
64
+ │ ├── metadata.json
65
+ │ ├── shard_000.hdf5
66
+ │ ├── shard_001.hdf5
67
+ │ └── ...
68
+ └── task/
69
+ ├── metadata.json
70
+ ├── shard_000.hdf5
71
+ ├── shard_001.hdf5
72
+ └── ...
73
+ ```
74
+
75
+ ### HDF5 schema
76
+ Each HDF5 file contains two main datasets:
77
+ - `images`: shape `1 x seq_len x 256 x 256 x 3`, dtype `uint8`
78
+ - `actions`: shape `1 x seq_len x 2`, dtype `float32`
79
+
80
+ ### Metadata JSON schema
81
+ Each subset includes a `metadata.json` describing global stats and shapes. Example:
82
+ ```json
83
+ {
84
+ "num_shards": 13,
85
+ "episodes_per_shard": 1,
86
+ "total_episodes": 13,
87
+ "image_shape":,[256,256,3]
88
+ "action_shape":,[2]
89
+ "min_action": ,[min_1, min_2]
90
+ "max_action": ,[max_1, max_2]
91
+ }
92
+ ```
93
+
94
+ ## How to use
95
+ ### Quickstart (Python)
96
+ Below is a minimal example for loading one episode with h5py:
97
+ ```python
98
+ import h5py
99
+ import numpy as np
100
+
101
+ path = "play/shard_000.hdf5" # or "task/shard_000.hdf5"
102
+ with h5py.File(path, "r") as f:
103
+ images = f["images"] # (seq_len, 256, 256, 3), uint8
104
+ actions = f["actions"] # (seq_len, 2), float32
105
+
106
+ # Example: normalize images to float[4]
107
+ images_f = images.astype(np.float32) / 255.0
108
+ ```
109
+
110
+ ## DreamerV4 world model (simulator)
111
+ A DreamerV4 world model has been trained on this dataset to enable “simulated” policy training/evaluation inside a learned dynamics model.
112
+
113
+ World model link: [Here](https://github.com/machines-in-motion/dreamer-v4/tree/release)
114
+
115
+ **Notes:**
116
+
117
+ - The world model is provided for research convenience and may not perfectly capture real-world contacts/friction.
118
+
119
+ - Please report issues / inconsistencies via GitHub issues or the Hugging Face discussion tab.
120
+
121
+
122
+ ## Data collection details
123
+
124
+ - Platform: Flexiv Rizon 10S (real robot) in-lab setup
125
+
126
+ - Camera: Orbec Femto Bolt fixed view looking at the board with the T object
127
+
128
+ - Control/action logged: 2D delta position (x, y) per timestep
129
+
130
+ - Observation logged: RGB image at 5 Hz
131
+
132
+ - Play subset: random exploration / interaction
133
+
134
+ - Task subset: pushing T to board center
135
+
136
+
137
+ ## Limitations
138
+ - Actions are 2D deltas; they do not include full robot state, forces, or contact measurements.
139
+
140
+ - Camera viewpoint and lab conditions may limit generalization.
141
+
142
+ ## License
143
+ This dataset is released under AGPL-3.0.
144
+
145
+ ## Citation
146
+ If you use this dataset, please cite:
147
+
148
+ ```
149
+ text
150
+ @dataset{mim_pusht_2025,
151
+ title = {MiM Flexiv PushT Dataset},
152
+ author = {Rooholla Khorrambakht},
153
+ year = {2025},
154
+ url = {https://huggingface.co/datasets/Rooholla/MiM-PushT}
155
+ }
156
+ ```
157
+
158
+
159
+
160
+
161
+
162
+
163
+
assets/play-rollout.gif ADDED

Git LFS Details

  • SHA256: 70e72684441bbd1e81340482491d98a4acb568b6b3b396e4f62351714945a701
  • Pointer size: 133 Bytes
  • Size of remote file: 12.1 MB
play/metadata.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "num_shards": 13,
3
+ "episodes_per_shard": 1,
4
+ "total_episodes": 13,
5
+ "image_shape": [
6
+ 256,
7
+ 256,
8
+ 3
9
+ ],
10
+ "action_shape": [
11
+ 2
12
+ ],
13
+ "split": "success+failure"
14
+ }
play/shard_0000.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c23fcdf6fde15bac72ce783493a6bda1218cc1c8e4724b26fe2b7204cfa0e560
3
+ size 508192117
play/shard_0001.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4e1036b554867f5ee08c04d769ea8fc7efec7cfb426846d51498e523f7349b2
3
+ size 458318894
play/shard_0002.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c47b6aa9716a4394de976b2c1bbb7bfbeaa980f235727286a758085392a07bcf
3
+ size 344226345
play/shard_0003.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cc098b3755f690a02659f9d2d62e21f6836829522d64775bd279eeb14f63391
3
+ size 458671865
play/shard_0004.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38032d2e589211eff0ef232ef68b3fdff3f62403c7dabb9ffcf526b7f528fab9
3
+ size 458240376
play/shard_0005.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ed238b0ed57d6404def3cdb6c1c4da1a3c935c39d2d5ccb6912ffbc5844c37b
3
+ size 476144680
play/shard_0006.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b65c127839d15b097dd0d3aebf53c1f7f566d70d1064bf29df0b1fb17ed98210
3
+ size 458294191
play/shard_0007.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd494afea6bf31896626db8b1c3e3dfc065040fe5ca86349752ab9e8018d7b79
3
+ size 432886434
play/shard_0008.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ed364ab23d51bbab762f3c4fbf8fa6aed4d736f2eb000277d15144c3ec2f279
3
+ size 485973972
play/shard_0009.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68172a916255377528657eace8dda638c269fe4ecadbbe987c7aa04f6b0f5109
3
+ size 484025836
play/shard_0010.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c1e095a2adb060549da4ecec365e53f9b8b9585f85ebce65ce7ace48b979acc
3
+ size 456473925
play/shard_0011.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a60a2f62be84f81494911226cd697d5fd54acc574146ead32ad8cb76c247dae8
3
+ size 457541997
play/shard_0012.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee58d8d7a27a7cf78e84b07187a678ccddacbc01a63d39b5cff6a96c0e441eb7
3
+ size 471253672