jzpeng's picture
Add TsFile (converted from woohyunwoo/boxing_a_first_aid_kit)
98d2ca7 verified
|
Raw
History Blame Contribute Delete
4.12 kB
---
license: apache-2.0
task_categories:
- robotics
tags:
- LeRobot
- so100
- boxing a first aid kit
- tsfile
- timeseries
- time-series
- robotics
- modality:timeseries
size_categories:
- 10K<n<100K
modality: [timeseries]
configs:
- config_name: default
data_files:
- split: train
path: data/boxing_a_first_aid_kit_train.tsfile
---
# Boxing a First Aid Kit (TsFile)
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.**
## Dataset description
This LeRobot v2.1 dataset contains dual-arm SO100 demonstrations for the source task labeled `boxing_a_first_aid_kit`.
The pinned task table contains one task: `boxing_a_first_aid_kit`.
- **Source repository owner/publisher:** woohyunwoo
- **License:** apache-2.0 (declared by the source card).
- **Paper/homepage/citation:** no completed paper, homepage, or citation is documented in the pinned source card unless linked above.
> **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.
## Dataset Scale
| Split | Episodes | Tasks | Source trajectory Parquets | TsFile rows | Sampling rate | TsFile files/shards |
|---|---:|---:|---:|---:|---:|---:|
| `train` | 50 | 1 | 50 | 48,777 | 30 Hz | 1 |
The staged Parquet has 48,777 rows and 29 columns including `Time`; TsFile chunk metadata independently reports the same 48,777 rows.
## TsFile schema
| Column | Role | TsFile type | Observed/source range |
|---|---|---|---|
| `Time` | TIME | INT64 | 0–45,567 ms; restarts per episode |
| `episode_index` | TAG | STRING | source integer 0–49 |
| `task_index` | TAG | STRING | source integer 0–0 |
| `frame_index` | FIELD | INT64 | 0–1,367 within an episode |
| `sample_index` | FIELD | INT64 | 0–48,776 globally |
Exact remaining FIELD names/ranges and imported types:
- `action_0``action_11` (FLOAT): left and right shoulder pan/lift, elbow flex, wrist flex/roll, and gripper actions
- `observation_state_0``observation_state_11` (FLOAT): the corresponding 12 dual-arm state coordinates
## Conversion
- 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.
- `Time = round(timestamp * 1000)` in milliseconds. The source `timestamp` column is omitted because it is redundant with `Time / 1000` seconds.
- `frame_index` is retained. Source `index` is retained as `sample_index`.
- 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.
- Other scalar source columns shown above are retained; no trajectory rows are intentionally dropped.
- Source metadata is mirrored for publication, with copied `meta/info.json` rewritten to describe the converted data path and conversion semantics.
## Video policy
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).
## Minimal read example
```python
from tsfile import TsFileReader
reader = TsFileReader("data/boxing_a_first_aid_kit_train.tsfile")
print(reader.get_all_table_schemas().keys())
reader.close()
```
## Source and provenance
- Source dataset: [`woohyunwoo/boxing_a_first_aid_kit`](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit)
- Pinned source revision: [`392bd7088c2561c0d6fc7a11b7e652933c2ec56d`](https://huggingface.co/datasets/woohyunwoo/boxing_a_first_aid_kit/tree/392bd7088c2561c0d6fc7a11b7e652933c2ec56d)
- Converted artifact: `data/boxing_a_first_aid_kit_train.tsfile`