azithromycin's picture
Add LeRobot metadata and TsFile mapping
c9c46ee verified
Raw
History Blame Contribute Delete
6.18 kB
{
"codebase_version": "v2.1",
"robot_type": "so101",
"total_episodes": 45,
"total_frames": 30519,
"total_tasks": 1,
"total_videos": 90,
"total_chunks": 1,
"chunks_size": 1000,
"fps": 30,
"splits": {
"train": "0:45"
},
"data_path": "data/m3throcks_so101_test13.tsfile",
"features": {
"Time": {
"dtype": "int64",
"shape": [
1
],
"tsfile_role": "TIME",
"unit": "ms"
},
"episode_index": {
"dtype": "string",
"source_dtype": "int64",
"shape": [
1
],
"tsfile_role": "TAG"
},
"task_index": {
"dtype": "string",
"source_dtype": "int64",
"shape": [
1
],
"tsfile_role": "TAG"
},
"frame_index": {
"dtype": "int64",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"sample_index": {
"dtype": "int64",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"action_0": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"action_1": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"action_2": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"action_3": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"action_4": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"action_5": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"observation_state_0": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"observation_state_1": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"observation_state_2": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"observation_state_3": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"observation_state_4": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
},
"observation_state_5": {
"dtype": "float32",
"shape": [
1
],
"tsfile_role": "FIELD"
}
},
"video_path_original": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
"tsfile_conversion": {
"source_dataset": "M3thRocks/so101_test13",
"original_dataset_url": "https://huggingface.co/datasets/M3thRocks/so101_test13",
"source_data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
"converted_data_path": "data/m3throcks_so101_test13.tsfile",
"table_name": "m3throcks_so101_test13",
"granularity": "merged",
"time_precision": "ms",
"time_mapping": {
"source": "timestamp",
"formula": "round(timestamp * 1000)",
"unit": "milliseconds",
"restarts_per_episode": true
},
"tag_columns": [
"episode_index",
"task_index"
],
"row_count": 30519,
"episode_count": 45,
"source_episode_file_count": 45,
"flattened_features": {
"action": [
"action_0",
"action_1",
"action_2",
"action_3",
"action_4",
"action_5"
],
"observation.state": [
"observation_state_0",
"observation_state_1",
"observation_state_2",
"observation_state_3",
"observation_state_4",
"observation_state_5"
]
},
"renamed_features": {
"index": "sample_index"
},
"dropped_features": [
"timestamp"
],
"omitted_video_features": [
"observation.images.laptop",
"observation.images.phone"
],
"original_video_features": {
"observation.images.laptop": {
"dtype": "video",
"shape": [
480,
640,
3
],
"names": [
"height",
"width",
"channels"
],
"info": {
"video.height": 480,
"video.width": 640,
"video.codec": "av1",
"video.pix_fmt": "yuv420p",
"video.is_depth_map": false,
"video.fps": 30,
"video.channels": 3,
"has_audio": false
}
},
"observation.images.phone": {
"dtype": "video",
"shape": [
480,
640,
3
],
"names": [
"height",
"width",
"channels"
],
"info": {
"video.height": 480,
"video.width": 640,
"video.codec": "av1",
"video.pix_fmt": "yuv420p",
"video.is_depth_map": false,
"video.fps": 30,
"video.channels": 3,
"has_audio": false
}
}
},
"original_video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
"original_video_source": "https://huggingface.co/datasets/M3thRocks/so101_test13/tree/main/videos",
"video_policy": "Videos stay in the original repository and are not included with the TsFile.",
"frame_video_alignment": "episode_index and frame_index preserve alignment with each source MP4 stream.",
"source_author": {
"name": "Mathias",
"huggingface_user": "M3thRocks",
"url": "https://huggingface.co/M3thRocks"
},
"task_index_mapping": {
"0": "Grasp a lego block and put it in the bin."
},
"storage_profile": {
"time": "TS_2DIFF + LZ4",
"float": "GORILLA + LZ4",
"double": "GORILLA + LZ4",
"int32": "TS_2DIFF + LZ4",
"int64": "TS_2DIFF + LZ4",
"boolean": "RLE + LZ4",
"tag": "TsFile table-model device/tag columns"
}
}
}