MCPcopy Create free account

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

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

↓ 1 callersFunction_reshape_for_vector_stats
Reshape statistics for vector data (axis=0 or axis=(0,)).
src/lerobot/datasets/compute_stats.py:293
↓ 1 callersFunction_reshape_single_stat
Apply appropriate reshaping to a single statistic array. This function transforms statistic arrays to match expected output shapes based on t
src/lerobot/datasets/compute_stats.py:330
↓ 1 callersFunction_reshape_stats_by_axis
Reshape all statistics to match NumPy's output conventions. Applies consistent reshaping to all statistics (except 'count') based on the axis
src/lerobot/datasets/compute_stats.py:248
↓ 1 callersMethod_resize_final_logits_bias
(self, new_num_tokens: int)
src/lerobot/policies/xvla/modeling_florence2.py:2110
↓ 1 callersMethod_resize_for_patching
Resizes an image to a target resolution while maintaining aspect ratio. Args: image ("torch.Tensor"): Th
src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:166
↓ 1 callersFunction_resolve_image_size
(image_processor: Any)
src/lerobot/values/pistar06/modeling_pistar06.py:188
↓ 1 callersMethod_resolve_indicators
(self, batch: dict[str, Any], batch_size: int)
src/lerobot/rl/acp_hook.py:53
↓ 1 callersFunction_resolve_load_dtype
(dtype_name: str)
src/lerobot/values/pistar06/modeling_pistar06.py:125
↓ 1 callersFunction_resolve_norm_stats
( image_processor: Any, )
src/lerobot/values/pistar06/modeling_pistar06.py:201
↓ 1 callersFunction_resolve_pretrained_model_dir
(checkpoint_path: str, checkpoint_ref: str)
src/lerobot/scripts/lerobot_value_infer.py:104
↓ 1 callersFunction_restore_policy_runtime_state
(policy: PreTrainedPolicy, state: dict[str, Any])
src/lerobot/scripts/recording_hil.py:85
↓ 1 callersFunction_rpy_deg_to_rot
(roll_deg: float, pitch_deg: float, yaw_deg: float)
src/lerobot/teleoperators/piper_leader/gravity_compensation.py:31
↓ 1 callersMethod_rtc_enabled
(self)
src/lerobot/policies/pi0/modeling_pi0.py:605
↓ 1 callersMethod_rtc_enabled
(self)
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1028
↓ 1 callersMethod_rtc_enabled
(self)
src/lerobot/policies/smolvla/modeling_smolvla.py:596
↓ 1 callersMethod_rtc_enabled
(self)
src/lerobot/policies/pi05/modeling_pi05.py:602
↓ 1 callersFunction_save_batch_episodes_images
Save images from multiple episodes to disk for batch video encoding. Args: dataset: The LeRobot dataset to extract images from im
src/lerobot/datasets/dataset_tools.py:1168
↓ 1 callersMethod_save_current
(self)
src/lerobot/motors/calibration_gui.py:340
↓ 1 callersMethod_save_episode_data
Save episode data to a parquet file and update the Hugging Face dataset of frames data. This function processes episodes data from a buffer,
src/lerobot/datasets/lerobot_dataset.py:1357
↓ 1 callersMethod_save_image
( self, image: torch.Tensor | np.ndarray | PIL.Image.Image, fpath: Path, compress_level: int = 1 )
src/lerobot/datasets/lerobot_dataset.py:1139
↓ 1 callersMethod_save_pretrained
Overwrite this method in subclass to define how to save your object. Args: save_directory (`str` or `Path`):
src/lerobot/utils/hub.py:76
↓ 1 callersMethod_save_pretrained
Internal method to comply with `HubMixin`'s saving mechanism. This method does the actual saving work and is called by HubMixin.save_pretrain
src/lerobot/processor/pipeline.py:340
↓ 1 callersFunction_select_task_ids
Validate/normalize task ids. If None → all tasks.
src/lerobot/envs/libero.py:59
↓ 1 callersFunction_select_video_key
(camera_keys: list[str], requested_video_key: str | None)
src/lerobot/scripts/value_infer_viz.py:29
↓ 1 callersFunction_select_video_keys
( camera_keys: list[str], requested_video_keys: str | None, requested_video_key: str | None, )
src/lerobot/scripts/value_infer_viz.py:46
↓ 1 callersFunction_set_infer_logger_levels
()
src/lerobot/scripts/lerobot_value_infer.py:90
↓ 1 callersMethod_set_requires_grad
(self)
src/lerobot/policies/pi0/modeling_pi0.py:414
↓ 1 callersMethod_set_requires_grad
(self)
src/lerobot/policies/pi05/modeling_pi05.py:412
↓ 1 callersFunction_set_torch_rng_state
( device: torch.device, cpu_state: torch.Tensor, cuda_state: torch.Tensor | None )
src/lerobot/scripts/recording_hil.py:55
↓ 1 callersMethod_setup_cnn_backbone
Set up CNN encoder
src/lerobot/policies/sac/reward_model/modeling_classifier.py:149
↓ 1 callersMethod_setup_spaces
Configure observation and action spaces based on robot capabilities.
src/lerobot/rl/gym_manipulator.py:177
↓ 1 callersMethod_setup_sync_reader
(self, motor_ids: list[int], addr: int, length: int)
src/lerobot/motors/motors_bus.py:1183
↓ 1 callersMethod_setup_sync_writer
(self, ids_values: dict[int, int], addr: int, length: int)
src/lerobot/motors/motors_bus.py:1270
↓ 1 callersMethod_split_into_byte_chunks
Convert an integer into a list of byte-sized integers.
src/lerobot/motors/motors_bus.py:928
↓ 1 callersMethod_split_into_byte_chunks
(self, value: int, length: int)
src/lerobot/motors/feetech/feetech.py:331
↓ 1 callersMethod_split_into_byte_chunks
(self, value: int, length: int)
src/lerobot/motors/dynamixel/dynamixel.py:246
↓ 1 callersMethod_stage_to_dmodel
Deterministic projection of one-hot stage to d_model by pad/truncate. Args: stage_prior: One-hot stage embedding (B, 1,
src/lerobot/policies/sarm/modeling_sarm.py:249
↓ 1 callersMethod_start_read_thread
(self)
src/lerobot/cameras/zmq/camera_zmq.py:271
↓ 1 callersMethod_start_read_thread
Starts or restarts the background read thread if it's not running.
src/lerobot/cameras/opencv/camera_opencv.py:464
↓ 1 callersMethod_start_read_thread
Starts or restarts the background read thread if it's not running.
src/lerobot/cameras/realsense/camera_realsense.py:505
↓ 1 callersMethod_stop_read_thread
(self)
src/lerobot/cameras/zmq/camera_zmq.py:287
↓ 1 callersFunction_to_1d_int
(values: list | np.ndarray)
src/lerobot/scripts/value_infer_viz.py:107
↓ 1 callersMethod_to_bchw
(img_batch: Tensor)
src/lerobot/values/pistar06/processor_pistar06.py:142
↓ 1 callersFunction_to_float
(value: Any)
src/lerobot/scripts/lerobot_dataset_report.py:57
↓ 1 callersFunction_to_uint8_np_bhwc
(img_t: torch.Tensor)
src/lerobot/policies/groot/processor_groot.py:189
↓ 1 callersMethod_triangle_hit
(self, pos)
src/lerobot/motors/calibration_gui.py:92
↓ 1 callersMethod_trim_to_real_dim
Trim model output 20 → 7 dims.
src/lerobot/policies/xvla/action_hub.py:304
↓ 1 callersMethod_trim_to_real_dim
Trim model output max_dim → real_dim.
src/lerobot/policies/xvla/action_hub.py:387
↓ 1 callersMethod_trim_to_real_dim
Keep only the first REAL_DIM (12) dims for the real robot.
src/lerobot/policies/xvla/action_hub.py:482
↓ 1 callersMethod_upad_input
(self, query_layer, key_layer, value_layer, attention_mask, query_length)
src/lerobot/policies/xvla/modeling_florence2.py:1085
↓ 1 callersMethod_update
Read and process the latest gamepad data.
src/lerobot/teleoperators/gamepad/gamepad_utils.py:403
↓ 1 callersMethod_update_causal_mask
( self, attention_mask: torch.Tensor, input_tensor: torch.Tensor, cache_positi
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:1298
↓ 1 callersMethod_update_causal_mask
Update causal attention mask with support for bidirectional attention for specific token types. This method creates and modifies attention ma
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:2593
↓ 1 callersFunction_update_feature_metadata
(dataset_root: Path, feature_infos: dict[str, dict[str, Any]])
src/lerobot/scripts/lerobot_value_infer.py:321
↓ 1 callersMethod_update_histograms
Update histograms with new vectors.
src/lerobot/datasets/compute_stats.py:151
↓ 1 callersMethod_validate_delta_timestamp_keys
Validate that all keys in delta_timestamps correspond to actual features in the dataset. Raises: ValueError: If any delt
src/lerobot/datasets/streaming_dataset.py:510
↓ 1 callersMethod_validate_fourcc
Validates and sets the camera's FOURCC code.
src/lerobot/cameras/opencv/camera_opencv.py:240
↓ 1 callersMethod_validate_fps
Validates and sets the camera's frames per second (FPS).
src/lerobot/cameras/opencv/camera_opencv.py:225
↓ 1 callersMethod_validate_motors
(self)
src/lerobot/motors/motors_bus.py:438
↓ 1 callersMethod_validate_peft_config
Validate the PEFT configuration for this policy. Override this in subclasses to add policy-specific validation or warnings.
src/lerobot/policies/pretrained.py:329
↓ 1 callersFunction_validate_stat_value
Validate a single statistic value.
src/lerobot/datasets/compute_stats.py:532
↓ 1 callersMethod_validate_width_and_height
Validates and sets the camera's frame capture width and height.
src/lerobot/cameras/opencv/camera_opencv.py:261
↓ 1 callersMethod_wait_enable
(self, timeout_s: float)
src/lerobot/robots/piper_follower/piper_follower.py:204
↓ 1 callersMethod_wait_for_capture_trigger
Blocks execution until the calibration trigger is detected from the iOS device. This method enters a loop, continuously reading the
src/lerobot/teleoperators/phone/teleop_phone.py:108
↓ 1 callersMethod_wait_for_capture_trigger
Blocks execution until the calibration trigger is detected from the Android device. This method enters a loop, continuously checking
src/lerobot/teleoperators/phone/teleop_phone.py:250
↓ 1 callersMethod_wait_for_fresh_feedback_if_needed
(self)
src/lerobot/teleoperators/piper_leader/piper_leader.py:301
↓ 1 callersMethod_wheel_raw_to_body
Convert wheel raw command feedback back into body-frame velocities. Parameters: wheel_raw : Vector with raw wheel comman
src/lerobot/robots/lekiwi/lekiwi.py:291
↓ 1 callersFunction_write_columns_in_place
( dataset_root: Path, absolute_indices: np.ndarray, columns: dict[str, np.ndarray], feature_in
src/lerobot/scripts/lerobot_value_infer.py:332
↓ 1 callersFunctionact_with_policy
Executes policy interaction within the environment. This function rolls out the policy in the environment, collecting interaction data and p
src/lerobot/rl/actor.py:210
↓ 1 callersMethodaction
Processes an action. Subclasses must implement this method. Args: action: The input action from the transition. Returns:
src/lerobot/processor/pipeline.py:1472
↓ 1 callersMethodaction
Processes a `RobotAction`. Subclasses must implement this method. Args: action: The input `RobotAction` dictionary. Retu
src/lerobot/processor/pipeline.py:1503
↓ 1 callersMethodaction
Processes a `PolicyAction`. Subclasses must implement this method. Args: action: The input `PolicyAction`. Returns:
src/lerobot/processor/pipeline.py:1532
↓ 1 callersMethodaction_features
(self)
examples/rtc/eval_with_real_robot.py:127
↓ 1 callersMethodactions_available
Check if there are actions available in the queue
src/lerobot/async_inference/robot_client.py:363
↓ 1 callersFunctionactor_cli
(cfg: TrainRLServerPipelineConfig)
src/lerobot/rl/actor.py:104
↓ 1 callersFunctionadd_actor_information_and_train
Handles data transfer from the actor to the learner, manages training updates, and logs training progress in an online reinforcement learning
src/lerobot/rl/learner.py:249
↓ 1 callersFunctionadd_envs_task
Adds task feature to the observation dict with respect to the first environment attribute.
src/lerobot/envs/utils.py:156
↓ 1 callersMethodadd_lora
Add LoRA (Low-Rank Adaptation) adapters to the model. Args: r (int): Rank of adaptation lora_alpha (int): Lo
src/lerobot/policies/wall_x/modeling_wall_x.py:456
↓ 1 callersFunctionaggregate_data
Aggregates data chunks from a source dataset into the destination dataset. Reads source data files, updates indices to match the aggregated datas
src/lerobot/datasets/aggregate.py:428
↓ 1 callersFunctionaggregate_metadata
Aggregates metadata from a source dataset into the destination dataset. Reads source metadata files, updates all indices and timestamps, and
src/lerobot/datasets/aggregate.py:500
↓ 1 callersFunctionaggregate_videos
Aggregates video chunks from a source dataset into the destination dataset. Handles video file concatenation and rotation based on file size limi
src/lerobot/datasets/aggregate.py:319
↓ 1 callersFunctionall_gather_sizes
(x, dim)
src/lerobot/policies/vqbet/vqbet_utils.py:1053
↓ 1 callersFunctionall_gather_variably_sized
(x, sizes, dim=0)
src/lerobot/policies/vqbet/vqbet_utils.py:1060
↓ 1 callersFunctionaloha_gripper_from_angular
(value)
src/lerobot/policies/smolvla/modeling_smolvla.py:207
↓ 1 callersFunctionaloha_gripper_from_angular_inv
(value)
src/lerobot/policies/smolvla/modeling_smolvla.py:219
↓ 1 callersFunctionaloha_gripper_to_angular
(value)
src/lerobot/policies/smolvla/modeling_smolvla.py:185
↓ 1 callersFunctionanimateCount
(el, target, suffix = "")
website/app.js:521
↓ 1 callersFunctionanimateNumber
(el, from, to, duration, formatter)
website/app.js:537
↓ 1 callersMethodannotate
Annotate a video segment using local GPU.
src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:377
↓ 1 callersFunctionapplyTranslations
()
website/app.js:335
↓ 1 callersFunctionapply_delta_transform
Apply delta transform to specified dimensions. Args: state: Current state [D] actions: Future actions [D] delta_dims: Lis
src/lerobot/scripts/lerobot_train_tokenizer.py:107
↓ 1 callersFunctionapply_normalization
Apply normalization to data based on the specified mode. Args: data: Data to normalize [N, H, D] or [D] stats: Dictionary of stat
src/lerobot/scripts/lerobot_train_tokenizer.py:128
↓ 1 callersFunctionapply_rotary_pos_emb_flashatt
( q: torch.Tensor, k: torch.Tensor, cos: torch.Tensor, sin: torch.Tensor )
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:152
↓ 1 callersFunctionare_all_envs_same_type
(env: gym.vector.VectorEnv)
src/lerobot/envs/utils.py:133
↓ 1 callersFunctionassert_image_frames_integrity
Test that image frames are correctly preserved after aggregation.
tests/datasets/test_aggregate.py:417
↓ 1 callersFunctionassert_image_schema_preserved
Test that HuggingFace Image feature schema is preserved in aggregated parquet files. This verifies the fix for a bug where image columns were wri
tests/datasets/test_aggregate.py:386
↓ 1 callersFunctionasync_client
(cfg: RobotClientConfig)
src/lerobot/async_inference/robot_client.py:487
↓ 1 callersFunctionattempt_import
(module_name: str)
src/lerobot/utils/import_utils.py:156
↓ 1 callersFunctionaugment_dataset_with_quantile_stats
Augment a dataset with quantile statistics if they are missing. Args: repo_id: Repository ID of the dataset root: Local root dire
src/lerobot/datasets/v30/augment_dataset_quantile_stats.py:182
↓ 1 callersFunctionauto_downsample_height_width
(img: np.ndarray, target_size: int = 150, max_size_threshold: int = 300)
src/lerobot/datasets/compute_stats.py:219
← previousnext →1,401–1,500 of 5,633, ranked by callers