Diffusion Policy: Visuomotor Policy Learning via Action Diffusion
Paper • 2303.04137 • Published • 6
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 271, in _split_generators
scan = self._scan_metadata(all_files)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 304, in _scan_metadata
from tsfile.constants import TIME_COLUMN, ColumnCategory
ModuleNotFoundError: No module named 'tsfile'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 66, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
本数据集由 HuggingFace 数据集 lerobot/pusht 转换为 Apache TsFile 格式。 原始数据集:https://huggingface.co/datasets/lerobot/pusht
Push-T 是 Diffusion Policy(Chi et al. 2023)提出的机械臂操作基准任务:智能体需把一个 T 形物块推到目标位姿。本数据集使用 LeRobot 采集(codebase v2.0),是其低维状态版本——二维末端执行器状态与二维动作的时间序列。
| 列 | 类型 | 说明 |
|---|---|---|
observation.state |
float32[2] | 末端执行器状态(x, y) |
action |
float32[2] | 动作(x, y) |
episode_index |
int64 | episode 序号 |
frame_index |
int64 | episode 内帧序号 |
timestamp |
float32 | episode 内相对秒数 |
next.reward |
float32 | 奖励 |
next.done / next.success |
bool | 终止 / 成功标志 |
index |
int64 | 全局样本序号 |
task_index |
int64 | 任务序号 |
observation.image |
video[96×96×3] | (未包含,本低维版本不含图像) |
转换走「脚本预处理 + Apache TsFile Java 工具(schema 模式)」路径:
observation.state[2] → state_0、state_1;action[2] → action_0、action_1(保持 float32 单精度 → TsFile FLOAT)。. 统一替换为 _(next.reward → next_reward 等)。Time = frame_index × 100ms(10 fps),时间精度 ms。episode_id、task_id 声明为 TsFile TAG,因此每个 episode 是独立 device,各自时间轴从 0 开始、互不冲突。timestamp(episode 相对秒数,float)被丢弃,因为它在不同 episode 间会重复;改用 frame_index × 100ms 的整数毫秒时间轴。其余列全部保留。转换后表名为 pusht,单文件 lerobot_pusht.tsfile,共 25,650 行。
# 用 Apache TsFile SDK 读取 lerobot_pusht.tsfile
from tsfile import TsFileReader
reader = TsFileReader("lerobot_pusht.tsfile")
# table "pusht":tag 列 episode_id / task_id,其余为 field 测点
@article{chi2024diffusionpolicy,
author = {Cheng Chi and Zhenjia Xu and Siyuan Feng and Eric Cousineau and Yilun Du and Benjamin Burchfiel and Russ Tedrake and Shuran Song},
title ={Diffusion Policy: Visuomotor Policy Learning via Action Diffusion},
journal = {The International Journal of Robotics Research},
year = {2024},
}