Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MINT-SJTU/Evo-RL
/ functions
Functions
5,633 in github.com/MINT-SJTU/Evo-RL
⨍
Functions
5,633
◇
Types & classes
702
↳
Endpoints
36
↓ 3 callers
Method
step
Single denoising step for inference.
src/lerobot/policies/wall_x/modeling_wall_x.py:200
↓ 3 callers
Method
sync_read
Read the same register from several motors at once. Args: data_name (str): Register name. motors (NameOrID | Sequence
src/lerobot/motors/motors_bus.py:1112
↓ 3 callers
Method
sync_read_all_states
Read ALL motor states (position, velocity, torque) from multiple motors in ONE refresh cycle. Returns: Dictionary mappin
src/lerobot/motors/damiao/damiao.py:654
↓ 3 callers
Method
sync_write
Builds a "Sync_Write" broadcast instruction. The parameters for Sync_Write are: param[0] = start_address p
tests/mocks/mock_feetech.py:168
↓ 3 callers
Method
to_dict
Convert debug step to dictionary. Args: include_tensors (bool): If True, include tensor values. If False, only include
src/lerobot/policies/rtc/debug_tracker.py:58
↓ 3 callers
Function
train
Main function to train a policy. This function orchestrates the entire training pipeline, including: - Setting up logging, seeding, and
src/lerobot/scripts/lerobot_train.py:154
↓ 3 callers
Method
train_step_forward
Forward pass for training with multi-modal inputs including vision, text, and action data. This method handles the complete forward
src/lerobot/policies/wall_x/modeling_wall_x.py:687
↓ 3 callers
Method
transform_features
Adds feature definitions for the language tokens and attention mask. This updates the policy features dictionary to include the new
src/lerobot/processor/tokenizer_processor.py:296
↓ 3 callers
Function
unnormalize
(x, min_val, max_val)
src/lerobot/policies/smolvla/modeling_smolvla.py:175
↓ 3 callers
Method
update_target_networks
Update target networks with exponential moving average
src/lerobot/policies/sac/modeling_sac.py:220
↓ 2 callers
Method
ConnectPort
(self, can_init=False, piper_init=True, start_thread=True)
tests/test_piper_teleop.py:125
↓ 2 callers
Method
EnablePiper
(self)
tests/test_piper_teleop.py:143
↓ 2 callers
Method
GripperCtrl
(self, *args)
tests/test_piper_teleop.py:159
↓ 2 callers
Method
JointCtrl
(self, *args)
tests/test_piper_teleop.py:153
↓ 2 callers
Method
Read
Receive and deserialize a state message from the robot.
src/lerobot/robots/unitree_g1/unitree_sdk2_socket.py:161
↓ 2 callers
Method
SendInteractions
(self, request_iterator, _context)
src/lerobot/rl/learner_service.py:102
↓ 2 callers
Method
__init__
(self, config: PhoneConfig)
src/lerobot/teleoperators/phone/teleop_phone.py:370
↓ 2 callers
Method
__init__
(self, config: KeyboardTeleopConfig)
src/lerobot/teleoperators/keyboard/teleop_keyboard.py:59
↓ 2 callers
Method
__init__
Args: config: Policy configuration class instance.
src/lerobot/policies/pi0/modeling_pi0.py:932
↓ 2 callers
Method
__init__
(self, config: TDMPCConfig)
src/lerobot/policies/tdmpc/modeling_tdmpc.py:522
↓ 2 callers
Method
__init__
(self, config: SARMConfig, dataset_stats: dict | None = None, dataset_meta=None)
src/lerobot/policies/sarm/modeling_sarm.py:369
↓ 2 callers
Method
__init__
( self, vision_config=None, text_config=None, ignore_index=-100, vocab
src/lerobot/policies/xvla/configuration_florence2.py:333
↓ 2 callers
Method
__init__
( self, config: GR00TN15Config, local_model_path: str, )
src/lerobot/policies/groot/groot_n1.py:205
↓ 2 callers
Method
__init__
Args: config: Policy configuration class instance.
src/lerobot/policies/pi05/modeling_pi05.py:904
↓ 2 callers
Method
__init__
(self, sharpness: float | Sequence[float])
src/lerobot/datasets/transforms.py:118
↓ 2 callers
Method
__init__
(self, mapping: dict[str, int])
tests/value/test_pistar06_value_stack.py:155
↓ 2 callers
Function
_accumulate_to
(group: str, metrics: dict)
src/lerobot/scripts/lerobot_eval.py:713
↓ 2 callers
Method
_adjust_height
(self)
src/lerobot/motors/calibration_gui.py:261
↓ 2 callers
Method
_apply_dtype
Apply dtype casting to model components based on config.
src/lerobot/policies/xvla/modeling_xvla.py:117
↓ 2 callers
Method
_apply_transform
Core logic to apply a normalization or unnormalization transformation to a tensor. This method selects the appropriate normalization
src/lerobot/processor/normalize_processor.py:278
↓ 2 callers
Method
_assert_motors_exist
(self)
src/lerobot/motors/motors_bus.py:452
↓ 2 callers
Method
_batch_refresh
Internal helper to refresh a list of motors and update cache.
src/lerobot/motors/damiao/damiao.py:675
↓ 2 callers
Method
_batch_save_episode_video
Batch save videos for multiple episodes. Args: start_episode: Starting episode index (inclusive) end_episode
src/lerobot/datasets/lerobot_dataset.py:1304
↓ 2 callers
Function
_binarize_advantages
( task_indices: np.ndarray, advantages: np.ndarray, thresholds: dict[int, float], intervention
src/lerobot/scripts/lerobot_value_infer.py:300
↓ 2 callers
Method
_build_arm_config
(self, arm_config_cls, side_cfg, side: str)
src/lerobot/robots/bi_piper_follower/bi_piper_follower.py:60
↓ 2 callers
Method
_build_arm_config
(self, arm_config_cls, side_cfg, side: str)
src/lerobot/teleoperators/bi_piper_leader/bi_piper_leader.py:215
↓ 2 callers
Function
_build_eagle_processor
(tokenizer_assets_repo: str = DEFAULT_TOKENIZER_ASSETS_REPO)
src/lerobot/policies/groot/processor_groot.py:196
↓ 2 callers
Method
_build_sliders
(self)
src/lerobot/motors/calibration_gui.py:270
↓ 2 callers
Function
_check_matplotlib_available
Check if matplotlib is available, raise helpful error if not.
examples/rtc/eval_dataset.py:139
↓ 2 callers
Method
_clean_prompt
(task: str)
src/lerobot/values/pistar06/processor_pistar06.py:64
↓ 2 callers
Method
_cleanup
Clean up ZMQ resources.
src/lerobot/cameras/zmq/camera_zmq.py:157
↓ 2 callers
Function
_clone_runtime_value
(value: Any)
src/lerobot/scripts/recording_hil.py:63
↓ 2 callers
Method
_close_writer
Close and cleanup the parquet writer if it exists.
src/lerobot/datasets/lerobot_dataset.py:147
↓ 2 callers
Method
_collect_image_batches
(self, batch: dict[str, Tensor])
src/lerobot/policies/evo1/modeling_evo1.py:285
↓ 2 callers
Function
_compose_frame
(i: int)
src/lerobot/scripts/value_infer_viz.py:492
↓ 2 callers
Method
_compute_batch_targets
Compute stage+tau targets for a batch of samples.
src/lerobot/policies/sarm/processor_sarm.py:309
↓ 2 callers
Function
_compute_dense_rewards_from_targets
( targets: np.ndarray, episode_indices: np.ndarray, frame_indices: np.ndarray, )
src/lerobot/scripts/lerobot_value_infer.py:217
↓ 2 callers
Method
_compute_fused_tokens
( self, prompts: list[str], image_batches: list[list[Tensor]], image_masks: Te
src/lerobot/policies/evo1/modeling_evo1.py:327
↓ 2 callers
Function
_compute_n_step_advantages
( rewards: np.ndarray, values: np.ndarray, episode_indices: np.ndarray, frame_indices: np.ndar
src/lerobot/scripts/lerobot_value_infer.py:239
↓ 2 callers
Function
_compute_task_thresholds
( task_indices: np.ndarray, advantages: np.ndarray, positive_ratio: float, )
src/lerobot/scripts/lerobot_value_infer.py:279
↓ 2 callers
Function
_copy_and_reindex_data
Copy and filter data files, only modifying files with deleted episodes. Args: src_dataset: Source dataset to copy from dst_meta:
src/lerobot/datasets/dataset_tools.py:471
↓ 2 callers
Function
_copy_and_reindex_episodes_metadata
Copy and reindex episodes metadata using provided data and video metadata. Args: src_dataset: Source dataset to copy from dst_met
src/lerobot/datasets/dataset_tools.py:804
↓ 2 callers
Function
_copy_and_reindex_videos
Copy and filter video files, only re-encoding files with deleted episodes. For video files that only contain kept episodes, we copy them directly
src/lerobot/datasets/dataset_tools.py:674
↓ 2 callers
Method
_decode_base64_image
Decode base64 string to image. Args: base64_string: Base64 encoded image string Returns: np.ndarray: Decoded
src/lerobot/robots/earthrover_mini_plus/robot_earthrover_mini_plus.py:379
↓ 2 callers
Function
_decode_frames_at_timestamps
( video_file: Path, timestamps_s: np.ndarray, tolerance_s: float, backend: str | None, )
src/lerobot/scripts/value_infer_viz.py:266
↓ 2 callers
Method
_decode_sign
(self, data_name: str, ids_values: dict[int, int])
src/lerobot/motors/motors_bus.py:902
↓ 2 callers
Method
_drain_pressed_keys
(self)
src/lerobot/teleoperators/keyboard/teleop_keyboard.py:116
↓ 2 callers
Method
_draw_button
(self, surf, rect, text)
src/lerobot/motors/calibration_gui.py:131
↓ 2 callers
Method
_dynamic_preprocess_tensor
( self, image_t, min_num=1, max_num=1, use_thumbnail=False )
src/lerobot/policies/evo1/internvl3_embedder.py:179
↓ 2 callers
Function
_encode_pil_to_video
Encode PIL frames directly to video without writing intermediate PNG files.
src/lerobot/scripts/value_infer_viz.py:347
↓ 2 callers
Method
_encode_sign
(self, data_name: str, ids_values: dict[int, int])
src/lerobot/motors/motors_bus.py:898
↓ 2 callers
Function
_ensure_human_inloop_compatible_features
( dataset_features: dict[str, dict], *, action_feature_names: list[str], )
src/lerobot/scripts/lerobot_record.py:298
↓ 2 callers
Function
_export_visualization_outputs
( dataset: LeRobotDataset, cfg: ValueInferencePipelineConfig, output_dir: Path, )
src/lerobot/scripts/lerobot_value_infer.py:428
↓ 2 callers
Function
_extract_joint_pos_from_observation
(observation: dict[str, Any])
src/lerobot/scripts/lerobot_human_inloop_record.py:48
↓ 2 callers
Method
_find_episode_for_frame
Find the episode index for a given frame index.
src/lerobot/policies/sarm/processor_sarm.py:103
↓ 2 callers
Method
_find_single_motor
(self, motor: str, initial_baudrate: int | None = None)
src/lerobot/motors/motors_bus.py:621
↓ 2 callers
Method
_fix_pytorch_state_dict_keys
Fix state dict keys to match current model architecture.
src/lerobot/policies/pi0/modeling_pi0.py:1077
↓ 2 callers
Method
_fk_target_world
returns wrist frame target to be used for G1 IK in 4x4 homogeneous transform. Takes offset into account.
src/lerobot/teleoperators/unitree_g1/exo_ik.py:239
↓ 2 callers
Function
_format_ascii_histogram
(histogram: list[dict[str, float | int]], bar_width: int = 40)
src/lerobot/scripts/lerobot_dataset_report.py:120
↓ 2 callers
Method
_format_raw_obs
(self, raw_obs: np.ndarray)
src/lerobot/envs/metaworld.py:166
↓ 2 callers
Function
_frame_id
(model, name: str)
src/lerobot/teleoperators/unitree_g1/exo_ik.py:36
↓ 2 callers
Function
_freeze_module
(module: nn.Module)
src/lerobot/values/pistar06/modeling_pistar06.py:132
↓ 2 callers
Method
_freeze_module
(self, module: nn.Module)
src/lerobot/policies/evo1/evo1_model.py:201
↓ 2 callers
Method
_from_keyboard_to_base_action
(self, pressed_keys: np.ndarray)
src/lerobot/robots/lekiwi/lekiwi_client.py:271
↓ 2 callers
Method
_get_action_chunk
( self, batch: dict[str, Tensor], noise: Tensor | None = None, **kwargs: Unpack[ActionSelectKwargs]
src/lerobot/policies/smolvla/modeling_smolvla.py:274
↓ 2 callers
Method
_get_action_chunk
(self, batch: dict[str, Tensor])
src/lerobot/policies/xvla/modeling_xvla.py:396
↓ 2 callers
Method
_get_cached_value
Retrieve a specific value from the cache.
src/lerobot/motors/damiao/damiao.py:603
↓ 2 callers
Method
_get_embodiment_ids
(self, batch: dict[str, Tensor], batch_size: int)
src/lerobot/policies/evo1/modeling_evo1.py:268
↓ 2 callers
Function
_get_episode_value_bounds
(ep_values: np.ndarray)
src/lerobot/scripts/value_infer_viz.py:341
↓ 2 callers
Function
_get_episode_video_time_bounds
( dataset: LeRobotDataset, episode_index: int, video_key: str, )
src/lerobot/scripts/value_infer_viz.py:298
↓ 2 callers
Method
_infinite_generator_over_elements
(rng: np.random.Generator, elements: list[int])
src/lerobot/datasets/streaming_dataset.py:182
↓ 2 callers
Method
_initialize_storage
Initialize the storage tensors based on the first transition.
src/lerobot/rl/buffer.py:132
↓ 2 callers
Method
_inspect_action_queue
(self)
src/lerobot/async_inference/robot_client.py:219
↓ 2 callers
Function
_is_scalar
(x)
src/lerobot/utils/visualization_utils.py:47
↓ 2 callers
Method
_item_to_tensors
(self, item: dict)
src/lerobot/datasets/online_buffer.py:236
↓ 2 callers
Method
_iter_random_indices
( rng: np.random.Generator, buffer_size: int, random_batch_size=100 )
src/lerobot/datasets/streaming_dataset.py:175
↓ 2 callers
Method
_load_as_safetensor
(cls, model: T, model_file: str, map_location: str, strict: bool)
src/lerobot/policies/pretrained.py:137
↓ 2 callers
Function
_load_failure_reset_pose
(pose_path: Path)
src/lerobot/scripts/lerobot_human_inloop_record.py:66
↓ 2 callers
Method
_load_proportions_from_json
Load temporal proportions from a JSON file (preserving order).
src/lerobot/policies/sarm/modeling_sarm.py:425
↓ 2 callers
Function
_load_single_optimizer_state
Load a single optimizer's state from disk.
src/lerobot/optim/optimizers.py:339
↓ 2 callers
Function
_make_arm_mock
(name: str)
tests/teleoperators/test_bi_so_leader.py:26
↓ 2 callers
Function
_make_pi05_preprocessor
()
tests/training/test_acp_pi05_prompt_pipeline.py:54
↓ 2 callers
Method
_make_timestamps_from_indices
( self, start_ts: float, indices: dict[str, list[int]] | None = None )
src/lerobot/datasets/streaming_dataset.py:257
↓ 2 callers
Function
_maybe_enable_gradient_checkpointing
(module: nn.Module)
src/lerobot/values/pistar06/modeling_pistar06.py:138
↓ 2 callers
Method
_mit_control_batch
Send MIT control commands to multiple motors in batch. Sends all commands first, then collects responses. Args:
src/lerobot/motors/damiao/damiao.py:491
↓ 2 callers
Method
_normalize
(self, ids_values: dict[int, int])
src/lerobot/motors/motors_bus.py:838
↓ 2 callers
Method
_normalize_action
Applies (un)normalization to an action tensor. Args: action: The action tensor to process. inverse: If `True
src/lerobot/processor/normalize_processor.py:263
↓ 2 callers
Method
_normalize_observation
Applies (un)normalization to all relevant features in an observation dictionary. Args: observation: The observation dict
src/lerobot/processor/normalize_processor.py:242
↓ 2 callers
Method
_normalize_task_batch
(self, batch: dict[str, Tensor | list[str] | str])
src/lerobot/policies/evo1/modeling_evo1.py:149
↓ 2 callers
Method
_offset_to_calibrated
(self, key: str, offset_deg: float)
src/lerobot/teleoperators/piper_leader/piper_leader.py:376
← previous
next →
701–800 of 5,633, ranked by callers