Datasets:
chore: normalize tsfile dataset metadata
Browse files
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- robotics
|
| 5 |
+
tags:
|
| 6 |
+
- LeRobot
|
| 7 |
+
- robotics
|
| 8 |
+
- timeseries
|
| 9 |
+
- tsfile
|
| 10 |
+
modality:
|
| 11 |
+
- timeseries
|
| 12 |
+
pretty_name: record-test_3 TsFile
|
| 13 |
+
configs:
|
| 14 |
+
- config_name: default
|
| 15 |
+
data_files:
|
| 16 |
+
- split: train
|
| 17 |
+
path: data/record_test_3_train.tsfile
|
| 18 |
+
size_categories:
|
| 19 |
+
- 10K<n<100K
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# record-test_3 TsFile
|
| 23 |
+
|
| 24 |
+
This dataset is a TsFile conversion of the LeRobot dataset
|
| 25 |
+
[`sunparticle/record-test_3`](https://huggingface.co/datasets/sunparticle/record-test_3).
|
| 26 |
+
The source dataset was created with [LeRobot](https://github.com/huggingface/lerobot)
|
| 27 |
+
and is licensed under `apache-2.0`.
|
| 28 |
+
|
| 29 |
+
## Dataset Details
|
| 30 |
+
|
| 31 |
+
- Source dataset: [`sunparticle/record-test_3`](https://huggingface.co/datasets/sunparticle/record-test_3)
|
| 32 |
+
- Source format: LeRobot `v2.1`
|
| 33 |
+
- Robot type: `so101_follower`
|
| 34 |
+
- Modalities: Time-series robot state and action data
|
| 35 |
+
- Source task: `place crown on capybara`
|
| 36 |
+
- Split: `train`
|
| 37 |
+
- Episodes: `40`
|
| 38 |
+
- Frames / rows: `17403`
|
| 39 |
+
- Tasks: `1`
|
| 40 |
+
- Sampling rate: `30 fps`
|
| 41 |
+
- Source videos: `40`
|
| 42 |
+
- Converted data file: `data/record_test_3_train.tsfile`
|
| 43 |
+
|
| 44 |
+
## TsFile Layout
|
| 45 |
+
|
| 46 |
+
The conversion writes one TsFile table for the train split:
|
| 47 |
+
`record_test_3_train`.
|
| 48 |
+
|
| 49 |
+
- `Time` is the TsFile time column in milliseconds.
|
| 50 |
+
- `episode_index` and `task_index` are TAG columns.
|
| 51 |
+
- `frame_index` and `sample_index` are scalar FIELD columns.
|
| 52 |
+
- `action_0` through `action_5` are flattened action FIELD columns.
|
| 53 |
+
- `observation_state_0` through `observation_state_5` are flattened observation FIELD columns.
|
| 54 |
+
|
| 55 |
+
Vector column flattening preserves the source column name, replaces `.` with
|
| 56 |
+
`_`, and appends the element index. For example, `observation.state` becomes
|
| 57 |
+
`observation_state_0` through `observation_state_5`.
|
| 58 |
+
|
| 59 |
+
## Conversion Notes
|
| 60 |
+
|
| 61 |
+
- `Time = round(timestamp * 1000)` and restarts per episode.
|
| 62 |
+
- The source `timestamp` column is dropped because it is represented by `Time / 1000` seconds.
|
| 63 |
+
- The source `index` column is renamed to `sample_index`.
|
| 64 |
+
- No numeric time-series rows are dropped; the converted TsFile has `17403` rows.
|
| 65 |
+
- Source `meta/` files are mirrored, with `meta/info.json` updated to describe the converted TsFile artifact.
|
| 66 |
+
- Videos are not uploaded here. The source video feature `observation.images.front`
|
| 67 |
+
and the `videos/` tree remain in the original dataset:
|
| 68 |
+
<https://huggingface.co/datasets/sunparticle/record-test_3/tree/main/videos>.
|
| 69 |
+
|
| 70 |
+
## Read Example
|
| 71 |
+
|
| 72 |
+
Use the Apache TsFile SDK or TsFile tools to read:
|
| 73 |
+
|
| 74 |
+
```text
|
| 75 |
+
data/record_test_3_train.tsfile
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
For episode-level filtering, query the table with the TAG column, for example
|
| 79 |
+
`WHERE episode_index = 0`.
|