Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cheney-36/lerobot
/ functions
Functions
577 in github.com/Cheney-36/lerobot
⨍
Functions
577
◇
Types & classes
74
↳
Endpoints
2
Method
n_steps
(self)
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:467
Function
none_or_int
(value)
lerobot/scripts/control_robot.py:195
Function
noop
(*args, **kwargs)
lerobot/common/policies/vqbet/vqbet_utils.py:936
Method
num_dofs
Get the number of joints of the robot. Returns: int: The number of joints of the robot.
lerobot/common/robot_devices/robots/ur.py:38
Method
num_episodes
Number of episodes.
lerobot/common/datasets/lerobot_dataset.py:119
Method
num_episodes
Number of episodes.
lerobot/common/datasets/lerobot_dataset.py:350
Method
num_episodes
(self)
lerobot/common/datasets/online_buffer.py:224
Method
num_samples
Number of samples/frames.
lerobot/common/datasets/lerobot_dataset.py:114
Method
num_samples
Number of samples/frames.
lerobot/common/datasets/lerobot_dataset.py:345
Method
num_samples
(self)
lerobot/common/datasets/online_buffer.py:230
Function
on_press
(key)
lerobot/scripts/control_robot.py:369
Function
parse_int_or_none
(value)
benchmarks/video/run_video_benchmark.py:58
Method
pop_episode
(self)
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:567
Function
print_cuda_memory_usage
Use this function to locate and debug memory leak.
lerobot/common/utils/utils.py:171
Function
process_sample
(sample: int)
benchmarks/video/run_video_benchmark.py:173
Function
random_shifts_aug
Randomly shifts images horizontally and vertically. Adapted from https://github.com/facebookresearch/drqv2
lerobot/common/policies/tdmpc/modeling_tdmpc.py:777
Method
read
(self)
lerobot/common/robot_devices/motors/utils.py:9
Method
read_baud_rate
(self)
lerobot/common/robot_devices/robots/pgi_tools.py:172
Method
read_current_Speed
(self)
lerobot/common/robot_devices/robots/pgi_tools.py:125
Method
read_device_id
(self)
lerobot/common/robot_devices/robots/pgi_tools.py:162
Method
read_info
(self)
lerobot/common/robot_devices/robots/pgi_tools.py:34
Method
read_initialization_direction
(self)
lerobot/common/robot_devices/robots/pgi_tools.py:152
Method
read_io_level
(self, io_number)
lerobot/common/robot_devices/robots/pgi_tools.py:218
Method
read_io_mode
(self)
lerobot/common/robot_devices/robots/pgi_tools.py:208
Method
read_io_parameters
(self, io_param)
lerobot/common/robot_devices/robots/pgi_tools.py:231
Method
read_loop
(self)
lerobot/common/robot_devices/cameras/opencv.py:331
Method
read_parity
(self)
lerobot/common/robot_devices/robots/pgi_tools.py:192
Method
read_stop_bits
(self)
lerobot/common/robot_devices/robots/pgi_tools.py:182
Function
render_frame
(env: gym.vector.VectorEnv)
lerobot/scripts/eval.py:252
Method
repo_id_to_index
Return a mapping from dataset repo_id to a dataset index automatically created by this class. This index is incorporated as a data key in the
lerobot/common/datasets/lerobot_dataset.py:284
Method
repo_index_to_id
Return the inverse mapping if repo_id_to_index.
lerobot/common/datasets/lerobot_dataset.py:292
Method
result_ms
(self)
lerobot/common/utils/benchmark.py:91
Method
revert_calibration
(self)
lerobot/common/robot_devices/motors/utils.py:8
Function
run_arm_calibration
This function ensures that a neural network trained on data collected on a given robot can work on another robot. For instance before calibration,
lerobot/common/robot_devices/robots/gello_ur5.py:69
Method
run_calibration
(self)
lerobot/common/robot_devices/robots/utils.py:6
Function
sample_trajectory_and_update_buffer
()
lerobot/scripts/train.py:539
Function
sample_vectors_distributed
(local_samples, num)
lerobot/common/policies/vqbet/vqbet_utils.py:1085
Function
save_color_image
(image, path, write_shape=False)
lerobot/common/robot_devices/cameras/utils.py:23
Function
save_depth_image
(depth, path, write_shape=False)
lerobot/common/robot_devices/cameras/utils.py:31
Function
save_image
将输入的张量图像保存到指定路径下。 Args: img_tensor (Tensor): 输入的张量图像,形状为 (H, W, C),数据类型为 float32 或 uint8。 key (str): 图像保存路径的标识字符串。
lerobot/scripts/control_robot.py:165
Function
save_image
(img_array, camera_index, frame_index, images_dir)
lerobot/common/robot_devices/cameras/opencv.py:70
Function
save_image
(img_array, i, out_dir)
lerobot/common/datasets/push_dataset_to_hub/utils.py:50
Method
save_to_path
( self, zarr_path, chunks: dict[str, tuple] | None = None, compressors: str |
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:322
Function
seeded_context
Set the seed when entering a context, and restore the prior random state at exit. Example usage: ``` a = random.random() # produces som
lerobot/common/utils/utils.py:93
Method
select_action
Select a single action given environment observations. This method handles caching a history of observations and an action trajectory generat
lerobot/common/policies/diffusion/modeling_diffusion.py:108
Method
select_action
Select a single action given environment observations. This method wraps `select_actions` in order to return one action at a time for executi
lerobot/common/policies/vqbet/modeling_vqbet.py:98
Method
select_action
Select a single action given environment observations.
lerobot/common/policies/tdmpc/modeling_tdmpc.py:134
Method
select_action
Select a single action given environment observations. This method wraps `select_actions` in order to return one action at a time for executi
lerobot/common/policies/act/modeling_act.py:99
Method
send_action
The provided action is expected to be a vector.
lerobot/common/robot_devices/robots/gello_ur5.py:359
Method
send_action
The provided action is expected to be a vector.
lerobot/common/robot_devices/robots/koch.py:477
Method
set_baud_rate
(self, baud_rate_index)
lerobot/common/robot_devices/robots/pgi_tools.py:166
Method
set_calibration
(self, calibration: dict[str, tuple[int, bool]])
lerobot/common/robot_devices/motors/dynamixel.py:497
Method
set_chunks
(self, chunks: dict)
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:611
Method
set_compressors
(self, compressors: dict)
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:627
Method
set_device_id
(self, device_id)
lerobot/common/robot_devices/robots/pgi_tools.py:156
Method
set_initialization_direction
(self, direction)
lerobot/common/robot_devices/robots/pgi_tools.py:146
Method
set_io_level
(self, io_number, level)
lerobot/common/robot_devices/robots/pgi_tools.py:212
Method
set_io_mode
(self, mode)
lerobot/common/robot_devices/robots/pgi_tools.py:202
Method
set_io_parameters
(self, io_param, value)
lerobot/common/robot_devices/robots/pgi_tools.py:225
Method
set_parity
(self, parity)
lerobot/common/robot_devices/robots/pgi_tools.py:186
Method
set_stop_bits
(self, stop_bits)
lerobot/common/robot_devices/robots/pgi_tools.py:176
Function
show_episode
(dataset_namespace, dataset_name, episode_id)
lerobot/scripts/visualize_dataset_html.py:107
Method
teleop_step
( self, record_data=False )
lerobot/common/robot_devices/robots/gello_ur5.py:257
Method
teleop_step
( self, record_data=False )
lerobot/common/robot_devices/robots/koch.py:373
Method
test_io_parameters
(self, io_function)
lerobot/common/robot_devices/robots/pgi_tools.py:196
Method
tolerance_s
Tolerance in seconds used to discard loaded frames when their timestamps are not close enough from the requested frames. It is only used when
lerobot/common/datasets/lerobot_dataset.py:124
Method
tolerance_s
Tolerance in seconds used to discard loaded frames when their timestamps are not close enough from the requested frames. It is only used when
lerobot/common/datasets/lerobot_dataset.py:355
Function
train_notebook
(out_dir=None, job_name=None, config_name="default", config_path="../configs")
lerobot/scripts/train.py:659
Function
uniform_init
(*shape)
lerobot/common/policies/vqbet/vqbet_utils.py:972
Method
update_meta
(self, data)
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:391
Method
video
Returns True if this dataset loads video frames from mp4 files. Returns False if it only loads images from png files.
lerobot/common/datasets/lerobot_dataset.py:80
Method
video
Returns True if this dataset loads video frames from mp4 files. Returns False if it only loads images from png files. NOTE: Fow now,
lerobot/common/datasets/lerobot_dataset.py:305
Method
video_frame_keys
Keys to access video frames that requires to be decoded into images. Note: It is empty if the dataset contains images only, or equal
lerobot/common/datasets/lerobot_dataset.py:100
Method
video_frame_keys
Keys to access video frames that requires to be decoded into images. Note: It is empty if the dataset contains images only, or equal
lerobot/common/datasets/lerobot_dataset.py:331
Method
write
(self, data_name, values: int | float | np.ndarray, motor_names: str | list[str] | None = None)
lerobot/common/robot_devices/motors/dynamixel.py:695
Method
write_to_flash
(self, save)
lerobot/common/robot_devices/robots/pgi_tools.py:140
Function
write_video
(video_path, stacked_frames, fps)
lerobot/common/utils/io_utils.py:21
← previous
501–577 of 577, ranked by callers