lerobot/lerobot/scripts
Ben Sprenger 7fe463b5dd fix: Add translation function for non-sequential episode indices
When episodes are removed from a LeRobotDataset, the remaining
episode indices are no longer sequential, which causes indexing errors
in get_episode_data(). This happens because episode_data_index tensors
are always indexed sequentially, while the episode indices can be
arbitrary. This commit introduces a helper function to make the
conversion.
2025-03-16 16:53:09 +01:00
..
configure_motor.py chore(doc): add license header to all files (#818) 2025-03-05 17:56:51 +01:00
control_robot.py refactor(config): Move device & amp args to PreTrainedConfig (#812) 2025-03-06 17:59:28 +01:00
control_sim_robot.py chore(doc): add license header to all files (#818) 2025-03-05 17:56:51 +01:00
display_sys_info.py Make `display_sys_info.py` install-agnostic (#253) 2024-06-07 15:02:17 +02:00
eval.py refactor(config): Move device & amp args to PreTrainedConfig (#812) 2025-03-06 17:59:28 +01:00
find_motors_bus_port.py chore(doc): add license header to all files (#818) 2025-03-05 17:56:51 +01:00
push_dataset_to_hub.py Add typos checks (#770) 2025-02-25 23:51:15 +01:00
push_pretrained.py Simplify configs (#550) 2025-01-31 13:57:37 +01:00
remove_episodes.py feat: add remove_episodes utility 2025-03-16 16:53:09 +01:00
train.py refactor(config): Move device & amp args to PreTrainedConfig (#812) 2025-03-06 17:59:28 +01:00
visualize_dataset.py fix: Add translation function for non-sequential episode indices 2025-03-16 16:53:09 +01:00
visualize_dataset_html.py fix: Add translation function for non-sequential episode indices 2025-03-16 16:53:09 +01:00
visualize_image_transforms.py LeRobotDataset v2.1 (#711) 2025-02-25 15:27:29 +01:00