jzpeng commited on
Commit
d557d33
·
verified ·
1 Parent(s): 4478213

Add TsFile (converted from DorayakiLin/yzw_so100_stack_cube_v4)

Browse files
Files changed (1) hide show
  1. README.md +57 -26
README.md CHANGED
@@ -3,57 +3,88 @@ license: apache-2.0
3
  task_categories:
4
  - robotics
5
  tags:
 
 
 
 
6
  - tsfile
 
7
  - time-series
8
  - robotics
9
  - modality:timeseries
10
- - library:datasets
11
- - library:pandas
12
- - library:polars
13
- modality:
14
- - timeseries
15
- pretty_name: YZW SO100 Stack Cube V4 (TsFile)
16
  size_categories:
17
  - 10K<n<100K
 
18
  configs:
19
  - config_name: default
20
  data_files:
21
  - split: train
22
  path: data/yzw_so100_stack_cube_v4_train.tsfile
23
  ---
24
-
25
  # YZW SO100 Stack Cube V4 (TsFile)
26
 
27
- Apache TsFile version of [`DorayakiLin/yzw_so100_stack_cube_v4`](https://huggingface.co/datasets/DorayakiLin/yzw_so100_stack_cube_v4). Modalities: Time-series.
 
 
 
 
 
 
28
 
29
- ## Overview
 
 
30
 
31
- This LeRobot SO100 dataset contains demonstrations for picking up the red cube and stacking it on the green cube.
32
 
33
  ## Dataset Scale
34
 
35
- - 200 episodes, 95,833 frames, one task, sampled at 30 fps.
36
- - The `train` split contains 95,833 TsFile rows in `data/yzw_so100_stack_cube_v4_train.tsfile`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
- ## Conversion details
39
 
40
- `Time` is `round(timestamp * 1000)` in milliseconds. The source `timestamp` column is therefore not stored as a separate FIELD; `frame_index` is retained and source `index` is named `sample_index`. Camera videos are not included in this time-series repository and remain in the [original dataset](https://huggingface.co/datasets/DorayakiLin/yzw_so100_stack_cube_v4/tree/main/videos).
 
 
 
 
 
41
 
42
- ## Schema (TsFile structure)
43
 
44
- - `Time` (INT64, milliseconds) is the per-episode sample time.
45
- - `episode_index` and `task_index` are TAG columns identifying the device series.
46
- - `frame_index` and `sample_index` are INT64 FIELD columns.
47
- - `action_0` through `_5` and `observation_state_0` through `_5` are FLOAT FIELD columns for the SO100 joints.
48
 
49
- For example, select one device with `WHERE episode_index='0' AND task_index='0'`.
50
 
51
- ## Usage
 
52
 
53
- Read `data/yzw_so100_stack_cube_v4_train.tsfile` with the Apache TsFile Java or Python SDK.
 
 
 
54
 
55
- ## Source & license
56
 
57
- - Original dataset: https://huggingface.co/datasets/DorayakiLin/yzw_so100_stack_cube_v4
58
- - Author / publisher: DorayakiLin
59
- - License: Apache-2.0
 
3
  task_categories:
4
  - robotics
5
  tags:
6
+ - LeRobot
7
+ - so100
8
+ - stack_cube
9
+ - v4
10
  - tsfile
11
+ - timeseries
12
  - time-series
13
  - robotics
14
  - modality:timeseries
 
 
 
 
 
 
15
  size_categories:
16
  - 10K<n<100K
17
+ modality: [timeseries]
18
  configs:
19
  - config_name: default
20
  data_files:
21
  - split: train
22
  path: data/yzw_so100_stack_cube_v4_train.tsfile
23
  ---
 
24
  # YZW SO100 Stack Cube V4 (TsFile)
25
 
26
+ Converted from [`DorayakiLin/yzw_so100_stack_cube_v4`](https://huggingface.co/datasets/DorayakiLin/yzw_so100_stack_cube_v4) at pinned revision [`da7c2ecf66ab30bff1ee455a83efc83b37a7781c`](https://huggingface.co/datasets/DorayakiLin/yzw_so100_stack_cube_v4/tree/da7c2ecf66ab30bff1ee455a83efc83b37a7781c). **Modalities: Time-series.**
27
+
28
+ ## Dataset description
29
+
30
+ This LeRobot v2.1 SO100 dataset records demonstrations of picking up a red cube and stacking it on a green cube.
31
+
32
+ The pinned task instruction is: “Pick up the red cube and stack it on the green cube.”
33
 
34
+ - **Source repository owner/publisher:** DorayakiLin
35
+ - **License:** apache-2.0 (declared by the source card).
36
+ - **Paper/homepage/citation:** no completed paper, homepage, or citation is documented in the pinned source card unless linked above.
37
 
38
+ > **Source metadata note:** The source README embeds an older 20-episode/9,692-frame snapshot. Counts here use the pinned `meta/info.json`, 200 source episode Parquets, staged rows, and TsFile metadata.
39
 
40
  ## Dataset Scale
41
 
42
+ | Split | Episodes | Tasks | Source trajectory Parquets | TsFile rows | Sampling rate | TsFile files/shards |
43
+ |---|---:|---:|---:|---:|---:|---:|
44
+ | `train` | 200 | 1 | 200 | 95,833 | 30 Hz | 1 |
45
+
46
+ The staged Parquet has 95,833 rows and 17 columns including `Time`; TsFile chunk metadata independently reports the same 95,833 rows.
47
+
48
+ ## TsFile schema
49
+
50
+ | Column | Role | TsFile type | Observed/source range |
51
+ |---|---|---|---|
52
+ | `Time` | TIME | INT64 | 0–20,333 ms; restarts per episode |
53
+ | `episode_index` | TAG | STRING | source integer 0–199 |
54
+ | `task_index` | TAG | STRING | source integer 0–0 |
55
+ | `frame_index` | FIELD | INT64 | 0–610 within an episode |
56
+ | `sample_index` | FIELD | INT64 | 0–95,832 globally |
57
+
58
+ Exact remaining FIELD names/ranges and imported types:
59
+
60
+ - `action_0`–`action_5` (FLOAT): main shoulder pan/lift, elbow flex, wrist flex/roll, and gripper action
61
+ - `observation_state_0`–`observation_state_5` (FLOAT): the corresponding SO100 state
62
 
63
+ ## Conversion
64
 
65
+ - All source episodes in the train split are merged into `data/yzw_so100_stack_cube_v4_train.tsfile`; `episode_index` and `task_index` are TAG dimensions.
66
+ - `Time = round(timestamp * 1000)` in milliseconds. The source `timestamp` column is omitted because it is redundant with `Time / 1000` seconds.
67
+ - `frame_index` is retained. Source `index` is retained as `sample_index`.
68
+ - Every vector is fully flattened: the complete source name is kept, `.` becomes `_`, and element indices are appended. Float vectors are imported as single-precision FLOAT fields.
69
+ - Other scalar source columns shown above are retained; no trajectory rows are intentionally dropped.
70
+ - Source metadata is mirrored for publication, with copied `meta/info.json` rewritten to describe the converted data path and conversion semantics.
71
 
72
+ ## Video policy
73
 
74
+ The pinned metadata declares 600 source videos across wrist, top, and third camera streams. MP4 files were not downloaded or uploaded; they remain in [the pinned source `videos/` tree](https://huggingface.co/datasets/DorayakiLin/yzw_so100_stack_cube_v4/tree/da7c2ecf66ab30bff1ee455a83efc83b37a7781c/videos).
 
 
 
75
 
76
+ ## Minimal read example
77
 
78
+ ```python
79
+ from tsfile import TsFileReader
80
 
81
+ reader = TsFileReader("data/yzw_so100_stack_cube_v4_train.tsfile")
82
+ print(reader.get_all_table_schemas().keys())
83
+ reader.close()
84
+ ```
85
 
86
+ ## Source and provenance
87
 
88
+ - Source dataset: [`DorayakiLin/yzw_so100_stack_cube_v4`](https://huggingface.co/datasets/DorayakiLin/yzw_so100_stack_cube_v4)
89
+ - Pinned source revision: [`da7c2ecf66ab30bff1ee455a83efc83b37a7781c`](https://huggingface.co/datasets/DorayakiLin/yzw_so100_stack_cube_v4/tree/da7c2ecf66ab30bff1ee455a83efc83b37a7781c)
90
+ - Converted artifact: `data/yzw_so100_stack_cube_v4_train.tsfile`