jzpeng commited on
Commit
8bfc239
·
verified ·
1 Parent(s): 06ed508

Upload 2 files

Browse files
README.md CHANGED
@@ -79,11 +79,23 @@ episode devices.
79
  - TsFile: `data/long_cable_insertion_2_raw_plus_dagger2x_train.tsfile`
80
  - Table: `long_cable_insertion_2_raw_plus_dagger2x_train`
81
  - Rows: 70,596
82
- - TsFile size: 15.19 MiB
83
- - Time precision: milliseconds
84
- - Metadata: `meta/` is mirrored from the source, with `meta/info.json` rewritten
85
- to document the TsFile schema, source revision, conversion mapping, and video
86
- policy.
 
 
 
 
 
 
 
 
 
 
 
 
87
 
88
  ## TsFile Schema
89
 
@@ -111,8 +123,9 @@ and the TIME column.
111
 
112
  ## Conversion Notes
113
 
114
- - The shared config-driven `lerobot` converter is used; the dataset-specific
115
- Python file is a thin local orchestration and documentation entry point.
 
116
  - All 538 source frame Parquet files in the train split are merged into one
117
  table-model TsFile. Filter by `episode_index` and `task_index` to select a
118
  trajectory or routing subtask.
@@ -143,9 +156,9 @@ and the source metadata under `meta/episodes/`.
143
 
144
  ## Validation
145
 
146
- The generated TsFile is checked for successful Java-tool completion, non-zero
147
- size, table schema, and row-count equality with the staged Parquet. The expected
148
- and validated row count is 70,596; the source contains no duplicate
149
  `(episode_index, task_index, Time)` keys after millisecond conversion.
150
 
151
  ## Minimal Read Example
 
79
  - TsFile: `data/long_cable_insertion_2_raw_plus_dagger2x_train.tsfile`
80
  - Table: `long_cable_insertion_2_raw_plus_dagger2x_train`
81
  - Rows: 70,596
82
+ - TsFile size: 10.93 MiB
83
+ - Time precision: milliseconds
84
+ - Metadata: `meta/` is mirrored from the source, with `meta/info.json` rewritten
85
+ to document the TsFile schema, source revision, conversion mapping, and video
86
+ policy.
87
+
88
+ ## Compact Encoding Profile
89
+
90
+ The TsFile is written with the native table writer and the following explicit
91
+ type-aware encodings to keep the binary smaller than the source frame Parquet:
92
+
93
+ - `FLOAT`, `DOUBLE`: `GORILLA` + `LZ4`
94
+ - `INT32`, `INT64`: `TS_2DIFF` + `LZ4`
95
+ - `Time`: `TS_2DIFF` + `LZ4`
96
+ - `BOOLEAN`: `RLE` + `LZ4` (no BOOLEAN FIELD occurs in this dataset)
97
+ - `TAG`: TsFile table TAG/device segments; tag values are not duplicated as
98
+ ordinary FIELD measurements
99
 
100
  ## TsFile Schema
101
 
 
123
 
124
  ## Conversion Notes
125
 
126
+ - The shared config-driven `lerobot` converter is used with its native Python
127
+ table writer; the dataset-specific Python file is a thin local orchestration
128
+ and documentation entry point.
129
  - All 538 source frame Parquet files in the train split are merged into one
130
  table-model TsFile. Filter by `episode_index` and `task_index` to select a
131
  trajectory or routing subtask.
 
156
 
157
  ## Validation
158
 
159
+ The generated TsFile is checked for successful native-writer completion,
160
+ non-zero size, table schema, and row-count equality with the staged Parquet. The
161
+ expected and validated row count is 70,596; the source contains no duplicate
162
  `(episode_index, task_index, Time)` keys after millisecond conversion.
163
 
164
  ## Minimal Read Example
long_cable_insertion_2_raw_plus_dagger2x.yaml CHANGED
@@ -36,10 +36,20 @@ conversion:
36
  fps: 50
37
  table_name: "long_cable_insertion_2_raw_plus_dagger2x"
38
  stream_staging: false
 
 
 
 
 
 
 
 
 
 
39
 
40
  upload:
41
  mode: "single"
42
- repo_id: "jzpeng/ajaysri_long_cable_insertion_2_raw_plus_dagger2x"
43
 
44
  attribution:
45
  original_url: "https://huggingface.co/datasets/ajaysri/long_cable_insertion_2_raw_plus_dagger2x"
@@ -96,4 +106,3 @@ local:
96
  source_dir: "D:/code/py/LongCableInsertion2_raw_plus_dagger2x"
97
  output_dir: "D:/code/py/LongCableInsertion2_raw_plus_dagger2x_after"
98
  workdir: "D:/code/workdir/long_cable_insertion_2_raw_plus_dagger2x"
99
-
 
36
  fps: 50
37
  table_name: "long_cable_insertion_2_raw_plus_dagger2x"
38
  stream_staging: false
39
+ # Native TsFile table writer with explicit compact encodings.
40
+ tsfile_writer: "python"
41
+ encoding_profile:
42
+ float: "GORILLA + LZ4"
43
+ double: "GORILLA + LZ4"
44
+ int32: "TS_2DIFF + LZ4"
45
+ int64: "TS_2DIFF + LZ4"
46
+ time: "TS_2DIFF + LZ4"
47
+ boolean: "RLE + LZ4"
48
+ tag: "TsFile table TAG/device mechanism"
49
 
50
  upload:
51
  mode: "single"
52
+ repo_id: "jzpeng/long_cable_insertion_2_raw_plus_dagger2x"
53
 
54
  attribution:
55
  original_url: "https://huggingface.co/datasets/ajaysri/long_cable_insertion_2_raw_plus_dagger2x"
 
106
  source_dir: "D:/code/py/LongCableInsertion2_raw_plus_dagger2x"
107
  output_dir: "D:/code/py/LongCableInsertion2_raw_plus_dagger2x_after"
108
  workdir: "D:/code/workdir/long_cable_insertion_2_raw_plus_dagger2x"