MCPcopy Create free account

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

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

↓ 1 callersFunctioncreate_libero_envs
Create vectorized LIBERO environments with a consistent return shape. Returns: dict[suite_name][task_id] -> vec_env (env_cls([...])
src/lerobot/envs/libero.py:394
↓ 1 callersFunctioncreate_metaworld_envs
Create vectorized Meta-World environments with a consistent return shape. Returns: dict[task_group][task_id] -> vec_env (env_cls([..
src/lerobot/envs/metaworld.py:272
↓ 1 callersFunctioncreate_original_observation_with_openpi_preprocessing
Create observation object for OpenPI using OpenPI's own preprocessing with pi05 state tokenizer.
tests/policies/pi0_pi05/test_pi05_original_vs_lerobot.py:254
↓ 1 callersFunctioncreate_original_observation_with_openpi_preprocessing
Create observation object for OpenPI using OpenPI's own preprocessing.
tests/policies/pi0_pi05/test_pi0_original_vs_lerobot.py:253
↓ 1 callersFunctioncreate_plugin_code
Creates a dummy plugin module that implements its own EnvConfig subclass.
tests/configs/test_plugin_loading.py:28
↓ 1 callersFunctioncreate_sarm_prompt
(subtask_list: list[str])
src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:166
↓ 1 callersFunctioncreate_sinusoidal_pos_embedding
Computes sine-cosine positional embedding vectors for scalar positions.
src/lerobot/policies/pi0/modeling_pi0.py:75
↓ 1 callersFunctioncreate_sinusoidal_pos_embedding
Computes sine-cosine positional embedding vectors for scalar positions.
src/lerobot/policies/smolvla/modeling_smolvla.py:81
↓ 1 callersFunctioncreate_sinusoidal_pos_embedding
1D sinusoidal positional embeddings as in Attention is All You Need. Args: num_positions: Number of token positions required. Returns
src/lerobot/policies/act/modeling_act.py:666
↓ 1 callersFunctioncreate_sinusoidal_pos_embedding
Computes sine-cosine positional embedding vectors for scalar positions.
src/lerobot/policies/pi05/modeling_pi05.py:74
↓ 1 callersFunctioncreate_stats
(stats_factory)
tests/fixtures/files.py:134
↓ 1 callersFunctioncreate_tasks
(tasks_factory)
tests/fixtures/files.py:144
↓ 1 callersFunctioncreate_test_interactions
Create test interactions for integration testing.
tests/rl/test_actor_learner.py:49
↓ 1 callersFunctioncreate_test_transitions
Create test transitions for integration testing.
tests/rl/test_actor_learner.py:32
↓ 1 callersFunctioncreate_videos
(info_factory, img_array_factory)
tests/fixtures/dataset_factories.py:322
↓ 1 callersFunctioncrop
Crop the given numpy array. Args: img (torch.Tensor): Image to be cropped. Format should be (C, H, W). left (int): The left coord
src/lerobot/policies/groot/eagle2_hg_model/image_processing_eagle2_5_vl_fast.py:50
↓ 1 callersFunctioncustom_validate
(train_config: TrainPipelineConfig, policy_path: str, empty_cameras: int)
tests/training/test_visual_validation.py:95
↓ 1 callersMethoddecode_actions_with_fast
Decodes action token IDs back to continuous action values using the FAST tokenizer. Args: token_ids: List of token IDs t
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1114
↓ 1 callersFunctiondecode_video_frames_torchvision
Loads frames associated to the requested timestamps of a video The backend can be either "pyav" (default) or "video_reader". "video_reader" r
src/lerobot/datasets/video_utils.py:76
↓ 1 callersMethoddefine_action_token_id
Define action token IDs based on tokenizer configuration. Creates mappings for fast action tokens, proprioception tokens, and genera
src/lerobot/policies/wall_x/modeling_wall_x.py:432
↓ 1 callersFunctiondelta_indices_factory
()
tests/datasets/test_delta_timestamps.py:64
↓ 1 callersFunctiondemo_cli
Main entry point for RTC demo with draccus configuration.
examples/rtc/eval_with_real_robot.py:433
↓ 1 callersFunctiondetect_features_and_norm_modes
Infers policy features and normalization modes from the model config and stats. This function first attempts to find feature definitions and
src/lerobot/processor/migrate_policy_normalization.py:125
↓ 1 callersFunctiondict_to_lowcmd
Convert dictionary back to LowCmd SDK message.
src/lerobot/robots/unitree_g1/run_g1_server.py:81
↓ 1 callersMethoddisconnect
(self)
src/lerobot/robots/lekiwi/lekiwi_host.py:54
↓ 1 callersMethoddisconnect
(self)
src/lerobot/robots/lekiwi/lekiwi.py:411
↓ 1 callersMethoddisconnect
(self)
src/lerobot/robots/reachy2/robot_reachy2.py:229
↓ 1 callersMethoddisconnect
(self)
src/lerobot/teleoperators/reachy2_teleoperator/reachy2_teleoperator.py:174
↓ 1 callersMethoddisconnect
(self)
src/lerobot/teleoperators/bi_piper_leader/bi_piper_leader.py:152
↓ 1 callersMethoddisconnect
(self)
src/lerobot/teleoperators/bi_piper_leader/bi_piper_leader.py:308
↓ 1 callersMethoddisconnect
(self)
src/lerobot/teleoperators/phone/teleop_phone.py:414
↓ 1 callersMethoddisconnect
Disconnect from ZMQ camera.
src/lerobot/cameras/zmq/camera_zmq.py:370
↓ 1 callersMethoddisconnect
Stops the background read thread (if running). Raises: DeviceNotConnectedError: If the camera is already disconnected.
src/lerobot/cameras/reachy2_camera/reachy2_camera.py:234
↓ 1 callersMethoddisconnect
Close the CAN bus connection. Args: disable_torque: If True, disable torque on all motors before disconnecting
src/lerobot/motors/damiao/damiao.py:250
↓ 1 callersMethoddisconnect
(self)
tests/test_cli_peft.py:170
↓ 1 callersMethoddiscretize
(self, n_vqvae_training_steps, actions)
src/lerobot/policies/vqbet/modeling_vqbet.py:450
↓ 1 callersFunctiondisplay_error_files
(logs_dir, job_name)
examples/port_datasets/display_error_files.py:51
↓ 1 callersFunctiondisplay_migration_summary_with_warnings
Display final migration summary with warnings about problematic missing keys. Args: problematic_missing_keys: List of missing keys t
src/lerobot/processor/migrate_policy_normalization.py:398
↓ 1 callersMethoddone
Processes a 'done' flag. Subclasses must implement this method. Args: done: The input 'done' flag from the transition. R
src/lerobot/processor/pipeline.py:1590
↓ 1 callersMethoddownload
Downloads the dataset from the given 'repo_id' at the provided version. If 'episodes' is given, this will only download those episodes (select
src/lerobot/datasets/lerobot_dataset.py:845
↓ 1 callersFunctiondraw_timeline
Draw a timeline with color-coded subtask segments.
src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:490
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). This is the same as the DropConnect impl I created for E
src/lerobot/policies/xvla/utils.py:121
↓ 1 callersFunctionds1_episodes_condition
(ep_idx)
tests/datasets/test_aggregate.py:133
↓ 1 callersFunctiondummy_func
(cfg: Config)
tests/configs/test_plugin_loading.py:92
↓ 1 callersFunctionedit_dataset
(cfg: EditDatasetConfig)
src/lerobot/scripts/lerobot_edit_dataset.py:440
↓ 1 callersMethodembed_image
(self, image: torch.Tensor)
src/lerobot/policies/pi0/modeling_pi0.py:431
↓ 1 callersMethodembed_image
(self, image: torch.Tensor)
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:244
↓ 1 callersMethodembed_image
(self, image: torch.Tensor)
src/lerobot/policies/smolvla/smolvlm_with_expert.py:180
↓ 1 callersMethodembed_image
(self, image: torch.Tensor)
src/lerobot/policies/pi05/modeling_pi05.py:429
↓ 1 callersMethodembed_language_tokens
(self, tokens: torch.Tensor)
src/lerobot/policies/pi0/modeling_pi0.py:434
↓ 1 callersMethodembed_language_tokens
(self, tokens: torch.Tensor)
src/lerobot/policies/pi05/modeling_pi05.py:432
↓ 1 callersFunctionempty_stream
()
tests/rl/test_learner_service.py:200
↓ 1 callersMethodenable_torque
Enable torque on selected motors. Args: motors (int | str | list[str] | None, optional): Same semantics as :pymeth:`disable_torqu
src/lerobot/motors/motors_bus.py:652
↓ 1 callersFunctionencode_image
Encode RGB image to base64 JPEG string.
src/lerobot/cameras/zmq/image_server.py:39
↓ 1 callersFunctionensure_eagle_cache_ready
Populate the Eagle processor directory in cache and ensure tokenizer assets exist. - Copies the vendored Eagle files into cache_dir (overwriting
src/lerobot/policies/groot/utils.py:7
↓ 1 callersFunctionenv_to_policy_features
(env_cfg: EnvConfig)
src/lerobot/envs/utils.py:113
↓ 1 callersMethodestimate_value
Estimates the value of a trajectory as per eqn 4 of the FOWM paper. Args: z: (batch, latent_dim) tensor of initial latent states.
src/lerobot/policies/tdmpc/modeling_tdmpc.py:260
↓ 1 callersMethodeval
Set evaluation mode (disable augmentations).
src/lerobot/policies/sarm/processor_sarm.py:396
↓ 1 callersFunctioneval_main
(cfg: EvalPipelineConfig)
src/lerobot/scripts/lerobot_eval.py:506
↓ 1 callersFunctioneval_one
Evaluates one task_id of one suite using the provided vec env.
src/lerobot/scripts/lerobot_eval.py:593
↓ 1 callersFunctioneval_policy
(env, policy, n_episodes)
src/lerobot/rl/eval_policy.py:38
↓ 1 callersFunctioneval_policy
Args: env: The batch of environments. policy: The policy. n_episodes: The number of episodes to evaluate. max_epi
src/lerobot/scripts/lerobot_eval.py:250
↓ 1 callersFunctionexample_1_default_transforms
Example 1: Use default transform configuration and save original vs transformed images
examples/dataset/use_dataset_image_transforms.py:46
↓ 1 callersFunctionexample_2_custom_transforms
Example 2: Create custom transform configuration and save examples
examples/dataset/use_dataset_image_transforms.py:86
↓ 1 callersFunctionexample_3_torchvision_transforms
Example 3: Use pure torchvision transforms and save examples
examples/dataset/use_dataset_image_transforms.py:135
↓ 1 callersFunctionexo_raw_to_angles
Convert raw sensor readings to joint angles using calibration.
src/lerobot/teleoperators/unitree_g1/exo_calib.py:136
↓ 1 callersMethodexpire_codes_
(self, batch_samples)
src/lerobot/policies/vqbet/vqbet_utils.py:1361
↓ 1 callersFunctionexport_episode_boundary_frames
( dataset: "LeRobotDataset", output_dir: Path, episode_indices: list[int], camera_key: str, )
src/lerobot/scripts/lerobot_export_boundary_frames.py:174
↓ 1 callersMethodextract_episode_segment
Extract a specific episode segment from concatenated video. Uses minimal compression to preserve quality for local inference.
src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:296
↓ 1 callersFunctionextract_frame
Extract a single frame from video at given timestamp.
src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:479
↓ 1 callersFunctionextract_images_from_raw_observation
Extract the images from a raw observation.
src/lerobot/async_inference/helpers.py:127
↓ 1 callersFunctionextract_lerobot_processed_inputs
Extract the exact same processed inputs that LeRobot uses internally.
tests/policies/pi0_pi05/test_pi05_original_vs_lerobot.py:217
↓ 1 callersFunctionextract_lerobot_processed_inputs
Extract the exact same processed inputs that LeRobot uses internally.
tests/policies/pi0_pi05/test_pi0_original_vs_lerobot.py:216
↓ 1 callersFunctionextract_normalization_stats
Scans a model's state_dict to find and extract normalization statistics. This function identifies keys corresponding to normalization layers
src/lerobot/processor/migrate_policy_normalization.py:65
↓ 1 callersMethodextract_vision_info
(self, conversations: list[dict] | list[list[dict]])
src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:500
↓ 1 callersFunctionfetch_image
(ele: dict[str, str | Image.Image])
src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:52
↓ 1 callersFunctionfilter_path_args
Filters command-line arguments related to fields with specific path arguments. Args: fields_to_filter (str | list[str]): A single st
src/lerobot/configs/parser.py:161
↓ 1 callersFunctionfinalize_aggregation
Finalizes the dataset aggregation by writing summary files and statistics. Writes the tasks file, info file with total counts and splits, and
src/lerobot/datasets/aggregate.py:625
↓ 1 callersFunctionfind_all_opencv_cameras
Finds all available OpenCV cameras plugged into the system. Returns: A list of all available OpenCV cameras with their metadata.
src/lerobot/scripts/lerobot_find_cameras.py:49
↓ 1 callersFunctionfind_all_realsense_cameras
Finds all available RealSense cameras plugged into the system. Returns: A list of all available RealSense cameras with their metadat
src/lerobot/scripts/lerobot_find_cameras.py:69
↓ 1 callersFunctionfind_and_print_cameras
Finds available cameras based on an optional filter and prints their information. Args: camera_type_filter: Optional string to filte
src/lerobot/scripts/lerobot_find_cameras.py:91
↓ 1 callersMethodfind_cameras
Detects available Intel RealSense cameras connected to the system. Returns: List[Dict[str, Any]]: A list of dictionaries
src/lerobot/cameras/realsense/camera_realsense.py:205
↓ 1 callersMethodfind_device
Look for the gamepad device by vendor and product ID.
src/lerobot/teleoperators/gamepad/gamepad_utils.py:343
↓ 1 callersFunctionfind_float_index
(target, float_list, threshold=1e-6)
src/lerobot/datasets/utils.py:1223
↓ 1 callersFunctionfind_free_port
Finds a free port on the local machine.
tests/rl/test_actor_learner.py:64
↓ 1 callersFunctionfind_joint_and_ee_bounds
(cfg: FindJointLimitsConfig)
src/lerobot/scripts/lerobot_find_joint_limits.py:89
↓ 1 callersFunctionfind_missing_workers
Find workers that are not completed and returns their indices.
examples/port_datasets/display_error_files.py:22
↓ 1 callersFunctionfind_port
()
src/lerobot/scripts/lerobot_find_port.py:42
↓ 1 callersFunctionfit_ellipse_opencv
Fit ellipse to (x,y) points using OpenCV. Returns center, axes, rotation matrix, and outline.
src/lerobot/teleoperators/unitree_g1/exo_calib.py:189
↓ 1 callersMethodflow_loss
Compute flow matching loss (all computations in float32 for stability).
src/lerobot/policies/wall_x/modeling_wall_x.py:220
↓ 1 callersFunctionformat_dict_for_markdown
Formats a dictionary into a markdown-friendly bulleted list.
src/lerobot/scripts/lerobot_info.py:112
↓ 1 callersFunctionformat_text_report
(report: dict[str, Any])
src/lerobot/scripts/lerobot_dataset_report.py:257
↓ 1 callersMethodforward
Training forward pass using Qwen2_5_VLMoEForAction. Args: batch: Dictionary containing preprocessed inputs from preproce
src/lerobot/policies/wall_x/modeling_wall_x.py:1920
↓ 1 callersMethodforward
(self, x)
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:673
↓ 1 callersMethodforward_attn_layer
( self, model_layers, inputs_embeds, layer_idx, position_ids,
src/lerobot/policies/smolvla/smolvlm_with_expert.py:198
↓ 1 callersMethodforward_cross_attn_layer
( self, model_layers, inputs_embeds, layer_idx, position_ids,
src/lerobot/policies/smolvla/smolvlm_with_expert.py:275
↓ 1 callersMethodforward_eagle
(self, vl_input: BatchFeature)
src/lerobot/policies/groot/groot_n1.py:134
↓ 1 callersMethodforward_features
(self, x)
src/lerobot/policies/xvla/modeling_florence2.py:637
↓ 1 callersMethodfps_percentile
FPS corresponding to the p-th percentile time.
src/lerobot/utils/utils.py:405
↓ 1 callersFunctionfreeze_image_encoder
Freeze all parameters in the encoder
src/lerobot/policies/sac/modeling_sac.py:926
← previousnext →1,601–1,700 of 5,633, ranked by callers