MCPcopy Create free account

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

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

↓ 1 callersMethod_instantiate_step
Instantiate a single processor step with config overrides. This method handles the configuration merging and instantiation logic: **
src/lerobot/processor/pipeline.py:857
↓ 1 callersFunction_iter_episode_batches
Generator that yields batches of episode indices for video encoding. Groups episodes into batches that respect size and memory constraints: -
src/lerobot/datasets/dataset_tools.py:1225
↓ 1 callersFunction_keep_episodes_from_video_with_av
Keep only specified episodes from a video file using PyAV. This function decodes frames from specified time ranges and re-encodes them with p
src/lerobot/datasets/dataset_tools.py:567
↓ 1 callersMethod_lerobotdataset_to_transitions
Convert a LeRobotDataset into a list of RL (s, a, r, s', done) transitions. Args: dataset (LeRobotDataset):
src/lerobot/rl/buffer.py:615
↓ 1 callersMethod_load_calibration
Helper to load calibration data from the specified file. Args: fpath (Path | None): Optional path to the calibration fil
src/lerobot/robots/robot.py:151
↓ 1 callersMethod_load_calibration
Helper to load calibration data from the specified file. Args: fpath (Path | None): Optional path to the calibration fil
src/lerobot/teleoperators/teleoperator.py:149
↓ 1 callersMethod_load_calibration
(self)
src/lerobot/teleoperators/unitree_g1/exo_serial.py:98
↓ 1 callersMethod_load_current
(self)
src/lerobot/motors/calibration_gui.py:348
↓ 1 callersFunction_load_dataset_distributed
(cfg: ValueInferencePipelineConfig, accelerator: Accelerator)
src/lerobot/scripts/lerobot_value_infer.py:134
↓ 1 callersMethod_load_episode_annotations
Load subtask annotations for an episode from DataFrame.
src/lerobot/policies/sarm/processor_sarm.py:138
↓ 1 callersFunction_load_episode_with_stats
Load a single episode's metadata including stats from parquet file. Args: src_dataset: Source dataset episode_idx: Episode index
src/lerobot/datasets/dataset_tools.py:59
↓ 1 callersMethod_load_exo_models
(self, assets_dir: str)
src/lerobot/teleoperators/unitree_g1/exo_ik.py:177
↓ 1 callersFunction_load_language_model
( repo_id: str, revision: str | None, dtype: torch.dtype, )
src/lerobot/values/pistar06/modeling_pistar06.py:215
↓ 1 callersFunction_load_module_from_path
(path: str, module_name: str | None = None)
src/lerobot/envs/utils.py:227
↓ 1 callersMethod_load_pretrained_vision_encoder
Set up CNN encoder
src/lerobot/policies/sac/modeling_sac.py:938
↓ 1 callersFunction_load_real_batch_or_skip
(batch_size: int)
tests/training/test_acp_prompt_hook.py:114
↓ 1 callersMethod_load_save_info
( cls, pretrained_name_or_path: str | Path, *, force_download: bool = False,
src/lerobot/values/pistar06/modeling_pistar06.py:516
↓ 1 callersMethod_load_step_state
Load state dictionary for a processor step if available. This method implements conditional state loading with local/Hub fallback: *
src/lerobot/processor/pipeline.py:915
↓ 1 callersMethod_load_temporal_proportions
Load temporal proportions based on annotation_mode.
src/lerobot/policies/sarm/modeling_sarm.py:439
↓ 1 callersFunction_load_value_policy_and_processors
( cfg: ValueInferencePipelineConfig, dataset: LeRobotDataset, pretrained_dir: Path, device: to
src/lerobot/scripts/lerobot_value_infer.py:399
↓ 1 callersMethod_make_backtrackable_dataset
(self, dataset: datasets.IterableDataset)
src/lerobot/datasets/streaming_dataset.py:253
↓ 1 callersFunction_make_bus_mock
Return a bus mock with just the attributes used by the robot.
tests/robots/test_so100_follower.py:28
↓ 1 callersFunction_make_bus_mock
()
tests/teleoperators/test_so_leader.py:25
↓ 1 callersFunction_make_cam_manager_mock
()
tests/cameras/test_reachy2_camera.py:36
↓ 1 callersMethod_make_data_spec
Makes the data spec for np.memmap.
src/lerobot/datasets/online_buffer.py:134
↓ 1 callersFunction_make_env_fns
Build n_envs factory callables for a single (suite, task_id).
src/lerobot/envs/libero.py:356
↓ 1 callersMethod_make_envs_task
(self, env_name: str)
src/lerobot/envs/metaworld.py:152
↓ 1 callersMethod_make_envs_task
(self, task_suite: Any, task_id: int = 0)
src/lerobot/envs/libero.py:230
↓ 1 callersFunction_make_memmap_safe
Make a numpy memmap with checks on available disk space first. Expected kwargs are: "filename", "dtype" (must by np.dtype), "mode" and "shape"
src/lerobot/datasets/online_buffer.py:34
↓ 1 callersFunction_make_noise_scheduler
Factory for noise scheduler instances of the requested type. All kwargs are passed to the scheduler.
src/lerobot/policies/diffusion/modeling_diffusion.py:151
↓ 1 callersMethod_make_padding_camera_frame
Variable-shape padding frame for given camera keys, given in (H, W, C)
src/lerobot/datasets/streaming_dataset.py:270
↓ 1 callersFunction_make_processors_from_policy_config
Create pre- and post-processors from a policy configuration using dynamic imports. This is used as a helper function to import processor factorie
src/lerobot/policies/factory.py:581
↓ 1 callersFunction_make_reachy2_sdk_mock
()
tests/robots/test_reachy2.py:57
↓ 1 callersFunction_make_reachy2_sdk_mock
()
tests/teleoperators/test_reachy2_teleoperator.py:49
↓ 1 callersMethod_mat_to_rotate6d
Convert batched rotation matrices (B, 3, 3) into 6D rotation representation (B, 6). Args: rot_mats (Tensor): Rotation ma
src/lerobot/policies/xvla/processor_xvla.py:189
↓ 1 callersFunction_maybe_truncate
Truncate tag to max_tag_length characters if required. wandb rejects tags longer than 64 characters. See: https://github.com/wandb/wa
src/lerobot/rl/wandb_utils.py:34
↓ 1 callersMethod_mit_control
Send MIT control command to a motor.
src/lerobot/motors/damiao/damiao.py:464
↓ 1 callersMethod_normalize
(self, values: dict[str, int])
src/lerobot/teleoperators/homunculus/homunculus_arm.py:197
↓ 1 callersMethod_normalize
(self, values: dict[str, int])
src/lerobot/teleoperators/homunculus/homunculus_glove.py:228
↓ 1 callersFunction_normalize_label
(value: Any)
src/lerobot/scripts/lerobot_dataset_report.py:65
↓ 1 callersMethod_pad_for_batching
Pads images on the `num_of_patches` dimension with zeros to form a batch of same number of patches. Args: pixel_values (
src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:306
↓ 1 callersMethod_pad_for_patching
Pad an image to a target resolution while maintaining aspect ratio.
src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:221
↓ 1 callersFunction_pad_last_dim
(vector: Tensor, new_dim: int)
src/lerobot/values/pistar06/processor_pistar06.py:39
↓ 1 callersMethod_paligemma_tokens_to_act_tokens
Converts PaliGemma tokens back to action tokens (inverse of _act_tokens_to_paligemma_tokens). Args: tokens: PaliGemma to
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1102
↓ 1 callersFunction_parse_episodes_arg
(episodes_arg: str, total_episodes: int)
src/lerobot/scripts/value_infer_viz.py:73
↓ 1 callersMethod_parse_observation_json
Parses the JSON observation string.
src/lerobot/robots/lekiwi/lekiwi_client.py:172
↓ 1 callersMethod_pi_aloha_encode_actions
(self, actions)
src/lerobot/policies/smolvla/modeling_smolvla.py:454
↓ 1 callersMethod_pi_aloha_encode_actions_inv
(self, actions)
src/lerobot/policies/smolvla/modeling_smolvla.py:463
↓ 1 callersFunction_piper_mode_to_int
(value: Any)
src/lerobot/utils/piper_sdk.py:82
↓ 1 callersMethod_plot_no_rtc_xt_reference
Plot final no-RTC x_t data as orange dashed line on the RTC chart for comparison. Args: no_rtc_tracked_steps: List of DebugStep o
examples/rtc/eval_dataset.py:873
↓ 1 callersMethod_poll_and_get_latest_message
Polls the ZMQ socket for a limited time and returns the latest message string.
src/lerobot/robots/lekiwi/lekiwi_client.py:143
↓ 1 callersMethod_postprocess_image
Applies color conversion, dimension validation, and rotation to a raw frame. Args: image (np.ndarray): The raw image fra
src/lerobot/cameras/opencv/camera_opencv.py:388
↓ 1 callersMethod_prep_lang
Prepare language embeddings for fusion. Accepts lang_emb of shape: - (B, text_emb_dim) -> broadcast across time
src/lerobot/policies/sarm/modeling_sarm.py:103
↓ 1 callersMethod_prep_lang
Prepare language embeddings for fusion.
src/lerobot/policies/sarm/modeling_sarm.py:238
↓ 1 callersMethod_prepare_4d_causal_attention_mask_with_cache_position
Creates a causal 4D mask of shape `(batch_size, 1, query_length, key_value_length)` from a 2D mask of shape `(batch_size, key_value_l
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:2710
↓ 1 callersMethod_prepare_action_targets
(self, batch: dict[str, Tensor])
src/lerobot/policies/xvla/modeling_xvla.py:361
↓ 1 callersMethod_prepare_actions
(self, batch: dict[str, Tensor])
src/lerobot/policies/evo1/modeling_evo1.py:209
↓ 1 callersMethod_prepare_and_fuse_embeddings
( self, prompts: list[str], vit_embeds: torch.Tensor, image_masks: torch.Tenso
src/lerobot/policies/evo1/internvl3_embedder.py:312
↓ 1 callersFunction_prepare_array_for_stats
Prepare array for statistics computation by reshaping according to axis. Args: array: Input data array axis: Axis or axes along w
src/lerobot/datasets/compute_stats.py:363
↓ 1 callersMethod_prepare_images
(self, batch: dict[str, Tensor])
src/lerobot/policies/xvla/modeling_xvla.py:306
↓ 1 callersMethod_prepare_images
(self, observation: dict[str, Any])
src/lerobot/values/pistar06/processor_pistar06.py:158
↓ 1 callersMethod_prepare_inference_action_mask
(self, batch_size: int)
src/lerobot/policies/evo1/modeling_evo1.py:258
↓ 1 callersMethod_prepare_state
(self, batch: dict[str, Tensor], batch_size: int, device: torch.device)
src/lerobot/policies/xvla/modeling_xvla.py:298
↓ 1 callersMethod_preprocess_images
( self, image_tensors_batch: list[list[Image.Image | torch.Tensor]] )
src/lerobot/policies/evo1/internvl3_embedder.py:225
↓ 1 callersMethod_preprocess_images
(self, images: Tensor, image_attention_mask: Tensor)
src/lerobot/values/pistar06/modeling_pistar06.py:349
↓ 1 callersMethod_process_observation
Processes both image and robot_state observations from LIBERO.
src/lerobot/processor/env_processor.py:49
↓ 1 callersMethod_process_observation
Processes both image and policy state observations from IsaacLab Arena.
src/lerobot/processor/env_processor.py:178
↓ 1 callersMethod_process_observation
Processes both image and state observations.
src/lerobot/processor/observation_processor.py:94
↓ 1 callersMethod_process_observation
Processes both image and robot_state observations from LIBERO.
src/lerobot/policies/xvla/processor_xvla.py:126
↓ 1 callersMethod_process_single_image
Processes a single NumPy image array into a channel-first, normalized tensor. Args: img: A NumPy array representing the
src/lerobot/processor/observation_processor.py:55
↓ 1 callersMethod_quat2axisangle
Convert batched quaternions to axis-angle format. Only accepts torch tensors of shape (B, 4). Args: quat (Tensor
src/lerobot/processor/env_processor.py:114
↓ 1 callersMethod_query_hf_dataset
Query dataset for indices across keys, skipping video keys. Tries column-first [key][indices] for speed, falls back to row-first.
src/lerobot/datasets/lerobot_dataset.py:1000
↓ 1 callersMethod_query_videos
Note: When using data workers (e.g. DataLoader with num_workers>0), do not call this function in the main process (e.g. by using a second Data
src/lerobot/datasets/lerobot_dataset.py:1028
↓ 1 callersMethod_query_videos
Note: When using data workers (e.g. DataLoader with num_workers>0), do not call this function in the main process (e.g. by using a second Data
src/lerobot/datasets/streaming_dataset.py:381
↓ 1 callersMethod_read_firmware_version
(self, motor_ids: list[int], raise_on_error: bool = False)
src/lerobot/motors/feetech/feetech.py:426
↓ 1 callersMethod_read_from_hardware
(self)
src/lerobot/cameras/opencv/camera_opencv.py:339
↓ 1 callersMethod_read_from_hardware
(self)
src/lerobot/cameras/realsense/camera_realsense.py:363
↓ 1 callersMethod_read_gripper_from_ctrl
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:287
↓ 1 callersMethod_read_gripper_from_feedback
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:294
↓ 1 callersMethod_read_joint_from_ctrl
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:267
↓ 1 callersMethod_read_key
(self)
src/lerobot/utils/control_utils.py:121
↓ 1 callersMethod_read_model_number
(self, motor_ids: list[int], raise_on_error: bool = False)
src/lerobot/motors/feetech/feetech.py:445
↓ 1 callersMethod_read_q_v
(self)
src/lerobot/teleoperators/piper_leader/gravity_compensation.py:125
↓ 1 callersMethod_record_ranges_of_motion
(self)
src/lerobot/robots/piper_follower/piper_follower.py:236
↓ 1 callersMethod_record_ranges_of_motion
Interactively record the min/max encoder values of each joint. Move the joints while the method streams live positions. Press :kbd:`Enter` to
src/lerobot/teleoperators/homunculus/homunculus_arm.py:136
↓ 1 callersMethod_record_ranges_of_motion
Interactively record the min/max encoder values of each joint. Move the joints while the method streams live positions. Press :kbd:`Enter` to
src/lerobot/teleoperators/homunculus/homunculus_glove.py:167
↓ 1 callersMethod_record_ranges_of_motion
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:385
↓ 1 callersMethod_refresh_command_mode_if_needed
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:184
↓ 1 callersMethod_refresh_mit_mode_if_needed
(self)
src/lerobot/teleoperators/piper_leader/gravity_compensation.py:118
↓ 1 callersMethod_refresh_motion_mode_if_needed
(self)
src/lerobot/robots/piper_follower/piper_follower.py:196
↓ 1 callersMethod_refresh_motor
Refresh motor status and return the response.
src/lerobot/motors/damiao/damiao.py:341
↓ 1 callersMethod_register_handlers
Attach the internal _signal_handler to a subset of POSIX signals.
src/lerobot/rl/process.py:54
↓ 1 callersMethod_remote_state_from_obs
Extracts frames, and state from the parsed observation.
src/lerobot/robots/lekiwi/lekiwi_client.py:195
↓ 1 callersMethod_replace_actions_queue
Replace the queue with new actions (RTC mode). Discards the first `real_delay` actions since they correspond to the time spent during
src/lerobot/policies/rtc/action_queue.py:156
↓ 1 callersFunction_replace_submodules
Args: root_module: The module for which the submodules need to be replaced predicate: Takes a module as an argument and must retu
src/lerobot/policies/diffusion/modeling_diffusion.py:516
↓ 1 callersFunction_replace_submodules
Args: root_module: The module for which the submodules need to be replaced predicate: Takes a module as an argument and must retu
src/lerobot/policies/vqbet/modeling_vqbet.py:725
↓ 1 callersMethod_reset_parameters
Xavier-uniform initialization of the transformer parameters as in the original code.
src/lerobot/policies/act/modeling_act.py:372
↓ 1 callersFunction_reshape_for_feature_stats
Reshape statistics for feature-wise computation (axis=(1,)).
src/lerobot/datasets/compute_stats.py:307
↓ 1 callersFunction_reshape_for_global_stats
Reshape statistics for global reduction (axis=None).
src/lerobot/datasets/compute_stats.py:319
↓ 1 callersFunction_reshape_for_image_stats
Reshape statistics for image data (axis=(0,2,3)).
src/lerobot/datasets/compute_stats.py:286
← previousnext →1,301–1,400 of 5,633, ranked by callers