smilegeng commited on
Commit
004ac31
·
verified ·
1 Parent(s): 4c6070f

Use per-episode TsFile layout matching source data_path

Browse files
README.md CHANGED
@@ -56,12 +56,16 @@ Source metadata:
56
 
57
  ## Converted Structure
58
 
59
- ```text
60
- data/reachy_wave.tsfile
61
- meta/episodes.jsonl
62
- meta/info.json
63
- meta/stats.json
64
- meta/tasks.jsonl
 
 
 
 
65
  videos/chunk-000/observation.images.head_left/episode_000000.mp4
66
  ...
67
  videos/chunk-000/observation.images.head_left/episode_000004.mp4
@@ -86,12 +90,12 @@ The source Parquet rows contain:
86
 
87
  TsFile details:
88
 
89
- - Output file: `data/reachy_wave.tsfile`
90
  - Table name: `reachy_wave`
91
  - TAG columns: `episode_id`, `task_id`
92
  - Time precision: milliseconds
93
  - `Time`: `round(timestamp * 1000)`
94
- - Row count preserved: 1,380 source rows -> 1,380 TsFile rows
95
 
96
  ## Feature Names
97
 
@@ -125,9 +129,10 @@ metadata:
125
 
126
  ## Viewer Note
127
 
128
- Hugging Face Dataset Viewer may not preview `.tsfile` files because the hosted
129
- viewer environment must have TsFile support installed. Download `data/reachy_wave.tsfile`
130
- and read it with a TsFile-compatible reader.
 
131
 
132
  ## Citation
133
 
 
56
 
57
  ## Converted Structure
58
 
59
+ ```text
60
+ data/chunk-000/episode_000000.tsfile
61
+ data/chunk-000/episode_000001.tsfile
62
+ data/chunk-000/episode_000002.tsfile
63
+ data/chunk-000/episode_000003.tsfile
64
+ data/chunk-000/episode_000004.tsfile
65
+ meta/episodes.jsonl
66
+ meta/info.json
67
+ meta/stats.json
68
+ meta/tasks.jsonl
69
  videos/chunk-000/observation.images.head_left/episode_000000.mp4
70
  ...
71
  videos/chunk-000/observation.images.head_left/episode_000004.mp4
 
90
 
91
  TsFile details:
92
 
93
+ - Output files: `data/chunk-000/episode_000000.tsfile` through `data/chunk-000/episode_000004.tsfile`
94
  - Table name: `reachy_wave`
95
  - TAG columns: `episode_id`, `task_id`
96
  - Time precision: milliseconds
97
  - `Time`: `round(timestamp * 1000)`
98
+ - Row count preserved: 1,380 source rows -> 1,380 TsFile rows across 5 per-episode files
99
 
100
  ## Feature Names
101
 
 
129
 
130
  ## Viewer Note
131
 
132
+ Hugging Face Dataset Viewer may not preview `.tsfile` files because the hosted
133
+ viewer environment must have TsFile support installed. Download the per-episode
134
+ TsFile files under `data/chunk-000/` and read them with a TsFile-compatible
135
+ reader.
136
 
137
  ## Citation
138
 
data/chunk-000/episode_000000.tsfile ADDED
Binary file (41.9 kB). View file
 
data/chunk-000/episode_000001.tsfile ADDED
Binary file (41.6 kB). View file
 
data/chunk-000/episode_000002.tsfile ADDED
Binary file (39.7 kB). View file
 
data/chunk-000/episode_000003.tsfile ADDED
Binary file (41.4 kB). View file
 
data/chunk-000/episode_000004.tsfile ADDED
Binary file (42.2 kB). View file
 
meta/info.json CHANGED
@@ -11,7 +11,7 @@
11
  "splits": {
12
  "train": "0:5"
13
  },
14
- "data_path": "data/reachy_wave.tsfile",
15
  "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
16
  "features": {
17
  "action": {
@@ -137,7 +137,7 @@
137
  "tsfile_conversion": {
138
  "source_dataset": "aliberts/reachy_wave",
139
  "source_data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
140
- "converted_data_path": "data/reachy_wave.tsfile",
141
  "table_name": "reachy_wave",
142
  "time_precision": "ms",
143
  "time_column": "Time = round(timestamp * 1000)",
@@ -146,10 +146,12 @@
146
  "task_id"
147
  ],
148
  "row_count": 1380,
 
149
  "vector_columns_flattened": {
150
  "observation.state": "state_0..state_21",
151
  "action": "action_0..action_21"
152
  },
 
153
  "notes": "meta/ and videos/ are mirrored from the source repository; only Parquet data is converted to TsFile."
154
  }
155
  }
 
11
  "splits": {
12
  "train": "0:5"
13
  },
14
+ "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.tsfile",
15
  "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
16
  "features": {
17
  "action": {
 
137
  "tsfile_conversion": {
138
  "source_dataset": "aliberts/reachy_wave",
139
  "source_data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
140
+ "converted_data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.tsfile",
141
  "table_name": "reachy_wave",
142
  "time_precision": "ms",
143
  "time_column": "Time = round(timestamp * 1000)",
 
146
  "task_id"
147
  ],
148
  "row_count": 1380,
149
+ "episode_files": 5,
150
  "vector_columns_flattened": {
151
  "observation.state": "state_0..state_21",
152
  "action": "action_0..action_21"
153
  },
154
+ "frame_alignment": "episode_index selects the TsFile/video file; frame_index aligns with the video frame index; episode_timestamp_s aligns with video time in seconds.",
155
  "notes": "meta/ and videos/ are mirrored from the source repository; only Parquet data is converted to TsFile."
156
  }
157
  }