MCPcopy Create free account

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

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

↓ 1 callersMethodfrom_dict
(cls, data: dict)
src/lerobot/teleoperators/unitree_g1/exo_calib.py:82
↓ 1 callersMethodfrom_pretrained
( cls: builtins.type["ValueTrainPipelineConfig"], pretrained_name_or_path: str | Path,
src/lerobot/configs/value_train.py:157
↓ 1 callersMethodfrom_pretrained
Load model from pretrained model path. Args: pretrained_model_path (str): Model directory path containing model.safetens
src/lerobot/policies/wall_x/modeling_wall_x.py:269
↓ 1 callersMethodfrom_pretrained
Load Groot policy from pretrained model. Handles two cases: 1. Base GR00T models (e.g., 'nvidia/GR00T-N1.5-3B') - loads the raw model
src/lerobot/policies/groot/modeling_groot.py:100
↓ 1 callersMethodfrom_quat
Create rotation from quaternion. Args: quat: Quaternion [x, y, z, w] or [w, x, y, z] (specify convention in docstring)
src/lerobot/utils/rotation.py:110
↓ 1 callersFunctionfunction_that_raises_exception
(dataset=None)
tests/datasets/test_image_writer.py:360
↓ 1 callersFunctiongen_stage_emb
Generate one-hot stage embeddings from targets. Args: num_classes: Number of stage classes targets: Target values (B, T) whe
src/lerobot/policies/sarm/modeling_sarm.py:335
↓ 1 callersMethodgenerate_actions
This function expects `batch` to have: { "observation.state": (B, n_obs_steps, state_dim) "observation.image
src/lerobot/policies/diffusion/modeling_diffusion.py:276
↓ 1 callersFunctiongenerate_all_frame_indices
Generate all frame indices, ordered by offset for cache-friendly access. Orders frames as: [0, 30, 60...], [1, 31, 61...], ..., [29, 59, 89...]
src/lerobot/policies/sarm/compute_rabc_weights.py:429
↓ 1 callersFunctiongenerate_auto_sparse_annotations
Auto-generate single 'task' stage annotations for all episodes.
src/lerobot/data_processing/sarm_annotations/subtask_annotation.py:825
↓ 1 callersFunctiongenerate_episode_metadata_dict
( episodes_legacy_metadata, episodes_metadata, episodes_stats, episodes_videos=None )
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:370
↓ 1 callersFunctiongenerate_lerobot_frames
(tf_episode)
examples/port_datasets/port_droid.py:250
↓ 1 callersMethodgetCurrentTime
(self)
src/lerobot/motors/motors_bus.py:207
↓ 1 callersMethodgetData
(self, id, address, data_length)
src/lerobot/motors/motors_bus.py:269
↓ 1 callersMethodget_action
(self)
src/lerobot/teleoperators/phone/teleop_phone.py:408
↓ 1 callersMethodget_action
(self)
src/lerobot/teleoperators/keyboard/teleop_keyboard.py:125
↓ 1 callersMethodget_action_from_latent
(self, latent)
src/lerobot/policies/vqbet/modeling_vqbet.py:811
↓ 1 callersFunctionget_action_tokens
Convert normalized actions to action token strings. Args: normalized_actions: Normalized action arrays/tensors action_tokenizer:
src/lerobot/policies/wall_x/utils.py:542
↓ 1 callersFunctionget_aggregate_function
Get aggregate function by name from registry.
src/lerobot/async_inference/configs.py:37
↓ 1 callersFunctionget_audio_info
(video_path: Path | str)
src/lerobot/datasets/video_utils.py:515
↓ 1 callersFunctionget_camera_keys
(info: dict)
src/lerobot/scripts/lerobot_export_boundary_frames.py:64
↓ 1 callersFunctionget_channel_first_image_shape
(image_shape: tuple)
src/lerobot/utils/utils.py:233
↓ 1 callersMethodget_code
(self, state)
src/lerobot/policies/vqbet/modeling_vqbet.py:819
↓ 1 callersMethodget_config
(self)
src/lerobot/processor/policy_robot_bridge.py:39
↓ 1 callersMethodget_config
(self)
src/lerobot/processor/policy_robot_bridge.py:61
↓ 1 callersMethodget_config
(self)
src/lerobot/processor/rename_processor.py:53
↓ 1 callersMethodget_config
Returns the configuration of the step for serialization. Returns: A JSON-serializable dictionary of configuration parameters.
src/lerobot/processor/pipeline.py:184
↓ 1 callersMethodget_config
(self)
tests/processor/test_smolvla_processor.py:193
↓ 1 callersMethodget_decoder
Get a cached decoder or create a new one.
src/lerobot/datasets/video_utils.py:181
↓ 1 callersMethodget_deltas
Get the current movement deltas (dx, dy, dz) in meters.
src/lerobot/teleoperators/gamepad/gamepad_utils.py:51
↓ 1 callersFunctionget_directory_size
(directory: Path)
benchmarks/video/run_video_benchmark.py:79
↓ 1 callersFunctionget_dtype_from_parameters
Get a module's parameter dtype by checking one of its parameters. Note: assumes that all parameters have the same dtype.
src/lerobot/policies/utils.py:59
↓ 1 callersFunctionget_elapsed_time_in_days_hours_minutes_seconds
(elapsed_time_s: float)
src/lerobot/utils/utils.py:277
↓ 1 callersMethodget_embeddings_from_code
(self, encoding_indices)
src/lerobot/policies/vqbet/modeling_vqbet.py:803
↓ 1 callersMethodget_episode_end_status
Get the current episode end status. Returns: None if episode should continue, "success" or "failure" otherwise
src/lerobot/teleoperators/gamepad/gamepad_utils.py:68
↓ 1 callersMethodget_episodes_file_paths
(self)
src/lerobot/datasets/lerobot_dataset.py:859
↓ 1 callersFunctionget_ffmpeg_version
Get the ffmpeg version if installed, otherwise return 'N/A'.
src/lerobot/scripts/lerobot_info.py:37
↓ 1 callersMethodget_florence_config
Build (and cache) the Florence2 transformer config that should back the VLM.
src/lerobot/policies/xvla/configuration_xvla.py:131
↓ 1 callersFunctionget_frame_instruction
Extract frame-specific instruction from instruction dictionary. Args: instruction_info: Dictionary containing instruction components
src/lerobot/policies/wall_x/utils.py:345
↓ 1 callersFunctionget_frequency_stats
Get the frequency statistics of the policy. Args: timer (TimerManager): The timer with collected metrics. Returns: dict[str,
src/lerobot/rl/actor.py:704
↓ 1 callersMethodget_fused_image_text_embedding_from_tensor_images
( self, image_tensors: list[Image.Image | torch.Tensor] | list[list[Image.Image | torch.Tensor
src/lerobot/policies/evo1/internvl3_embedder.py:386
↓ 1 callersFunctionget_gemma_config
Returns config for specified gemma variant.
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:162
↓ 1 callersFunctionget_image_from_lerobot_dataset
Find the first row in the dataset and extract the image in order to be used for the crop.
src/lerobot/rl/crop_dataset_roi.py:151
↓ 1 callersFunctionget_image_keys
(root)
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:256
↓ 1 callersFunctionget_intermediate_size
(hidden_dim, ffn_dim_multiplier=4, multiple_of=256)
src/lerobot/policies/smolvla/smolvlm_with_expert.py:54
↓ 1 callersFunctionget_libero_dummy_action
Get dummy/no-op action, used to roll out the simulation while the robot does nothing.
src/lerobot/envs/libero.py:80
↓ 1 callersMethodget_model_layers
(self, models: list)
src/lerobot/policies/smolvla/smolvlm_with_expert.py:390
↓ 1 callersMethodget_number_tiles_based_on_image_size
Get the number of tiles based on the image size.
src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:402
↓ 1 callersMethodget_observation
(self)
src/lerobot/robots/lekiwi/lekiwi.py:341
↓ 1 callersMethodget_observation
Capture observations from the remote robot: current follower arm positions, present wheel speeds (converted to body-frame velocities:
src/lerobot/robots/lekiwi/lekiwi_client.py:253
↓ 1 callersMethodget_observation
(self)
src/lerobot/robots/unitree_g1/unitree_g1.py:276
↓ 1 callersMethodget_optim_params
(self)
src/lerobot/policies/sac/modeling_sac.py:60
↓ 1 callersMethodget_optimizer_preset
(self)
src/lerobot/policies/sac/reward_model/configuration_classifier.py:61
↓ 1 callersMethodget_optimizer_preset
(self)
src/lerobot/policies/diffusion/configuration_diffusion.py:183
↓ 1 callersMethodget_optimizer_preset
(self)
src/lerobot/policies/act/configuration_act.py:154
↓ 1 callersFunctionget_parquet_num_frames
(parquet_path: str | Path)
src/lerobot/datasets/utils.py:140
↓ 1 callersFunctionget_path_arg
(field_name: str, args: Sequence[str] | None = None)
src/lerobot/configs/parser.py:147
↓ 1 callersFunctionget_position_angle_vec
(position)
src/lerobot/policies/act/modeling_act.py:675
↓ 1 callersFunctionget_repo_versions
Return available valid versions (branches and tags) on a given Hub repo. Args: repo_id (str): The repository ID on the Hugging Face Hub.
src/lerobot/datasets/utils.py:497
↓ 1 callersFunctionget_reward_model_path_from_parquet
Read reward_model_path from parquet metadata if available.
src/lerobot/policies/sarm/compute_rabc_weights.py:66
↓ 1 callersMethodget_rope_index
Calculate the 3D rope index based on image and video's temporal, height and width in LLM. Explanation: Each embedding se
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:1603
↓ 1 callersFunctionget_safe_dtype
mps is currently not compatible with float64
src/lerobot/utils/utils.py:80
↓ 1 callersFunctionget_safe_dtype
Get a safe dtype for the given device type.
src/lerobot/policies/pi0/modeling_pi0.py:62
↓ 1 callersFunctionget_safe_dtype
Get a safe dtype for the given device type.
src/lerobot/policies/pi05/modeling_pi05.py:61
↓ 1 callersFunctionget_safe_wandb_artifact_name
WandB artifacts don't accept ":" or "/" in their name.
src/lerobot/rl/wandb_utils.py:69
↓ 1 callersMethodget_scheduler_preset
(self)
src/lerobot/values/pistar06/configuration_pistar06.py:141
↓ 1 callersMethodget_stats
Get statistics.
src/lerobot/utils/rabc.py:279
↓ 1 callersFunctionget_sys_info
Run this to get basic system info to help for tracking issues & bugs.
src/lerobot/scripts/lerobot_info.py:60
↓ 1 callersFunctionget_task_index
(tasks: datasets.Dataset, task: str)
tests/fixtures/dataset_factories.py:56
↓ 1 callersFunctionget_task_init_states
(task_suite: Any, i: int)
src/lerobot/envs/libero.py:70
↓ 1 callersFunctionget_task_instruction
Construct task instruction from available instruction fields using priority sampling. Args: frame_instruction_info: Dictionary containing
src/lerobot/policies/wall_x/utils.py:387
↓ 1 callersFunctionget_tensor_memory_consumption
(tensor)
tests/utils/test_replay_buffer.py:109
↓ 1 callersFunctionget_tensors_memory_consumption
(obj, visited_addresses)
tests/utils/test_replay_buffer.py:113
↓ 1 callersFunctionget_type_arg
(field_name: str, args: Sequence[str] | None = None)
src/lerobot/configs/parser.py:151
↓ 1 callersFunctionget_version_from_toml
Return the project's version string parsed from `pyproject.toml`. The function scans `pyproject.toml` line-by-line looking for a line that st
setup.py:19
↓ 1 callersFunctionget_video_keys
(root)
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:249
↓ 1 callersFunctionget_video_pixel_channels
(pix_fmt: str)
src/lerobot/datasets/video_utils.py:582
↓ 1 callersFunctionget_wallx_normal_text
Construct complete multimodal prompt text for Wall-X model. Formats input using special tokens including: - System message - User observa
src/lerobot/policies/wall_x/utils.py:435
↓ 1 callersFunctionget_wandb_run_id_from_filesystem
(log_dir: Path)
src/lerobot/rl/wandb_utils.py:57
↓ 1 callersMethodget_window_index
(self, grid_thw)
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:480
↓ 1 callersMethodgradient_checkpointing_enable
Enable gradient checkpointing for memory optimization.
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:319
↓ 1 callersMethodgradient_checkpointing_enable
Enable gradient checkpointing for memory optimization.
src/lerobot/policies/pi05/modeling_pi05.py:586
↓ 1 callersMethodgripper_command
Return the current gripper command.
src/lerobot/teleoperators/gamepad/gamepad_utils.py:83
↓ 1 callersFunctiongumbel_noise
(t)
src/lerobot/policies/vqbet/vqbet_utils.py:966
↓ 1 callersFunctionhandle_convert_image_to_video
(cfg: EditDatasetConfig)
src/lerobot/scripts/lerobot_edit_dataset.py:376
↓ 1 callersFunctionhandle_delete_episodes
(cfg: EditDatasetConfig)
src/lerobot/scripts/lerobot_edit_dataset.py:215
↓ 1 callersMethodhandle_event
(self, e)
src/lerobot/motors/calibration_gui.py:98
↓ 1 callersFunctionhandle_merge
(cfg: EditDatasetConfig)
src/lerobot/scripts/lerobot_edit_dataset.py:271
↓ 1 callersFunctionhandle_modify_tasks
(cfg: EditDatasetConfig)
src/lerobot/scripts/lerobot_edit_dataset.py:334
↓ 1 callersFunctionhandle_remove_feature
(cfg: EditDatasetConfig)
src/lerobot/scripts/lerobot_edit_dataset.py:303
↓ 1 callersFunctionhandle_resume_logic
Handle the resume logic for training. If resume is True: - Verifies that a checkpoint exists - Loads the checkpoint configuration
src/lerobot/rl/learner.py:814
↓ 1 callersFunctionhandle_split
(cfg: EditDatasetConfig)
src/lerobot/scripts/lerobot_edit_dataset.py:246
↓ 1 callersFunctionhas_quantile_stats
Check if dataset statistics already contain quantile information. Args: stats: Dataset statistics dictionary Returns: True i
src/lerobot/datasets/v30/augment_dataset_quantile_stats.py:53
↓ 1 callersFunctionhomunculus_glove_to_hope_jr_hand
(glove_action: dict[str, float])
src/lerobot/teleoperators/homunculus/joints_translation.py:29
↓ 1 callersFunctionimg_key_mapping
Map image keys to camera names. Args: img_keys: List of image keys Returns: List of camera names
src/lerobot/policies/wall_x/utils.py:519
↓ 1 callersMethodinit_embed_
(self, data, mask=None)
src/lerobot/policies/vqbet/vqbet_utils.py:1238
↓ 1 callersMethodinit_rtc_processor
Initialize RTC processor if RTC is enabled in config.
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:1015
↓ 1 callersMethodinit_rtc_processor
Initialize RTC processor if RTC is enabled in config.
src/lerobot/policies/smolvla/modeling_smolvla.py:255
↓ 1 callersMethodinit_rtc_processor
Initialize RTC processor if RTC is enabled in config.
src/lerobot/policies/pi05/modeling_pi05.py:1122
↓ 1 callersMethodinit_visualization
Creates a browser-based visualization of exoskeleton and G1 robot, highlighting end-effector frames and target positions.
src/lerobot/teleoperators/unitree_g1/exo_ik.py:190
← previousnext →1,701–1,800 of 5,633, ranked by callers