THUgewu commited on
Commit
c2ae55e
·
verified ·
1 Parent(s): e7b2ca1

Add TsFile (converted from kumarhans/ethernetGrab6)

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/ethernetGrab6_lerobot.tsfile filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,74 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - tsfile
7
+ - timeseries
8
+ - time-series
9
+ - LeRobot
10
+ - robotics
11
+ - bimanual-manipulation
12
+ pretty_name: ethernetGrab6 (TsFile)
13
+ size_categories:
14
+ - 10K<n<100K
15
+ configs:
16
+ - config_name: default
17
+ data_files: data/*.tsfile
18
  ---
19
+
20
+ # ethernetGrab6 (TsFile)
21
+
22
+ Apache TsFile version of [`kumarhans/ethernetGrab6`](https://huggingface.co/datasets/kumarhans/ethernetGrab6).
23
+
24
+ ## Overview
25
+
26
+ A bimanual robot-manipulation dataset recorded with a `bi_xarm6_follower` setup
27
+ (two UFACTORY xArm6 arms, each with a gripper). The single task across the whole
28
+ dataset is **"Grab the cable and plug it in"** — picking up an Ethernet cable and
29
+ inserting it. It was created with [LeRobot](https://github.com/huggingface/lerobot)
30
+ (codebase version v2.1).
31
+
32
+ - **Scale:** 30 episodes, 47,857 frames total.
33
+ - **Sampling rate:** 30 fps.
34
+ - **Robot:** `bi_xarm6_follower` — dual xArm6, 14 DOF total (per arm: 6 joints + 1 gripper).
35
+ - **Task:** a single task, `task_index = 0` — "Grab the cable and plug it in".
36
+
37
+ ## Schema (TsFile structure)
38
+
39
+ - **Time** (INT64, milliseconds) — frame timestamp, `round(timestamp * 1000)`. It
40
+ restarts from 0 at the beginning of each episode (~33 ms between frames at 30 fps).
41
+ - **episode_index** (TAG) — which of the 30 episodes the row belongs to.
42
+ - **task_index** (TAG) — the task identifier (always `0` here).
43
+ Both tags form the TsFile device dimension; query one episode with
44
+ `WHERE episode_index=0`.
45
+ - **frame_index** (FIELD, INT64) — frame number within the episode.
46
+ - **sample_index** (FIELD, INT64) — the original global `index` column.
47
+ - **action_0 .. action_13** (FIELD, FLOAT) — the commanded target positions, 14
48
+ values: left arm joints 1–6, left gripper, then right arm joints 1–6, right gripper.
49
+ - **observation_state_0 .. observation_state_13** (FIELD, FLOAT) — the measured
50
+ joint/gripper positions, same 14-element layout as `action`.
51
+
52
+ The source `timestamp` column is dropped (it equals `Time ÷ 1000` seconds). Vector
53
+ columns are flattened single-precision FLOAT (`.` → `_`, element index appended,
54
+ the `observation.` prefix stripped).
55
+
56
+ ## Usage
57
+
58
+ Read the `.tsfile` files with the Apache TsFile Java or Python SDK.
59
+
60
+ ## Notes
61
+
62
+ - Camera video streams are **not** included in this repository. The original
63
+ dataset has 3 camera views (`observation.images.ego`, `observation.images.left_wrist`,
64
+ `observation.images.right_wrist`, 90 videos total) under its `videos/` directory —
65
+ see the original dataset for them.
66
+ - `meta/` from the source is mirrored alongside the data. Aside from the redundant
67
+ `timestamp` column noted above, no columns or rows are dropped.
68
+
69
+ ## Source & license
70
+
71
+ - Original dataset: https://huggingface.co/datasets/kumarhans/ethernetGrab6
72
+ - Author / publisher: kumarhans
73
+ - Paper: not declared by the original dataset.
74
+ - License: apache-2.0 (from the original dataset card).
data/ethernetGrab6_lerobot.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21db9b0c273134d64ffa22f79d06ce6a28dfd72f035b99280b386faafd03a5d4
3
+ size 1835697
meta/episodes.jsonl ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"episode_index": 0, "tasks": ["Grab the cable and plug it in"], "length": 1778}
2
+ {"episode_index": 1, "tasks": ["Grab the cable and plug it in"], "length": 1491}
3
+ {"episode_index": 2, "tasks": ["Grab the cable and plug it in"], "length": 1633}
4
+ {"episode_index": 3, "tasks": ["Grab the cable and plug it in"], "length": 1772}
5
+ {"episode_index": 4, "tasks": ["Grab the cable and plug it in"], "length": 1582}
6
+ {"episode_index": 5, "tasks": ["Grab the cable and plug it in"], "length": 1568}
7
+ {"episode_index": 6, "tasks": ["Grab the cable and plug it in"], "length": 1562}
8
+ {"episode_index": 7, "tasks": ["Grab the cable and plug it in"], "length": 1926}
9
+ {"episode_index": 8, "tasks": ["Grab the cable and plug it in"], "length": 1847}
10
+ {"episode_index": 9, "tasks": ["Grab the cable and plug it in"], "length": 1595}
11
+ {"episode_index": 10, "tasks": ["Grab the cable and plug it in"], "length": 1383}
12
+ {"episode_index": 11, "tasks": ["Grab the cable and plug it in"], "length": 1491}
13
+ {"episode_index": 12, "tasks": ["Grab the cable and plug it in"], "length": 1812}
14
+ {"episode_index": 13, "tasks": ["Grab the cable and plug it in"], "length": 1636}
15
+ {"episode_index": 14, "tasks": ["Grab the cable and plug it in"], "length": 1698}
16
+ {"episode_index": 15, "tasks": ["Grab the cable and plug it in"], "length": 1790}
17
+ {"episode_index": 16, "tasks": ["Grab the cable and plug it in"], "length": 1659}
18
+ {"episode_index": 17, "tasks": ["Grab the cable and plug it in"], "length": 1520}
19
+ {"episode_index": 18, "tasks": ["Grab the cable and plug it in"], "length": 1489}
20
+ {"episode_index": 19, "tasks": ["Grab the cable and plug it in"], "length": 1513}
21
+ {"episode_index": 20, "tasks": ["Grab the cable and plug it in"], "length": 1388}
22
+ {"episode_index": 21, "tasks": ["Grab the cable and plug it in"], "length": 1720}
23
+ {"episode_index": 22, "tasks": ["Grab the cable and plug it in"], "length": 1355}
24
+ {"episode_index": 23, "tasks": ["Grab the cable and plug it in"], "length": 1496}
25
+ {"episode_index": 24, "tasks": ["Grab the cable and plug it in"], "length": 1465}
26
+ {"episode_index": 25, "tasks": ["Grab the cable and plug it in"], "length": 1569}
27
+ {"episode_index": 26, "tasks": ["Grab the cable and plug it in"], "length": 1593}
28
+ {"episode_index": 27, "tasks": ["Grab the cable and plug it in"], "length": 1597}
29
+ {"episode_index": 28, "tasks": ["Grab the cable and plug it in"], "length": 1588}
30
+ {"episode_index": 29, "tasks": ["Grab the cable and plug it in"], "length": 1341}
meta/episodes_stats.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
meta/info.json ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v2.1",
3
+ "robot_type": "bi_xarm6_follower",
4
+ "total_episodes": 30,
5
+ "total_frames": 47857,
6
+ "total_tasks": 1,
7
+ "total_videos": 90,
8
+ "total_chunks": 1,
9
+ "chunks_size": 1000,
10
+ "fps": 30,
11
+ "splits": {
12
+ "train": "0:30"
13
+ },
14
+ "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
15
+ "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
16
+ "features": {
17
+ "action": {
18
+ "dtype": "float32",
19
+ "shape": [
20
+ 14
21
+ ],
22
+ "names": [
23
+ "left_joint1.pos",
24
+ "left_joint2.pos",
25
+ "left_joint3.pos",
26
+ "left_joint4.pos",
27
+ "left_joint5.pos",
28
+ "left_joint6.pos",
29
+ "left_gripper.pos",
30
+ "right_joint1.pos",
31
+ "right_joint2.pos",
32
+ "right_joint3.pos",
33
+ "right_joint4.pos",
34
+ "right_joint5.pos",
35
+ "right_joint6.pos",
36
+ "right_gripper.pos"
37
+ ]
38
+ },
39
+ "observation.state": {
40
+ "dtype": "float32",
41
+ "shape": [
42
+ 14
43
+ ],
44
+ "names": [
45
+ "left_joint1.pos",
46
+ "left_joint2.pos",
47
+ "left_joint3.pos",
48
+ "left_joint4.pos",
49
+ "left_joint5.pos",
50
+ "left_joint6.pos",
51
+ "left_gripper.pos",
52
+ "right_joint1.pos",
53
+ "right_joint2.pos",
54
+ "right_joint3.pos",
55
+ "right_joint4.pos",
56
+ "right_joint5.pos",
57
+ "right_joint6.pos",
58
+ "right_gripper.pos"
59
+ ]
60
+ },
61
+ "observation.images.ego": {
62
+ "dtype": "video",
63
+ "shape": [
64
+ 480,
65
+ 640,
66
+ 3
67
+ ],
68
+ "names": [
69
+ "height",
70
+ "width",
71
+ "channels"
72
+ ],
73
+ "info": {
74
+ "video.height": 480,
75
+ "video.width": 640,
76
+ "video.codec": "av1",
77
+ "video.pix_fmt": "yuv420p",
78
+ "video.is_depth_map": false,
79
+ "video.fps": 30,
80
+ "video.channels": 3,
81
+ "has_audio": false
82
+ }
83
+ },
84
+ "observation.images.left_wrist": {
85
+ "dtype": "video",
86
+ "shape": [
87
+ 480,
88
+ 640,
89
+ 3
90
+ ],
91
+ "names": [
92
+ "height",
93
+ "width",
94
+ "channels"
95
+ ],
96
+ "info": {
97
+ "video.height": 480,
98
+ "video.width": 640,
99
+ "video.codec": "av1",
100
+ "video.pix_fmt": "yuv420p",
101
+ "video.is_depth_map": false,
102
+ "video.fps": 30,
103
+ "video.channels": 3,
104
+ "has_audio": false
105
+ }
106
+ },
107
+ "observation.images.right_wrist": {
108
+ "dtype": "video",
109
+ "shape": [
110
+ 480,
111
+ 640,
112
+ 3
113
+ ],
114
+ "names": [
115
+ "height",
116
+ "width",
117
+ "channels"
118
+ ],
119
+ "info": {
120
+ "video.height": 480,
121
+ "video.width": 640,
122
+ "video.codec": "av1",
123
+ "video.pix_fmt": "yuv420p",
124
+ "video.is_depth_map": false,
125
+ "video.fps": 30,
126
+ "video.channels": 3,
127
+ "has_audio": false
128
+ }
129
+ },
130
+ "timestamp": {
131
+ "dtype": "float32",
132
+ "shape": [
133
+ 1
134
+ ],
135
+ "names": null
136
+ },
137
+ "frame_index": {
138
+ "dtype": "int64",
139
+ "shape": [
140
+ 1
141
+ ],
142
+ "names": null
143
+ },
144
+ "episode_index": {
145
+ "dtype": "int64",
146
+ "shape": [
147
+ 1
148
+ ],
149
+ "names": null
150
+ },
151
+ "index": {
152
+ "dtype": "int64",
153
+ "shape": [
154
+ 1
155
+ ],
156
+ "names": null
157
+ },
158
+ "task_index": {
159
+ "dtype": "int64",
160
+ "shape": [
161
+ 1
162
+ ],
163
+ "names": null
164
+ }
165
+ }
166
+ }
meta/tasks.jsonl ADDED
@@ -0,0 +1 @@
 
 
1
+ {"task_index": 0, "task": "Grab the cable and plug it in"}