Datasets:
Add TsFile dataset card
Browse files
README.md
CHANGED
|
@@ -1,3 +1,100 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
authors:
|
| 4 |
+
- makermods
|
| 5 |
+
task_categories:
|
| 6 |
+
- robotics
|
| 7 |
+
tags:
|
| 8 |
+
- tsfile
|
| 9 |
+
- timeseries
|
| 10 |
+
- tabular
|
| 11 |
+
modality:
|
| 12 |
+
- timeseries
|
| 13 |
+
- tabular
|
| 14 |
+
pretty_name: Sock 2 Only More Orange TsFile
|
| 15 |
+
configs:
|
| 16 |
+
- config_name: default
|
| 17 |
+
data_files:
|
| 18 |
+
- split: train
|
| 19 |
+
path: data/makermods_sock_2_only_more_orange.tsfile
|
| 20 |
+
size_categories:
|
| 21 |
+
- 10K<n<100K
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
# Sock 2 Only More Orange TsFile
|
| 25 |
+
|
| 26 |
+
This repository presents the numeric time-series portion of
|
| 27 |
+
[`makermods/sock_2_only_more_orange`](https://huggingface.co/datasets/makermods/sock_2_only_more_orange), a LeRobot v3.0
|
| 28 |
+
SO follower robot dataset for putting a sock in the matching bin.
|
| 29 |
+
|
| 30 |
+
## Source And Attribution
|
| 31 |
+
|
| 32 |
+
- Original dataset and author: [makermods](https://huggingface.co/datasets/makermods/sock_2_only_more_orange)
|
| 33 |
+
- Repository owner and uploader: [makermods](https://huggingface.co/makermods)
|
| 34 |
+
- License: Apache-2.0
|
| 35 |
+
- Task: `put sock in matching bin`
|
| 36 |
+
- Split: `train`; 145 episodes, 49,791 frames, 1 task, sampled at 30 fps
|
| 37 |
+
- Source numeric layout: `data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet`
|
| 38 |
+
- The source card provides no paper, homepage, or completed citation.
|
| 39 |
+
|
| 40 |
+
## Data Layout
|
| 41 |
+
|
| 42 |
+
The `data/makermods_sock_2_only_more_orange.tsfile` table is `makermods_sock_2_only_more_orange`. It contains 49,791 rows
|
| 43 |
+
over 145 episode devices. `Time` is `round(timestamp * 1000)` in milliseconds,
|
| 44 |
+
starts at zero for each episode, and increases within each episode. The source
|
| 45 |
+
`timestamp` column is omitted because it equals `Time / 1000` seconds.
|
| 46 |
+
|
| 47 |
+
| Column | Role | Type | Source mapping |
|
| 48 |
+
|---|---|---|---|
|
| 49 |
+
| `Time` | TIME | TIMESTAMP | `round(timestamp * 1000)` ms |
|
| 50 |
+
| `episode_index`, `task_index` | TAG | STRING | Original int64 columns |
|
| 51 |
+
| `frame_index` | FIELD | INT64 | Preserved |
|
| 52 |
+
| `sample_index` | FIELD | INT64 | Renamed from `index` |
|
| 53 |
+
| `action_0` ... `action_5` | FIELD | FLOAT | Flattened from `action[6]` |
|
| 54 |
+
| `observation_state_0` ... `observation_state_5` | FIELD | FLOAT | Flattened from `observation.state[6]` |
|
| 55 |
+
|
| 56 |
+
The six action and state dimensions are, in order: `shoulder_pan.pos`,
|
| 57 |
+
`shoulder_lift.pos`, `elbow_flex.pos`, `wrist_flex.pos`, `wrist_roll.pos`, and
|
| 58 |
+
`gripper.pos`.
|
| 59 |
+
|
| 60 |
+
## Storage Profile
|
| 61 |
+
|
| 62 |
+
- FLOAT and DOUBLE: GORILLA + LZ4
|
| 63 |
+
- INT32 and INT64: TS_2DIFF + LZ4
|
| 64 |
+
- Time: TS_2DIFF + LZ4
|
| 65 |
+
- BOOLEAN: RLE + LZ4
|
| 66 |
+
- TAG: TsFile table/device TAG mechanism
|
| 67 |
+
|
| 68 |
+
## Source Videos
|
| 69 |
+
|
| 70 |
+
Videos remain exclusively in the original Hugging Face dataset and are not
|
| 71 |
+
included here. The source paths are:
|
| 72 |
+
|
| 73 |
+
- [`videos/observation.images.front/`](https://huggingface.co/datasets/makermods/sock_2_only_more_orange/tree/main/videos/observation.images.front)
|
| 74 |
+
- [`videos/observation.images.wrist/`](https://huggingface.co/datasets/makermods/sock_2_only_more_orange/tree/main/videos/observation.images.wrist)
|
| 75 |
+
|
| 76 |
+
Each stream is AV1, 640x480, 30 fps, without audio. Video files use
|
| 77 |
+
`videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4`.
|
| 78 |
+
Use `episode_index`, `frame_index`, and the original episode metadata to align
|
| 79 |
+
numeric samples with frames.
|
| 80 |
+
|
| 81 |
+
## Read Example
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
from tsfile import TsFileReader
|
| 85 |
+
|
| 86 |
+
reader = TsFileReader("data/makermods_sock_2_only_more_orange.tsfile")
|
| 87 |
+
with reader.query_table(
|
| 88 |
+
"makermods_sock_2_only_more_orange",
|
| 89 |
+
["episode_index", "task_index", "frame_index", "sample_index", "action_0"],
|
| 90 |
+
batch_size=65536,
|
| 91 |
+
) as result:
|
| 92 |
+
print(result.read_arrow_batch().to_pandas().head())
|
| 93 |
+
reader.close()
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
## Citation
|
| 97 |
+
|
| 98 |
+
The source dataset does not provide a paper or completed citation. Cite the
|
| 99 |
+
original [`makermods/sock_2_only_more_orange`](https://huggingface.co/datasets/makermods/sock_2_only_more_orange) dataset and its
|
| 100 |
+
repository owner, `makermods`.
|