技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
libero-conversion【数据与研究】Guides conversion of LIBERO HDF5 task demonstrations into LeRobot datasets and safely evaluates optional simulator-based regeneration, including task discovery, state/action schemas, image resolution, execution controls, and failure recovery.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route when a user has LIBERO task-suite HDF5 files and wants a local
or Hub-backed LeRobot dataset, or asks whether the files must be regenerated
before conversion. This route covers the LIBERO-specific contract only. For
executor lifecycle, temporary aggregation, and shared adapter behavior, load
generic-conversion.
--executor local and --debug for a first structural smoke test.
Do not start Ray, upload to the Hub, or regenerate through a simulator without
explicit approval and a verified environment.*.hdf5; derive the task instruction
from each filename and reject or separately review files that do not match
the supported naming convention. See workflows.data group and each demo's required obs
datasets before scheduling conversion. Check lengths, dtypes, image shapes,
and finite numeric values using a read-only structural probe.Each demo is emitted frame-by-frame with its task instruction attached. The
six-dimensional end-effector pose is concatenated with the two-dimensional
LIBERO gripper state to form the eight-dimensional observation.state. The
seven-dimensional action keeps the first six values and transforms the final
command with 1 - clip(value, 0, 1), preserving the repository's gripper
inversion convention. This is a semantic conversion, not a generic numeric
normalization; record it in provenance.
Do not route RLDS/TFDS input, RoboCasa files, or LeRobot version migrations through this sub-skill. Choose the corresponding sibling route at the root. Do not treat a successful file open as proof that the task is convertible: shape, frame alignment, and feature-version checks are required before the writer is started.
For a synthetic smoke case, use a two-frame data/demo_0 fixture with all
required arrays and verify only key presence, widths, image dimensions, and
the final action component. This gives coverage of the difficult schema path
without invoking a converter, codec, Ray, Hub, or simulator.
The standard feature contract is two RGB video streams (agentview_rgb and
eye_in_hand_rgb) at 256x256x3, an 8-wide combined state, separate 6-wide
end-effector, 7-wide joint, and 2-wide gripper state streams, and a 7-wide
action. The canonical defaults are 20 FPS and Franka. Do not infer a different
robot or FPS merely from a directory name.
Report selected files, skipped filename mismatches, source shape/dtype checks, transformation choices, executor and safety flags, output metadata checks, and whether regeneration was not run. Preserve unresolved optional-dependency or schema gaps explicitly.
Evidence for this route was distilled from the repository's LIBERO README,
libero_h5.py, and regenerate_libero_dataset.py; those artifacts are
provenance only and are not runtime dependencies.