Episodes Preview SO-101 Visualizer
153 episodes · 30 fps

Sock Purple Green Orange Sort TsFile

This repository contains the numeric time-series portion of makermods/sock_purple_green_orange_sort, a LeRobot v3.0 SO follower dataset for sorting purple, green, and orange socks.

Source and Attribution

  • Original dataset and author: makermods
  • Author profile: huggingface.co/makermods
  • License: Apache-2.0
  • Split: train; 153 episodes, 72,690 frames, 1 task, sampled at 30 fps
  • Source frame layout: data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet
  • Source video layout: videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4

Schema

The merged table makermods_sock_purple_green_orange_sort is stored in data/makermods_sock_purple_green_orange_sort.tsfile.

Column Role Type Source mapping
Time TIME INT64 round(timestamp * 1000) milliseconds
episode_index, task_index TAG STRING Original integer metadata
frame_index FIELD INT64 Preserved
sample_index FIELD INT64 Renamed from index
action_0 ... action_5 FIELD FLOAT Flattened from action[6]
observation_state_0 ... observation_state_5 FIELD FLOAT Flattened from observation.state[6]

The six vector dimensions retain the source order: shoulder_pan.pos, shoulder_lift.pos, elbow_flex.pos, wrist_flex.pos, wrist_roll.pos, and gripper.pos.

The source timestamp column is omitted because it equals Time / 1000 seconds. Video/image columns are omitted from the TsFile; no numeric trajectory rows are dropped.

Storage Profile

  • FLOAT and DOUBLE: GORILLA + LZ4
  • INT32 and INT64: TS_2DIFF + LZ4
  • Time: TS_2DIFF + LZ4
  • BOOLEAN: RLE + LZ4
  • TAG: TsFile table/device TAG mechanism

Source Videos

Videos are not included in this repository. They remain in the original dataset:

Both streams are AV1, 640x480, 30 fps, and have no audio. Align samples with frames using episode_index and frame_index together with the original episode metadata.

Read Example

from tsfile import TsFileReader

reader = TsFileReader("data/makermods_sock_purple_green_orange_sort.tsfile")
with reader.query_table(
    "makermods_sock_purple_green_orange_sort",
    ["episode_index", "task_index", "frame_index", "sample_index", "action_0"],
    batch_size=65536,
) as result:
    print(result.read_arrow_batch().to_pandas().head())
reader.close()

The source dataset does not provide a paper or completed citation. Cite the original Hugging Face dataset and its makermods repository owner.

Downloads last month
21