smilegeng commited on
Commit
ef430e1
·
verified ·
1 Parent(s): e1912e2

Add TsFile conversion preserving original repository structure

Browse files
README.md ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: unknown
3
+ task_categories:
4
+ - robotics
5
+ - time-series-forecasting
6
+ language:
7
+ - en
8
+ tags:
9
+ - lerobot
10
+ - robotics
11
+ - imitation-learning
12
+ - action-state
13
+ - tsfile
14
+ pretty_name: koch_test TsFile
15
+ ---
16
+
17
+ # koch_test
18
+
19
+ This repository contains a TsFile conversion of the original Hugging Face
20
+ dataset [`MoofireX/koch_test`](https://huggingface.co/datasets/MoofireX/koch_test).
21
+
22
+ ## Source Dataset
23
+
24
+ The source repository contains one Parquet split and LeRobot metadata files:
25
+
26
+ ```text
27
+ data/train-00000-of-00001.parquet
28
+ meta_data/episode_data_index.safetensors
29
+ meta_data/info.json
30
+ meta_data/stats.safetensors
31
+ ```
32
+
33
+ The converted repository keeps the same top-level structure:
34
+
35
+ ```text
36
+ data/train.tsfile
37
+ meta_data/episode_data_index.safetensors
38
+ meta_data/info.json
39
+ meta_data/stats.safetensors
40
+ ```
41
+
42
+ ## Source Schema
43
+
44
+ The source Parquet split has 2,755 rows and 7 columns:
45
+
46
+ | Column | Source type | Conversion |
47
+ |---|---|---|
48
+ | `observation.state` | fixed-size list float[6] | flattened to `state_0` ... `state_5` |
49
+ | `action` | fixed-size list float[6] | flattened to `action_0` ... `action_5` |
50
+ | `episode_index` | int64 | FIELD |
51
+ | `frame_index` | int64 | FIELD |
52
+ | `timestamp` | float | renamed to `episode_timestamp_s` FIELD |
53
+ | `next.done` | bool | renamed to `next_done` FIELD |
54
+ | `index` | int64 | renamed to `sample_index` FIELD |
55
+
56
+ ## Conversion Notes
57
+
58
+ - Source format converted to TsFile: lowercase `data/train-00000-of-00001.parquet`.
59
+ - Converted format: TsFile table model.
60
+ - Output file: `data/train.tsfile`.
61
+ - Table name: `koch_test`.
62
+ - TAG column: `episode_id`, synthesized from `episode_index`.
63
+ - Time column: synthesized from `frame_index * 100 ms`.
64
+ - The original `timestamp` value is preserved as `episode_timestamp_s`.
65
+ - `observation.state` and `action` are not dropped semantically; each 6-element
66
+ vector is expanded to scalar fields because TsFile import requires scalar
67
+ columns.
68
+ - Row count is preserved: 2,755 source rows -> 2,755 TsFile rows.
69
+
70
+ ## Metadata
71
+
72
+ The source `meta_data/info.json` reports:
73
+
74
+ ```json
75
+ {
76
+ "codebase_version": "v1.6",
77
+ "fps": 30,
78
+ "video": true,
79
+ "encoding": {
80
+ "vcodec": "libsvtav1",
81
+ "pix_fmt": "yuv420p",
82
+ "g": 2,
83
+ "crf": 30
84
+ }
85
+ }
86
+ ```
87
+
88
+ The `meta_data/` files are mirrored unchanged from the source repository for
89
+ traceability. The TsFile conversion only uses the Parquet split.
90
+
91
+ ## Citation
92
+
93
+ Please cite the original dataset:
94
+
95
+ ```bibtex
96
+ @dataset{koch_test,
97
+ author = {MoofireX},
98
+ title = {koch_test},
99
+ publisher = {Hugging Face},
100
+ url = {https://huggingface.co/datasets/MoofireX/koch_test}
101
+ }
102
+ ```
data/train.tsfile ADDED
Binary file (56.6 kB). View file
 
meta_data/episode_data_index.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6eb05d840de327d278608b4863fd543bfc033d0c1e2cfd862df3c96551f67ea2
3
+ size 288
meta_data/info.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "codebase_version": "v1.6",
3
+ "fps": 30,
4
+ "video": true,
5
+ "encoding": {
6
+ "vcodec": "libsvtav1",
7
+ "pix_fmt": "yuv420p",
8
+ "g": 2,
9
+ "crf": 30
10
+ }
11
+ }
meta_data/stats.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3579f7e79af71d7092c11ca29f8c84238a8b6115bf9c3684b4a3be4625176307
3
+ size 2240