MCPcopy Create free account

hub / github.com/MINT-SJTU/Evo-RL / functions

Functions5,633 in github.com/MINT-SJTU/Evo-RL

↓ 1 callersFunctionbatched_bincount
(x, *, minlength)
src/lerobot/policies/vqbet/vqbet_utils.py:1094
↓ 1 callersFunctionbatched_embedding
(indices, embeds)
src/lerobot/policies/vqbet/vqbet_utils.py:1139
↓ 1 callersFunctionbenchmark_decoding
( imgs_dir: Path, video_path: Path, timestamps_mode: str, backend: str, ep_num_images: int
benchmarks/video/run_video_benchmark.py:154
↓ 1 callersFunctionbenchmark_encoding_decoding
( dataset: LeRobotDataset, video_path: Path, imgs_dir: Path, encoding_cfg: dict, decoding_
benchmarks/video/run_video_benchmark.py:234
↓ 1 callersMethodbroadcastPing
(self, port)
src/lerobot/motors/motors_bus.py:245
↓ 1 callersMethodbroadcast_ping
Ping every ID on the bus using the broadcast address. Args: num_retry (int, optional): Retry attempts. Defaults to `0`.
src/lerobot/motors/motors_bus.py:965
↓ 1 callersMethodbuild
(self, optimizer: Optimizer, num_training_steps: int)
src/lerobot/optim/schedulers.py:50
↓ 1 callersMethodbuild
(self, optimizer: Optimizer, num_training_steps: int)
src/lerobot/optim/schedulers.py:94
↓ 1 callersFunctionbuild_parser
()
src/lerobot/scripts/lerobot_export_boundary_frames.py:237
↓ 1 callersFunctionbuild_report
(dataset_root: Path)
src/lerobot/scripts/lerobot_dataset_report.py:133
↓ 1 callersMethodbuild_training_raw_batch_hook
(self, dataset, targets_cfg)
src/lerobot/values/pistar06/modeling_pistar06.py:643
↓ 1 callersFunctionbuild_transform
(input_size)
src/lerobot/policies/evo1/internvl3_embedder.py:20
↓ 1 callersMethodcalibrate
Calibrate the robot if applicable. If not, this should be a no-op. This method should collect any necessary data (e.g., motor offset
src/lerobot/robots/robot.py:142
↓ 1 callersMethodcalibrate
(self)
src/lerobot/robots/hope_jr/hope_jr_arm.py:107
↓ 1 callersMethodcalibrate
(self)
src/lerobot/robots/hope_jr/hope_jr_hand.py:138
↓ 1 callersMethodcalibrate
(self)
src/lerobot/robots/lekiwi/lekiwi.py:131
↓ 1 callersMethodcalibrate
(self)
src/lerobot/robots/piper_follower/piper_follower.py:151
↓ 1 callersMethodcalibrate
Calibration not needed for SDK-based robot.
src/lerobot/robots/earthrover_mini_plus/robot_earthrover_mini_plus.py:132
↓ 1 callersMethodcalibrate
(self)
src/lerobot/robots/so_follower/so_follower.py:112
↓ 1 callersMethodcalibrate
Run calibration procedure for OpenArms robot. The calibration procedure: 1. Disable torque 2. Ask user to position a
src/lerobot/robots/openarm_follower/openarm_follower.py:159
↓ 1 callersMethodcalibrate
(self)
src/lerobot/robots/koch_follower/koch_follower.py:111
↓ 1 callersMethodcalibrate
(self)
src/lerobot/robots/omx_follower/omx_follower.py:113
↓ 1 callersMethodcalibrate
(self)
src/lerobot/teleoperators/homunculus/homunculus_arm.py:115
↓ 1 callersMethodcalibrate
(self)
src/lerobot/teleoperators/homunculus/homunculus_glove.py:141
↓ 1 callersMethodcalibrate
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:145
↓ 1 callersMethodcalibrate
(self)
src/lerobot/teleoperators/koch_leader/koch_leader.py:88
↓ 1 callersMethodcalibrate
(self)
src/lerobot/teleoperators/omx_leader/omx_leader.py:87
↓ 1 callersMethodcalibrate
(self)
src/lerobot/teleoperators/phone/teleop_phone.py:97
↓ 1 callersMethodcalibrate
(self)
src/lerobot/teleoperators/phone/teleop_phone.py:238
↓ 1 callersMethodcalibrate
(self)
src/lerobot/teleoperators/unitree_g1/exo_serial.py:117
↓ 1 callersMethodcalibrate
(self)
src/lerobot/teleoperators/so_leader/so_leader.py:86
↓ 1 callersMethodcalibrate
Run calibration procedure for OpenArms leader. The calibration procedure: 1. Disable torque (if not already disabled)
src/lerobot/teleoperators/openarm_leader/openarm_leader.py:119
↓ 1 callersMethodcalibrate
(self)
tests/mocks/mock_teleop.py:82
↓ 1 callersMethodcalibrate
(self)
tests/mocks/mock_robot.py:112
↓ 1 callersMethodcan_peek_ahead
Check if we can peek ahead `steps` items. This may involve trying to fill the ahead buffer.
src/lerobot/datasets/utils.py:1368
↓ 1 callersMethodcan_peek_back
Check if we can go back `steps` items without raising an IndexError.
src/lerobot/datasets/utils.py:1362
↓ 1 callersFunctioncdist
(x, y)
src/lerobot/policies/vqbet/vqbet_utils.py:932
↓ 1 callersFunctioncheck_datasets_formats
(repo_ids: list)
benchmarks/video/run_video_benchmark.py:70
↓ 1 callersFunctioncheck_env_attributes_and_types
(env: gym.vector.VectorEnv)
src/lerobot/envs/utils.py:138
↓ 1 callersMethodcheck_forward_kwargs
(self)
src/lerobot/policies/groot/eagle2_hg_model/modeling_eagle2_5_vl.py:163
↓ 1 callersFunctionclean_state_dict
Remove a substring (e.g. '._orig_mod') from all keys in a state dict. Args: state_dict (dict): The original state dict. remo
src/lerobot/processor/migrate_policy_normalization.py:286
↓ 1 callersFunctioncleanup_cameras
Disconnect all cameras.
src/lerobot/scripts/lerobot_find_cameras.py:219
↓ 1 callersMethodclearPort
(self)
src/lerobot/motors/motors_bus.py:196
↓ 1 callersFunctioncmd_forward_loop
Receive commands from ZMQ and forward to DDS.
src/lerobot/robots/unitree_g1/run_g1_server.py:125
↓ 1 callersFunctioncollate
(features: list[dict[str, Any]], eagle_processor: ProcessorMixin)
src/lerobot/policies/groot/processor_groot.py:499
↓ 1 callersMethodcomplementary_data
Processes a 'complementary_data' dictionary. Subclasses must implement this method. Args: complementary_data: The input 'compleme
src/lerobot/processor/pipeline.py:1677
↓ 1 callersMethodcompute_batch_weights
Compute RA-BC weights for a batch. For each sample: 1. Get progress at current frame 2. Get progress at frame + chun
src/lerobot/utils/rabc.py:149
↓ 1 callersFunctioncompute_compression_stats
Compute compression statistics.
src/lerobot/scripts/lerobot_train_tokenizer.py:336
↓ 1 callersFunctioncompute_layer_complete
( layer_idx, inputs_embeds, attention_mask, position_ids, adarms_cond, paligemma, gemma_expert )
src/lerobot/policies/pi0/modeling_pi0.py:221
↓ 1 callersFunctioncompute_layer_complete
( layer_idx, inputs_embeds, attention_mask, position_ids, adarms_cond, paligemma, gemma_expert )
src/lerobot/policies/pi05/modeling_pi05.py:219
↓ 1 callersMethodcompute_loss
This function expects `batch` to have (at least): { "observation.state": (B, n_obs_steps, state_dim) "observ
src/lerobot/policies/diffusion/modeling_diffusion.py:303
↓ 1 callersMethodcompute_loss_actor
( self, observations, observation_features: Tensor | None = None, )
src/lerobot/policies/sac/modeling_sac.py:375
↓ 1 callersMethodcompute_loss_critic
( self, observations, actions, rewards, next_observations, don
src/lerobot/policies/sac/modeling_sac.py:247
↓ 1 callersMethodcompute_loss_discrete_critic
( self, observations, actions, rewards, next_observations, don
src/lerobot/policies/sac/modeling_sac.py:308
↓ 1 callersMethodcompute_loss_temperature
Compute the temperature loss
src/lerobot/policies/sac/modeling_sac.py:367
↓ 1 callersFunctioncompute_quantile_stats_for_dataset
Compute quantile statistics for all episodes in the dataset. Args: dataset: The LeRobot dataset to compute statistics for Returns:
src/lerobot/datasets/v30/augment_dataset_quantile_stats.py:129
↓ 1 callersFunctioncompute_sarm_progress
Compute SARM progress predictions for all frames in a dataset. Args: dataset_repo_id: HuggingFace dataset repo ID or local path
src/lerobot/policies/sarm/compute_rabc_weights.py:463
↓ 1 callersMethodconditional_sample
( self, batch_size: int, global_cond: Tensor | None = None, generator: torch.G
src/lerobot/policies/diffusion/modeling_diffusion.py:202
↓ 1 callersMethodconfigure
Apply any one-time or runtime configuration to the robot. This may include setting motor parameters, control modes, or initial state.
src/lerobot/robots/robot.py:174
↓ 1 callersMethodconfigure
(self)
src/lerobot/robots/hope_jr/hope_jr_arm.py:119
↓ 1 callersMethodconfigure
(self)
src/lerobot/robots/hope_jr/hope_jr_hand.py:149
↓ 1 callersMethodconfigure
(self)
src/lerobot/robots/lekiwi/lekiwi.py:182
↓ 1 callersMethodconfigure
(self)
src/lerobot/robots/reachy2/robot_reachy2.py:139
↓ 1 callersMethodconfigure
(self)
src/lerobot/robots/piper_follower/piper_follower.py:188
↓ 1 callersMethodconfigure
(self)
src/lerobot/robots/so_follower/so_follower.py:156
↓ 1 callersMethodconfigure
Configure motors with appropriate settings.
src/lerobot/robots/openarm_follower/openarm_follower.py:210
↓ 1 callersMethodconfigure
(self)
src/lerobot/robots/koch_follower/koch_follower.py:154
↓ 1 callersMethodconfigure
(self)
src/lerobot/robots/omx_follower/omx_follower.py:137
↓ 1 callersMethodconfigure
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:264
↓ 1 callersMethodconfigure
(self)
src/lerobot/teleoperators/koch_leader/koch_leader.py:134
↓ 1 callersMethodconfigure
(self)
src/lerobot/teleoperators/omx_leader/omx_leader.py:115
↓ 1 callersMethodconfigure
(self)
src/lerobot/teleoperators/so_leader/so_leader.py:129
↓ 1 callersMethodconfigure
Configure motors for manual teleoperation. For manual control, we disable torque so the arm can be moved by hand.
src/lerobot/teleoperators/openarm_leader/openarm_leader.py:171
↓ 1 callersMethodconfigure_parameters
This long function is unfortunately doing something very simple and is being very defensive: We are separating out all parameters of
src/lerobot/policies/vqbet/vqbet_utils.py:234
↓ 1 callersMethodconnect
(self, calibrate: bool = True)
src/lerobot/robots/lekiwi/lekiwi.py:113
↓ 1 callersMethodconnect
Establish communication with the teleoperator. Args: calibrate (bool): If True, automatically calibrate the teleoperator
src/lerobot/teleoperators/teleoperator.py:123
↓ 1 callersMethodconnect
Establish connection to the camera. Args: warmup: If True (default), captures a warmup frame before returning. Useful
src/lerobot/cameras/camera.py:100
↓ 1 callersMethodconnect
Establish connection to the motors.
src/lerobot/motors/motors_bus.py:66
↓ 1 callersMethodconnect
Open the CAN bus and initialize communication. Args: handshake: If True, ping all motors to verify they're present
src/lerobot/motors/damiao/damiao.py:159
↓ 1 callersFunctioncontrol_loop
Main control loop for robot environment interaction. if cfg.mode == "record": then a dataset will be created and recorded Args: env: The
src/lerobot/rl/gym_manipulator.py:569
↓ 1 callersMethodcontrol_loop_action
Reading and performing actions in local queue
src/lerobot/async_inference/robot_client.py:372
↓ 1 callersMethodcontrol_loop_observation
(self, task: str, verbose: bool = False)
src/lerobot/async_inference/robot_client.py:410
↓ 1 callersFunctionconvert_data
(root: Path, new_root: Path, data_file_size_in_mb: int)
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:198
↓ 1 callersFunctionconvert_dataset
( repo_id: str, branch: str | None = None, data_file_size_in_mb: int | None = None, video_file
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:447
↓ 1 callersFunctionconvert_episodes_metadata
(root, new_root, episodes_metadata, episodes_video_metadata=None)
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:404
↓ 1 callersFunctionconvert_info
(root, new_root, data_file_size_in_mb, video_file_size_in_mb)
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:428
↓ 1 callersFunctionconvert_lerobot_dataset_to_cropped_lerobot_dataset
Converts an existing LeRobotDataset by iterating over its episodes and frames, applying cropping and resizing to image observations, and savi
src/lerobot/rl/crop_dataset_roi.py:163
↓ 1 callersFunctionconvert_tasks
(root, new_root)
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:168
↓ 1 callersFunctionconvert_videos
(root: Path, new_root: Path, video_file_size_in_mb: int)
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:263
↓ 1 callersFunctionconvert_videos_of_camera
(root: Path, new_root: Path, video_key: str, video_file_size_in_mb: int)
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:299
↓ 1 callersFunctioncreate_camera_instance
Create and connect to a camera instance based on metadata.
src/lerobot/scripts/lerobot_find_cameras.py:156
↓ 1 callersMethodcreate_commits
(self, additions)
examples/port_datasets/slurm_upload.py:109
↓ 1 callersFunctioncreate_dataset_from_replay_buffer
(tmp_path)
tests/utils/test_replay_buffer.py:77
↓ 1 callersFunctioncreate_dummy_data
()
tests/policies/pi0_pi05/test_pi05_original_vs_lerobot.py:189
↓ 1 callersFunctioncreate_dummy_data
()
tests/policies/pi0_pi05/test_pi0_original_vs_lerobot.py:188
↓ 1 callersFunctioncreate_empty_dataset_info
Create a template dictionary for a new dataset's `info.json`. Args: codebase_version (str): The version of the LeRobot codebase.
src/lerobot/datasets/utils.py:805
↓ 1 callersFunctioncreate_episodes
(episodes_factory)
tests/fixtures/files.py:154
↓ 1 callersFunctioncreate_hf_dataset
(hf_dataset_factory)
tests/fixtures/files.py:165
↓ 1 callersMethodcreate_hf_dataset
(self)
src/lerobot/datasets/lerobot_dataset.py:911
↓ 1 callersFunctioncreate_info
(info_factory)
tests/fixtures/files.py:124
← previousnext →1,501–1,600 of 5,633, ranked by callers