jzpeng commited on
Commit
98d2ca7
·
verified ·
1 Parent(s): bdd89c2

Add TsFile (converted from woohyunwoo/boxing_a_first_aid_kit)

Browse files
Files changed (1) hide show
  1. README.md +56 -26
README.md CHANGED
@@ -3,57 +3,87 @@ 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: Boxing a First Aid Kit (TsFile)
16
  size_categories:
17
  - 10K<n<100K
 
18
  configs:
19
  - config_name: default
20
  data_files:
21
  - split: train
22
  path: data/boxing_a_first_aid_kit_train.tsfile
23
  ---
24
-
25
  # Boxing a First Aid Kit (TsFile)
26
 
27
- Apache TsFile version of [`woohyunwoo/boxing_a_first_aid_kit`](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit). Modalities: Time-series.
 
 
 
 
 
 
28
 
29
- ## Overview
 
 
30
 
31
- This LeRobot dataset contains dual-arm SO100 demonstrations for the source task labeled `boxing_a_first_aid_kit`.
32
 
33
  ## Dataset Scale
34
 
35
- - 50 episodes, 48,777 frames, one task, sampled at 30 fps.
36
- - The `train` split contains 48,777 TsFile rows in `data/boxing_a_first_aid_kit_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/woohyunwoo/boxing_a_first_aid_kit/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 `_11` and `observation_state_0` through `_11` are FLOAT FIELD columns for the two SO100 arms.
48
 
49
- For example, select one device with `WHERE episode_index='0' AND task_index='0'`.
50
 
51
- ## Usage
 
52
 
53
- Read `data/boxing_a_first_aid_kit_train.tsfile` with the Apache TsFile Java or Python SDK.
 
 
 
54
 
55
- ## Source & license
56
 
57
- - Original dataset: https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit
58
- - Author / publisher: woohyunwoo
59
- - License: Apache-2.0
 
3
  task_categories:
4
  - robotics
5
  tags:
6
+ - LeRobot
7
+ - so100
8
+ - boxing a first aid kit
9
  - tsfile
10
+ - timeseries
11
  - time-series
12
  - robotics
13
  - modality:timeseries
 
 
 
 
 
 
14
  size_categories:
15
  - 10K<n<100K
16
+ modality: [timeseries]
17
  configs:
18
  - config_name: default
19
  data_files:
20
  - split: train
21
  path: data/boxing_a_first_aid_kit_train.tsfile
22
  ---
 
23
  # Boxing a First Aid Kit (TsFile)
24
 
25
+ Converted from [`woohyunwoo/boxing_a_first_aid_kit`](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit) at pinned revision [`392bd7088c2561c0d6fc7a11b7e652933c2ec56d`](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit/tree/392bd7088c2561c0d6fc7a11b7e652933c2ec56d). **Modalities: Time-series.**
26
+
27
+ ## Dataset description
28
+
29
+ This LeRobot v2.1 dataset contains dual-arm SO100 demonstrations for the source task labeled `boxing_a_first_aid_kit`.
30
+
31
+ The pinned task table contains one task: `boxing_a_first_aid_kit`.
32
 
33
+ - **Source repository owner/publisher:** woohyunwoo
34
+ - **License:** apache-2.0 (declared by the source card).
35
+ - **Paper/homepage/citation:** no completed paper, homepage, or citation is documented in the pinned source card unless linked above.
36
 
37
+ > **Source metadata note:** The source README embeds an older 22-episode/25,235-frame snapshot. Counts here use the pinned `meta/info.json`, 50 source episode Parquets, staged rows, and TsFile metadata.
38
 
39
  ## Dataset Scale
40
 
41
+ | Split | Episodes | Tasks | Source trajectory Parquets | TsFile rows | Sampling rate | TsFile files/shards |
42
+ |---|---:|---:|---:|---:|---:|---:|
43
+ | `train` | 50 | 1 | 50 | 48,777 | 30 Hz | 1 |
44
+
45
+ The staged Parquet has 48,777 rows and 29 columns including `Time`; TsFile chunk metadata independently reports the same 48,777 rows.
46
+
47
+ ## TsFile schema
48
+
49
+ | Column | Role | TsFile type | Observed/source range |
50
+ |---|---|---|---|
51
+ | `Time` | TIME | INT64 | 0–45,567 ms; restarts per episode |
52
+ | `episode_index` | TAG | STRING | source integer 0–49 |
53
+ | `task_index` | TAG | STRING | source integer 0–0 |
54
+ | `frame_index` | FIELD | INT64 | 0–1,367 within an episode |
55
+ | `sample_index` | FIELD | INT64 | 0–48,776 globally |
56
+
57
+ Exact remaining FIELD names/ranges and imported types:
58
+
59
+ - `action_0`–`action_11` (FLOAT): left and right shoulder pan/lift, elbow flex, wrist flex/roll, and gripper actions
60
+ - `observation_state_0`–`observation_state_11` (FLOAT): the corresponding 12 dual-arm state coordinates
61
 
62
+ ## Conversion
63
 
64
+ - All source episodes in the train split are merged into `data/boxing_a_first_aid_kit_train.tsfile`; `episode_index` and `task_index` are TAG dimensions.
65
+ - `Time = round(timestamp * 1000)` in milliseconds. The source `timestamp` column is omitted because it is redundant with `Time / 1000` seconds.
66
+ - `frame_index` is retained. Source `index` is retained as `sample_index`.
67
+ - 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.
68
+ - Other scalar source columns shown above are retained; no trajectory rows are intentionally dropped.
69
+ - Source metadata is mirrored for publication, with copied `meta/info.json` rewritten to describe the converted data path and conversion semantics.
70
 
71
+ ## Video policy
72
 
73
+ The pinned metadata declares 150 source videos across overview, left, and right cameras. MP4 files were not downloaded or uploaded; they remain in [the pinned source `videos/` tree](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit/tree/392bd7088c2561c0d6fc7a11b7e652933c2ec56d/videos).
 
 
 
74
 
75
+ ## Minimal read example
76
 
77
+ ```python
78
+ from tsfile import TsFileReader
79
 
80
+ reader = TsFileReader("data/boxing_a_first_aid_kit_train.tsfile")
81
+ print(reader.get_all_table_schemas().keys())
82
+ reader.close()
83
+ ```
84
 
85
+ ## Source and provenance
86
 
87
+ - Source dataset: [`woohyunwoo/boxing_a_first_aid_kit`](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit)
88
+ - Pinned source revision: [`392bd7088c2561c0d6fc7a11b7e652933c2ec56d`](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit/tree/392bd7088c2561c0d6fc7a11b7e652933c2ec56d)
89
+ - Converted artifact: `data/boxing_a_first_aid_kit_train.tsfile`