MCPcopy Create free account

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

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

↓ 2 callersMethod_offset_to_target
(self, key: str, offset_deg: float)
src/lerobot/robots/piper_follower/piper_follower.py:227
↓ 2 callersFunction_parse_camera_names
Normalize camera_name into a non-empty list of strings.
src/lerobot/envs/libero.py:35
↓ 2 callersMethod_pi_aloha_decode_state
(self, state)
src/lerobot/policies/smolvla/modeling_smolvla.py:445
↓ 2 callersMethod_plot_denoising_steps_from_tracker
Plot denoising steps from tracker data. Args: tracked_steps: List of DebugStep objects containing debug steps xt_axs:
examples/rtc/eval_dataset.py:785
↓ 2 callersFunction_populate_buffer_for_async_test
Create a small buffer with deterministic 3×128×128 images and 11-D state.
tests/utils/test_replay_buffer.py:617
↓ 2 callersMethod_postprocess_image
Applies color conversion, dimension validation, and rotation to a raw color frame. Args: image (np.ndarray): The raw ima
src/lerobot/cameras/realsense/camera_realsense.py:416
↓ 2 callersMethod_predict_action_chunk
Predict an action chunk based on an observation. Pipeline: 1. Convert raw observation to LeRobot format 2. Apply preprocessor
src/lerobot/async_inference/policy_server.py:332
↓ 2 callersFunction_predict_policy_action_with_runtime_state
( *, observation_frame: dict[str, np.ndarray], policy: PreTrainedPolicy, device: torch.device,
src/lerobot/scripts/recording_hil.py:90
↓ 2 callersMethod_prepare_batch
(self, batch: dict[str, Tensor])
src/lerobot/policies/smolvla/modeling_smolvla.py:304
↓ 2 callersMethod_prepare_global_conditioning
Encode image features and concatenate them all together along with the state vector.
src/lerobot/policies/diffusion/modeling_diffusion.py:238
↓ 2 callersMethod_prepare_state
(self, batch: dict[str, Tensor])
src/lerobot/policies/evo1/modeling_evo1.py:161
↓ 2 callersMethod_preprocess
( self, images: list["torch.Tensor"], do_resize: bool, size: SizeDict,
src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:328
↓ 2 callersMethod_preprocess_images
Preprocess images for the model. Images from LeRobot are typically in [B, C, H, W] format and normalized to [0, 1]. PaliGemma expects
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1031
↓ 2 callersMethod_preprocess_images
Preprocess images for the model. Images from LeRobot are typically in [B, C, H, W] format and normalized to [0, 1]. PaliGemma expects
src/lerobot/policies/pi05/modeling_pi05.py:1138
↓ 2 callersMethod_preprocess_peft_cli_overrides
Preprocess CLI overrides: rename keys and handle method-specific init_type. Args: cli_overrides: Dict of CLI options (wi
src/lerobot/policies/pretrained.py:348
↓ 2 callersMethod_process_camera_batch
(self, img_batch: Tensor)
src/lerobot/values/pistar06/processor_pistar06.py:155
↓ 2 callersMethod_process_tensor
Moves a single tensor to the target device and casts its dtype. Handles multi-GPU scenarios by not moving a tensor if it's already o
src/lerobot/processor/device_processor.py:84
↓ 2 callersFunction_processor_pipeline_needs_observation
( processor: RobotProcessorPipeline[tuple[RobotAction, RobotObservation], RobotAction], )
src/lerobot/scripts/lerobot_teleoperate.py:135
↓ 2 callersMethod_read_current_pose
Reads the instantaneous 6-DoF pose from the connected iOS device via the HEBI SDK. This method fetches the latest feedback packet fr
src/lerobot/teleoperators/phone/teleop_phone.py:136
↓ 2 callersMethod_read_current_pose
Reads the latest 6-DoF pose received from the Android device's WebXR session. This method accesses the most recent pose data stored
src/lerobot/teleoperators/phone/teleop_phone.py:274
↓ 2 callersMethod_read_from_hardware
Reads a single frame directly from the ZMQ socket.
src/lerobot/cameras/zmq/camera_zmq.py:174
↓ 2 callersMethod_read_joint_from_feedback
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:277
↓ 2 callersMethod_reapply_position_calibration
(self, pos: np.ndarray)
src/lerobot/teleoperators/phone/teleop_phone.py:42
↓ 2 callersMethod_reset_server
Flushes server state when new client connects.
src/lerobot/async_inference/policy_server.py:101
↓ 2 callersMethod_rtc_enabled
(self)
src/lerobot/policies/pi0/modeling_pi0.py:1150
↓ 2 callersMethod_rtc_enabled
(self)
src/lerobot/policies/smolvla/modeling_smolvla.py:353
↓ 2 callersMethod_rtc_enabled
(self)
src/lerobot/policies/pi05/modeling_pi05.py:1135
↓ 2 callersMethod_save_episode_metadata
Buffer episode metadata and write to parquet in batches for efficiency. This function accumulates episode metadata in a buffer and flushes it
src/lerobot/datasets/lerobot_dataset.py:327
↓ 2 callersFunction_save_failure_reset_pose
(robot: Any, pose_path: Path)
src/lerobot/scripts/lerobot_human_inloop_record.py:52
↓ 2 callersFunction_save_single_optimizer_state
Save a single optimizer's state to disk.
src/lerobot/optim/optimizers.py:303
↓ 2 callersMethod_send_command_mode
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:179
↓ 2 callersMethod_send_command_to_sdk
Send control command to SDK. Args: linear: Linear velocity command (-1 to 1) angular: Angular velocity command (-1 to
src/lerobot/robots/earthrover_mini_plus/robot_earthrover_mini_plus.py:437
↓ 2 callersMethod_send_gripper_ctrl
(self, gripper_pos_raw: int, enabled: bool)
src/lerobot/teleoperators/piper_leader/piper_leader.py:195
↓ 2 callersMethod_send_mit_mode
(self)
src/lerobot/teleoperators/piper_leader/gravity_compensation.py:113
↓ 2 callersMethod_send_motion_mode
(self)
src/lerobot/robots/piper_follower/piper_follower.py:191
↓ 2 callersMethod_set_gripper_enabled
(self, enabled: bool)
src/lerobot/teleoperators/piper_leader/piper_leader.py:203
↓ 2 callersFunction_slow_reset_all_arms_to_pose
( robot: Any, teleop: Any, target_pose: dict[str, float], duration_s: float = 3.0, )
src/lerobot/scripts/lerobot_human_inloop_record.py:81
↓ 2 callersFunction_stats_entry_to_scalar
(stats_entry: dict[str, Any], key: str)
src/lerobot/rl/acp_dataset_stats.py:34
↓ 2 callersMethod_stop_read_thread
Signals the background read thread to stop and waits for it to join.
src/lerobot/cameras/opencv/camera_opencv.py:474
↓ 2 callersMethod_stop_read_thread
Signals the background read thread to stop and waits for it to join.
src/lerobot/cameras/realsense/camera_realsense.py:514
↓ 2 callersFunction_teleop_needs_robot_observation
( display_data: bool, teleop_action_processor: RobotProcessorPipeline[tuple[RobotAction, RobotObservat
src/lerobot/scripts/lerobot_teleoperate.py:141
↓ 2 callersMethod_time_action_chunk
Turn a chunk of actions into a list of TimedAction instances, with the first action corresponding to t_0 and the rest corresponding to
src/lerobot/async_inference/policy_server.py:314
↓ 2 callersFunction_to_1d_float
(values: list | np.ndarray)
src/lerobot/scripts/value_infer_viz.py:100
↓ 2 callersFunction_to_2tuple
Minimal replacement for timm.layers.to_2tuple.
src/lerobot/policies/xvla/soft_transformer.py:31
↓ 2 callersMethod_tokenize_action
Tokenizes the action tensor and creates a mask. Args: action: The input action tensor to tokenize. Shape: (B, H, action_
src/lerobot/processor/tokenizer_processor.py:433
↓ 2 callersMethod_tokenize_text
A wrapper around the tokenizer call. Args: text: A string or list of strings to tokenize. Returns:
src/lerobot/processor/tokenizer_processor.py:253
↓ 2 callersMethod_train_step
Single training step for one annotation scheme. Implements 75%/25% GT/predicted stage conditioning. Args: img_e
src/lerobot/policies/sarm/modeling_sarm.py:644
↓ 2 callersMethod_unnormalize
(self, ids_values: dict[int, float])
src/lerobot/motors/motors_bus.py:867
↓ 2 callersFunction_validate_feature_names
Validate that feature names do not contain invalid characters. Args: features (dict): The LeRobot features dictionary. Raises:
src/lerobot/datasets/utils.py:612
↓ 2 callersFunction_validate_loading_info
(repo_id: str, model_label: str, loading_info: dict[str, list] | None)
src/lerobot/values/pistar06/modeling_pistar06.py:173
↓ 2 callersFunction_validate_piper_follower_config
(config: PiperFollowerConfigBase)
src/lerobot/robots/piper_follower/config_piper_follower.py:64
↓ 2 callersFunction_validate_piper_leader_config
(config: PiperLeaderConfigBase)
src/lerobot/teleoperators/piper_leader/config_piper_leader.py:74
↓ 2 callersMethod_wait_enable
(self, timeout_s: float)
src/lerobot/teleoperators/piper_leader/piper_leader.py:192
↓ 2 callersMethod_wait_image_writer
Wait for asynchronous image writer to finish.
src/lerobot/datasets/lerobot_dataset.py:1569
↓ 2 callersMethodaction
(self, port, id)
src/lerobot/motors/motors_bus.py:220
↓ 2 callersFunctionactivate
()
website/app.js:558
↓ 2 callersMethodaddParam
(self, id)
src/lerobot/motors/motors_bus.py:262
↓ 2 callersMethodadd_data
(self, new_data)
src/lerobot/robots/unitree_g1/robot_kinematic_processor.py:47
↓ 2 callersFunctionappend_or_create_parquet_file
Appends data to an existing parquet file or creates a new one based on size constraints. Manages file rotation when size limits are exceeded to p
src/lerobot/datasets/aggregate.py:555
↓ 2 callersFunctionapplyLanguage
(lang)
website/app.js:356
↓ 2 callersFunctionapplyTheme
(theme)
website/app.js:378
↓ 2 callersFunctionapply_rotary_pos_emb_vision
( q: torch.Tensor, k: torch.Tensor, cos: torch.Tensor, sin: torch.Tensor )
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:213
↓ 2 callersFunctionassert_observation_equal
Helper to assert two observations are equal.
tests/transport/test_transport_utils.py:523
↓ 2 callersFunctionassert_video_frames_integrity
Test that video frames are correctly preserved and frame indices are updated.
tests/datasets/test_aggregate.py:144
↓ 2 callersMethodasync_read
Reads the latest available frame asynchronously. Args: timeout_ms (float): Maximum time in milliseconds to wait for a fr
src/lerobot/cameras/zmq/camera_zmq.py:303
↓ 2 callersMethodaxes
(self, path: str, axis_len: float = 0.1, axis_w: int = 6)
src/lerobot/teleoperators/unitree_g1/exo_ik.py:69
↓ 2 callersMethodbroadcast_ping
(self, num_retry: int = 0, raise_on_error: bool = False)
src/lerobot/motors/feetech/feetech.py:405
↓ 2 callersMethodbroadcast_ping
(self, num_retry: int = 0, raise_on_error: bool = False)
src/lerobot/motors/dynamixel/dynamixel.py:249
↓ 2 callersMethodbuild
(self, optimizer: Optimizer, num_training_steps: int)
src/lerobot/optim/schedulers.py:64
↓ 2 callersFunctionbuild_acp_tagged_task
(task: str | None, is_positive: bool)
src/lerobot/rl/acp_tags.py:27
↓ 2 callersFunctionbuild_action_space
Instantiate a registered action space by name.
src/lerobot/policies/xvla/action_hub.py:44
↓ 2 callersMethodbuild_broadcast_ping_stub
(self, ids: list[int] | None = None, num_invalid_try: int = 0)
tests/mocks/mock_feetech.py:308
↓ 2 callersMethodbuild_ping_stub
(self, scs_id: int, num_invalid_try: int = 0, error: int = 0)
tests/mocks/mock_feetech.py:320
↓ 2 callersMethodbuild_sequential_sync_read_stub
( self, address: int, length: int, ids_values: dict[int, list[int]] | None = None )
tests/mocks/mock_feetech.py:396
↓ 2 callersMethodbuild_sync_write_stub
( self, address: int, length: int, ids_values: dict[int, int], num_invalid_try: int = 0 )
tests/mocks/mock_feetech.py:418
↓ 2 callersFunctioncalibrate
(cfg: CalibrateConfig)
src/lerobot/scripts/lerobot_calibrate.py:83
↓ 2 callersFunctioncast_stats_to_numpy
Recursively cast numerical values in a stats dictionary to numpy arrays. Args: stats (dict): The statistics dictionary. Returns:
src/lerobot/datasets/utils.py:316
↓ 2 callersFunctioncheck_version_compatibility
Check for version compatibility between a dataset and the current codebase. Args: repo_id (str): The repository ID for logging purposes.
src/lerobot/datasets/utils.py:463
↓ 2 callersFunctioncleanup_memory
Clean up GPU/MPS memory to prevent OOM errors between tests.
tests/policies/groot/test_groot_vs_original.py:69
↓ 2 callersFunctioncleanup_memory
Clean up GPU/MPS memory to prevent OOM errors between tests.
tests/policies/groot/test_groot_lerobot.py:52
↓ 2 callersMethodclearParam
(self)
src/lerobot/motors/motors_bus.py:264
↓ 2 callersFunctionclone_state
(state: dict)
tests/utils/test_replay_buffer.py:38
↓ 2 callersMethodclosePort
(self)
src/lerobot/motors/motors_bus.py:195
↓ 2 callersMethodclosePort
(self)
tests/mocks/mock_motors_bus.py:96
↓ 2 callersFunctionclose_service_stub
(channel, server)
tests/rl/test_actor.py:62
↓ 2 callersFunctioncompute_forward_kinematics_joints_to_ee
( joints: dict[str, Any], kinematics: RobotKinematics, motor_names: list[str] )
src/lerobot/robots/so_follower/robot_kinematic_processor.py:404
↓ 2 callersMethodcompute_g1_joints_from_exo
Performs FK on exoskeleton to get end-effector poses in world frame, after which it solves IK on G1 to return joint angles matching t
src/lerobot/teleoperators/unitree_g1/exo_ik.py:309
↓ 2 callersMethodcompute_loss
(self, pred: torch.Tensor, target: torch.Tensor)
src/lerobot/policies/xvla/action_hub.py:77
↓ 2 callersFunctionconcat_data_files
(paths_to_cat, new_root, chunk_idx, file_idx, image_keys)
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:177
↓ 2 callersFunctionconcatenate_batch_transitions
Concatenates two BatchTransition objects into one. This function merges the right BatchTransition into the left one by concatenating all
src/lerobot/rl/buffer.py:761
↓ 2 callersMethodconnect
(self)
src/lerobot/teleoperators/phone/teleop_phone.py:387
↓ 2 callersMethodconnect
(self)
src/lerobot/teleoperators/keyboard/teleop_keyboard.py:90
↓ 2 callersMethodconnect
(self, *args)
tests/test_cli_peft.py:167
↓ 2 callersMethodcontrol_loop
Combined function for executing actions and streaming observations
src/lerobot/async_inference/robot_client.py:460
↓ 2 callersFunctionconvert_features_to_policy_features
Converts a feature dictionary from the old config format to the new `PolicyFeature` format. Args: features_dict: The feature diction
src/lerobot/processor/migrate_policy_normalization.py:365
↓ 2 callersFunctionconvert_lerobot_to_original_format
Convert LeRobot batch format to original Groot format. The original Groot expects observations in this format: { "video.<camera_name>
tests/policies/groot/test_groot_vs_original.py:244
↓ 2 callersFunctioncreate_branch
Create a branch on an existing Hugging Face repo. Deletes the branch if it already exists before creating it. Args: repo_id (str): T
src/lerobot/datasets/utils.py:926
↓ 2 callersMethodcreate_chunks
(self, lst, n)
examples/port_datasets/slurm_upload.py:103
↓ 2 callersFunctioncreate_default_train_batch
( batch_size: int = 8, state_dim: int = 10, action_dim: int = 10 )
tests/policies/test_sac_policy.py:104
↓ 2 callersFunctioncreate_dummy_action
(batch_size: int, action_dim: int = 10)
tests/policies/test_sac_policy.py:100
← previousnext →801–900 of 5,633, ranked by callers