MCPcopy Create free account

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

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

↓ 1 callersMethod_create_custom_attention_mask_fast
Create custom 2D attention mask. Attention rules: - Images + Language: bidirectional among themselves - FAST: attend to image
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:443
↓ 1 callersMethod_create_groot_model
Create and initialize the GR00T model using Isaac-GR00T API. This is only called when creating a NEW policy (not when loading from checkpoint
src/lerobot/policies/groot/modeling_groot.py:70
↓ 1 callersMethod_create_single_encoder
(self)
src/lerobot/policies/sac/reward_model/modeling_classifier.py:164
↓ 1 callersFunction_curve_points
( values: np.ndarray, current_step: int, x0: int, y0: int, width: int, height: int,
src/lerobot/scripts/value_infer_viz.py:125
↓ 1 callersMethod_decode_image_from_b64
Decodes a base64 encoded image string to an OpenCV image.
src/lerobot/robots/lekiwi/lekiwi_client.py:180
↓ 1 callersMethod_decode_motor_state
Decode motor state from CAN data. Returns: (position_deg, velocity_deg_s, torque, temp_mos, temp_rotor)
src/lerobot/motors/damiao/damiao.py:542
↓ 1 callersFunction_default_failure_reset_pose_path
(cfg: RecordConfig)
src/lerobot/scripts/lerobot_human_inloop_record.py:42
↓ 1 callersMethod_degps_to_raw
(degps: float)
src/lerobot/robots/lekiwi/lekiwi.py:208
↓ 1 callersFunction_deserialize
Recursively overwrite the structure in `target` with data from `source`, performing strict checks on structure and type. Retu
src/lerobot/utils/io_utils.py:46
↓ 1 callersMethod_detect_device
Detects the torch.device from existing tensors in the transition. It checks tensors in the observation dictionary first, then the ac
src/lerobot/processor/tokenizer_processor.py:227
↓ 1 callersMethod_disable_torque
(self, motor: int, model: str, num_retry: int = 0)
src/lerobot/motors/motors_bus.py:648
↓ 1 callersFunction_download_hub_file
Parse `cfg_str` (hub URL), enforce `trust_remote_code`, and return (repo_id, file_path, local_file, revision).
src/lerobot/envs/utils.py:259
↓ 1 callersMethod_drain_pressed_keys
Update current_pressed state from event queue without clearing held keys
src/lerobot/teleoperators/keyboard/teleop_keyboard.py:353
↓ 1 callersMethod_draw_dropdown
(self)
src/lerobot/motors/calibration_gui.py:286
↓ 1 callersFunction_dummy_batch
Create a dummy batch using the new format with observation.* and next.* keys.
tests/processor/test_batch_conversion.py:24
↓ 1 callersMethod_dynamic_frequency_update
dynamic RoPE layers should recompute `inv_freq` in the following situations: 1 - growing beyond the cached sequence length (allow sca
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:615
↓ 1 callersMethod_encode_images
Encode image features from cached observations. This function takes pre-encoded image features from the cache and applies spatial embeddings
src/lerobot/policies/sac/modeling_sac.py:592
↓ 1 callersMethod_encode_images
(self, flat_images: Tensor)
src/lerobot/values/pistar06/modeling_pistar06.py:324
↓ 1 callersMethod_encode_images_batch
Encode a batch of images using CLIP. Args: images: Batched images with shape: (B, T, C, H, W) Returns: Encod
src/lerobot/policies/sarm/processor_sarm.py:401
↓ 1 callersMethod_encode_language
(self, input_ids: Tensor, attention_mask: Tensor)
src/lerobot/values/pistar06/modeling_pistar06.py:335
↓ 1 callersMethod_encode_temporary_episode_video
Use ffmpeg to convert frames stored as png into mp4 videos. Note: `encode_video_frames` is a blocking call. Making it asynchronous sh
src/lerobot/datasets/lerobot_dataset.py:1574
↓ 1 callersMethod_encode_text_clip
Encode text using CLIP text encoder (per SARM paper A.4). Args: text: Task description text to encode batch_size: Bat
src/lerobot/policies/sarm/processor_sarm.py:452
↓ 1 callersMethod_ensure_gravity_comp_loop
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:236
↓ 1 callersMethod_ensure_hf_dataset_loaded
Lazy load the HF dataset only when needed for reading.
src/lerobot/datasets/lerobot_dataset.py:1049
↓ 1 callersFunction_ensure_not_lfs_pointer
(path_obj: Any, relpath: str)
src/lerobot/teleoperators/piper_leader/piper_leader.py:53
↓ 1 callersMethod_ensure_process
(self)
src/lerobot/teleoperators/bi_piper_leader/bi_piper_leader.py:100
↓ 1 callersFunction_estimate_frame_size_via_calibration
Estimate MB per frame by encoding a small calibration sample. Encodes a representative sample of frames using the exact codec parameters to m
src/lerobot/datasets/dataset_tools.py:1282
↓ 1 callersFunction_export_overlay_videos
( dataset: LeRobotDataset, value_field: str, advantage_field: str, indicator_field: str, v
src/lerobot/scripts/value_infer_viz.py:547
↓ 1 callersFunction_export_single_episode
( src_video_path: Path, dst_video_path: Path, ep_values: np.ndarray, ep_advantages: np.ndarray
src/lerobot/scripts/value_infer_viz.py:372
↓ 1 callersFunction_export_single_episode_multiview
( src_video_paths: list[Path], camera_labels: list[str], dst_video_path: Path, ep_values: np.n
src/lerobot/scripts/value_infer_viz.py:449
↓ 1 callersMethod_extend_pe
(self, new_max_len)
src/lerobot/policies/evo1/flow_matching.py:23
↓ 1 callersFunction_extract_complementary_data
Extract complementary data from a batch dictionary. This includes padding flags, task description, and indices. Args: batch: Th
src/lerobot/processor/converters.py:157
↓ 1 callersFunction_extract_hidden_size
(model: nn.Module)
src/lerobot/values/pistar06/modeling_pistar06.py:145
↓ 1 callersFunction_extract_indicators
(values: Any, batch_size: int)
src/lerobot/rl/acp_hook.py:27
↓ 1 callersFunction_extract_vision_feature_size
(model: nn.Module)
src/lerobot/values/pistar06/modeling_pistar06.py:157
↓ 1 callersMethod_find_exo_ee
(self, model, ee_name: str = "ee")
src/lerobot/teleoperators/unitree_g1/exo_ik.py:164
↓ 1 callersMethod_find_serial_number_from_name
Finds the serial number for a given unique camera name.
src/lerobot/cameras/realsense/camera_realsense.py:255
↓ 1 callersMethod_find_single_motor_p0
(self, motor: str, initial_baudrate: int | None = None)
src/lerobot/motors/feetech/feetech.py:175
↓ 1 callersMethod_find_single_motor_p1
(self, motor: str, initial_baudrate: int | None = None)
src/lerobot/motors/feetech/feetech.py:197
↓ 1 callersMethod_fix_pytorch_state_dict_keys
Fix state dict keys to match current model architecture.
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:978
↓ 1 callersMethod_fix_pytorch_state_dict_keys
Fix state dict keys to match current model architecture.
src/lerobot/policies/pi05/modeling_pi05.py:1050
↓ 1 callersMethod_flash_attention_forward
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token first unpad the input, th
src/lerobot/policies/xvla/modeling_florence2.py:1018
↓ 1 callersFunction_flatten_episode_tasks
(task_value: Any)
src/lerobot/scripts/lerobot_dataset_report.py:78
↓ 1 callersFunction_format_episode_spec
(episode_indices: list[int])
src/lerobot/scripts/lerobot_export_boundary_frames.py:157
↓ 1 callersFunction_fractions_to_episode_indices
Convert split fractions to episode indices.
src/lerobot/datasets/dataset_tools.py:445
↓ 1 callersMethod_freeze_encoder
Freeze the encoder parameters.
src/lerobot/policies/sac/reward_model/modeling_classifier.py:159
↓ 1 callersFunction_from_hf_dataset_scan
(dataset: Any, indicator_field: str)
src/lerobot/rl/acp_dataset_stats.py:75
↓ 1 callersFunction_from_meta_stats
(dataset: Any, indicator_field: str)
src/lerobot/rl/acp_dataset_stats.py:43
↓ 1 callersMethod_frozen_checkpoint_prefixes
(self)
src/lerobot/values/pistar06/modeling_pistar06.py:481
↓ 1 callersMethod_frozen_joint_indices
(self)
src/lerobot/teleoperators/unitree_g1/exo_ik.py:154
↓ 1 callersMethod_generate_joints_dict
(self)
src/lerobot/robots/reachy2/robot_reachy2.py:151
↓ 1 callersMethod_generate_joints_dict
(self)
src/lerobot/teleoperators/reachy2_teleoperator/reachy2_teleoperator.py:94
↓ 1 callersMethod_generate_perturbed_task
Generate a random perturbed task string for language perturbation.
src/lerobot/policies/sarm/processor_sarm.py:125
↓ 1 callersMethod_get_action_chunk
Get an action chunk from the policy. The chunk contains only
src/lerobot/async_inference/policy_server.py:324
↓ 1 callersMethod_get_annotation_config
Get global subtask names and temporal proportions for an annotation type.
src/lerobot/policies/sarm/processor_sarm.py:132
↓ 1 callersMethod_get_async_iterator
Create an iterator that continuously yields prefetched batches in a background thread. The design is intentionally simple and avoids
src/lerobot/rl/buffer.py:335
↓ 1 callersMethod_get_batch_size
Determine batch size from batch.
src/lerobot/utils/rabc.py:270
↓ 1 callersMethod_get_camera_frames
Get camera frames from SDK using v2 endpoints with caching fallback. Returns: dict: Dictionary with 'front' and 'rear' keys conta
src/lerobot/robots/earthrover_mini_plus/robot_earthrover_mini_plus.py:313
↓ 1 callersMethod_get_data
Polls the video socket for the latest observation data. Attempts to retrieve and decode the latest message within a short timeout.
src/lerobot/robots/lekiwi/lekiwi_client.py:217
↓ 1 callersMethod_get_default_peft_targets
Return default PEFT target modules for this policy. Override this in subclasses to provide policy-specific defaults. These defaults
src/lerobot/policies/pretrained.py:319
↓ 1 callersMethod_get_delta_frames
Get frames with delta offsets using the backtrackable iterator. Args: current_item (dict): Current item from the iterator.
src/lerobot/datasets/streaming_dataset.py:400
↓ 1 callersMethod_get_domain_id
(self, batch: dict[str, Tensor], batch_size: int, device: torch.device)
src/lerobot/policies/xvla/modeling_xvla.py:338
↓ 1 callersMethod_get_encoder_output
Extract the appropriate output from the encoder.
src/lerobot/policies/sac/reward_model/modeling_classifier.py:203
↓ 1 callersMethod_get_episode_indices
Get episode indices for each frame index.
src/lerobot/policies/sarm/processor_sarm.py:112
↓ 1 callersMethod_get_half_turn_homings
(self, positions: dict[NameOrID, Value])
src/lerobot/motors/motors_bus.py:787
↓ 1 callersMethod_get_ids_values_dict
(self, values: Value | dict[str, Value] | None)
src/lerobot/motors/motors_bus.py:430
↓ 1 callersMethod_get_image_nums_and_video_nums
Get the number of images and videos for each sample to calculate tensor separation lengths. These parameters are computed directly f
src/lerobot/policies/wall_x/modeling_wall_x.py:1531
↓ 1 callersMethod_get_image_nums_and_video_nums
Get the number of images and videos for each sample to calculate the separation length of the sample tensor. These parameters are not
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:2055
↓ 1 callersMethod_get_image_patches
( self, image: "torch.Tensor", min_num: int, max_num: int, size: tuple
src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:237
↓ 1 callersMethod_get_motor_id
(self, motor: NameOrID)
src/lerobot/motors/motors_bus.py:402
↓ 1 callersMethod_get_naive_iterator
Creates a simple non-threaded iterator that yields batches. Args: batch_size (int): Size of batches to sample
src/lerobot/rl/buffer.py:389
↓ 1 callersFunction_get_pixel_count
(feature: dict)
src/lerobot/scripts/lerobot_export_boundary_frames.py:73
↓ 1 callersFunction_get_policy_cls_from_policy_name
Get policy class from its registered name using dynamic imports. This is used as a helper function to import policies from 3rd party lerobot plug
src/lerobot/policies/factory.py:547
↓ 1 callersMethod_get_query_indices
Compute query indices for delta timestamps. Args: abs_idx: The absolute index in the full dataset (not the relative index in filt
src/lerobot/datasets/lerobot_dataset.py:952
↓ 1 callersMethod_get_query_timestamps
( self, current_ts: float, query_indices: dict[str, list[int]] | None = None, )
src/lerobot/datasets/lerobot_dataset.py:981
↓ 1 callersMethod_get_query_timestamps
( self, current_ts: float, query_indices: dict[str, list[int]] | None = None,
src/lerobot/datasets/streaming_dataset.py:360
↓ 1 callersMethod_get_robot_data
Get robot telemetry data from SDK. Returns: dict: Robot telemetry data including battery, speed, orientation, GPS, etc:
src/lerobot/robots/earthrover_mini_plus/robot_earthrover_mini_plus.py:397
↓ 1 callersMethod_get_state
(self)
src/lerobot/robots/reachy2/robot_reachy2.py:163
↓ 1 callersFunction_get_suite
Instantiate a LIBERO suite by name with clear validation.
src/lerobot/envs/libero.py:48
↓ 1 callersFunction_get_torch_rng_state
(device: torch.device)
src/lerobot/scripts/recording_hil.py:49
↓ 1 callersFunction_get_unpad_data
(attention_mask)
src/lerobot/policies/xvla/modeling_florence2.py:670
↓ 1 callersFunction_get_video_encode_options
(vcodec: str)
src/lerobot/scripts/value_infer_viz.py:327
↓ 1 callersMethod_get_video_frame_padding_mask
( self, video_frames: dict[str, torch.Tensor], query_timestamps: dict[str, list[float]
src/lerobot/datasets/streaming_dataset.py:274
↓ 1 callersMethod_get_window_steps
( self, delta_timestamps: dict[str, list[float]] | None = None, dynamic_bounds: bool = False )
src/lerobot/datasets/streaming_dataset.py:232
↓ 1 callersMethod_handle_dropdown_event
(self, e)
src/lerobot/motors/calibration_gui.py:320
↓ 1 callersMethod_handle_flash_attention_compatibility
Handle Flash Attention compatibility issues by setting environment variables. This addresses the common 'undefined symbol' error that occurs
src/lerobot/policies/groot/modeling_groot.py:298
↓ 1 callersMethod_handle_key
(self, key: str)
src/lerobot/utils/control_utils.py:151
↓ 1 callersMethod_handshake
(self)
src/lerobot/motors/motors_bus.py:530
↓ 1 callersMethod_handshake
Verify all motors are present and populate initial state cache. Raises ConnectionError if any motor fails to respond.
src/lerobot/motors/damiao/damiao.py:203
↓ 1 callersFunction_has_sdp_attention
Check if we can use PyTorch fused scaled_dot_product_attention.
src/lerobot/policies/xvla/soft_transformer.py:39
↓ 1 callersFunction_import_hub_module
Import the downloaded file as a module and surface helpful import error messages.
src/lerobot/envs/utils.py:294
↓ 1 callersMethod_init_actor
Initialize policy actor network and default target entropy.
src/lerobot/policies/sac/modeling_sac.py:446
↓ 1 callersMethod_init_critics
Build critic ensemble, targets, and optional discrete critic.
src/lerobot/policies/sac/modeling_sac.py:401
↓ 1 callersMethod_init_discrete_critics
Build discrete discrete critic ensemble and target networks.
src/lerobot/policies/sac/modeling_sac.py:428
↓ 1 callersMethod_init_encoders
Initialize shared or separate encoders for actor and critic.
src/lerobot/policies/sac/modeling_sac.py:393
↓ 1 callersMethod_init_image_layers
(self)
src/lerobot/policies/sac/modeling_sac.py:478
↓ 1 callersFunction_init_runtime
( cfg: ValueInferencePipelineConfig, accelerator: Accelerator, )
src/lerobot/scripts/lerobot_value_infer.py:151
↓ 1 callersMethod_init_state_layers
(self)
src/lerobot/policies/sac/modeling_sac.py:517
↓ 1 callersMethod_init_temperature
Set up temperature parameter (log_alpha).
src/lerobot/policies/sac/modeling_sac.py:462
↓ 1 callersMethod_init_weights
Initialize model weights. Orthogonal initialization for all linear and convolutional layers' weights (apart from final layers of rewa
src/lerobot/policies/tdmpc/modeling_tdmpc.py:578
← previousnext →1,201–1,300 of 5,633, ranked by callers