MCPcopy Create free account

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

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

↓ 1 callersMethodsync_write
Builds a "Sync_Write" broadcast instruction. https://emanual.robotis.com/docs/en/dxl/protocol2/#sync-write-0x83 The paramete
tests/mocks/mock_dynamixel.py:298
↓ 1 callersFunctiontest_config_creation
Test policy config creation through factory.
tests/policies/wall_x/test_wallx.py:126
↓ 1 callersFunctiontest_damiao_motor
()
tests/motors/test_damiao.py:15
↓ 1 callersFunctiontest_interface
Test all motors on a CAN interface.
src/lerobot/scripts/lerobot_setup_can.py:182
↓ 1 callersFunctiontest_policy_instantiation
()
tests/policies/wall_x/test_wallx.py:42
↓ 1 callersFunctiontimestep_embedding
Create sinusoidal timestep embeddings. Parameters ---------- t : torch.Tensor Shape [B]. Each element is a timestep index, m
src/lerobot/policies/xvla/soft_transformer.py:183
↓ 1 callersMethodto_bfloat16_for_selected_params
(self, precision: Literal["bfloat16", "float32"] = "bfloat16")
src/lerobot/policies/pi0/modeling_pi0.py:392
↓ 1 callersMethodto_bfloat16_for_selected_params
(self, precision: Literal["bfloat16", "float32"] = "bfloat16")
src/lerobot/policies/pi0_fast/modeling_pi0_fast.py:222
↓ 1 callersMethodto_bfloat16_for_selected_params
(self)
src/lerobot/policies/wall_x/modeling_wall_x.py:417
↓ 1 callersMethodto_bfloat16_for_selected_params
(self, precision: Literal["bfloat16", "float32"] = "bfloat16")
src/lerobot/policies/pi05/modeling_pi05.py:390
↓ 1 callersMethodto_dict
(self)
src/lerobot/teleoperators/unitree_g1/exo_calib.py:65
↓ 1 callersFunctionto_hwc_uint8_numpy
(chw_float32_torch: torch.Tensor)
src/lerobot/scripts/lerobot_dataset_viz.py:80
↓ 1 callersFunctionto_numpy_image
Convert image tensor to numpy uint8 (H, W, C).
src/lerobot/policies/sarm/compute_rabc_weights.py:119
↓ 1 callersFunctionto_rgb
(pil_image: Image.Image)
src/lerobot/policies/groot/eagle2_hg_model/processing_eagle2_5_vl.py:43
↓ 1 callersMethodtrack
Proxy method to track debug information. If tracker is None or disabled, this method does nothing. Otherwise, it forwards the call to
src/lerobot/policies/rtc/modeling_rtc.py:56
↓ 1 callersFunctiontrain
Main training function that initializes and runs the training process. Args: cfg (TrainRLServerPipelineConfig): The training configu
src/lerobot/rl/learner.py:122
↓ 1 callersFunctiontrain_cli
(cfg: TrainRLServerPipelineConfig)
src/lerobot/rl/learner.py:107
↓ 1 callersFunctiontrain_fast_tokenizer
Train FAST tokenizer (BPE on DCT coefficients) on action chunks. Uses the .fit() method to train a new tokenizer on the provided data.
src/lerobot/scripts/lerobot_train_tokenizer.py:284
↓ 1 callersFunctiontrain_tokenizer
Train FAST tokenizer for action encoding. Args: cfg: TokenizerTrainingConfig dataclass with all configuration parameters
src/lerobot/scripts/lerobot_train_tokenizer.py:379
↓ 1 callersMethodtransform_features
Returns the input features unchanged. Device and dtype transformations do not alter the fundamental definition of the features (e.g.
src/lerobot/processor/device_processor.py:180
↓ 1 callersMethodtransform_features
( self, features: dict[PipelineFeatureType, dict[str, PolicyFeature]] )
src/lerobot/policies/smolvla/processor_smolvla.py:138
↓ 1 callersMethodtransform_features
( self, features: dict[PipelineFeatureType, dict[str, PolicyFeature]] )
tests/processor/test_pipeline.py:1999
↓ 1 callersMethodtruncated
Processes a 'truncated' flag. Subclasses must implement this method. Args: truncated: The input 'truncated' flag from the transit
src/lerobot/processor/pipeline.py:1619
↓ 1 callersMethodtxRxPacket
(self, port, txpacket)
src/lerobot/motors/motors_bus.py:218
↓ 1 callersMethodupdate_affine
(self, data, embed, mask=None)
src/lerobot/policies/vqbet/vqbet_utils.py:1279
↓ 1 callersFunctionupdate_data_df
Updates a data DataFrame with new indices and task mappings for aggregation. Adjusts episode indices, frame indices, and task indices to account
src/lerobot/datasets/aggregate.py:83
↓ 1 callersFunctionupdate_ema_parameters
Update EMA parameters in place with ema_param <- alpha * ema_param + (1 - alpha) * param.
src/lerobot/policies/tdmpc/modeling_tdmpc.py:797
↓ 1 callersFunctionupdate_meta_data
Updates metadata DataFrame with new chunk, file, and timestamp indices. Adjusts all indices and timestamps to account for previously aggregated
src/lerobot/datasets/aggregate.py:107
↓ 1 callersFunctionupdate_policy
Performs a single training step to update the policy's weights. This function executes the forward and backward passes, clips gradients, and
src/lerobot/scripts/lerobot_train.py:59
↓ 1 callersFunctionupdate_policy
( train_metrics: MetricsTracker, policy: PreTrainedPolicy, batch: Any, optimizer: Optimizer,
src/lerobot/scripts/lerobot_value_train.py:34
↓ 1 callersFunctionupdate_policy_parameters
(policy: SACPolicy, parameters_queue: Queue, device)
src/lerobot/rl/actor.py:652
↓ 1 callersMethodupdate_video_info
Warning: this function writes info from first episode videos, implicitly assuming that all videos have been encoded the same way. Als
src/lerobot/datasets/lerobot_dataset.py:426
↓ 1 callersMethodupdate_visualization
(self)
src/lerobot/teleoperators/unitree_g1/exo_ik.py:265
↓ 1 callersMethodvalidate
(self)
src/lerobot/configs/value_train.py:33
↓ 1 callersFunctionvalidate_all_metadata
Validates that all dataset metadata have consistent properties. Ensures all datasets have the same fps, robot_type, and features to guarantee
src/lerobot/datasets/aggregate.py:47
↓ 1 callersFunctionvalidate_episode_buffer
Validate the episode buffer before it's written to disk. Ensures the buffer has the required keys, contains at least one frame, and has featu
src/lerobot/datasets/utils.py:1144
↓ 1 callersFunctionvalidate_feature_dtype_and_shape
Validate the dtype and shape of a single feature's value. Args: name (str): The name of the feature. feature (dict): The feature
src/lerobot/datasets/utils.py:1041
↓ 1 callersFunctionvalidate_feature_image_or_video
Validate a feature that is expected to be an image or video frame. Accepts `np.ndarray` (channel-first or channel-last) or `PIL.Image.Image`.
src/lerobot/datasets/utils.py:1099
↓ 1 callersFunctionvalidate_feature_numpy_array
Validate a feature that is expected to be a numpy array. Args: name (str): The name of the feature. expected_dtype (str): The exp
src/lerobot/datasets/utils.py:1069
↓ 1 callersFunctionvalidate_feature_string
Validate a feature that is expected to be a string. Args: name (str): The name of the feature. value (str): The value to validate
src/lerobot/datasets/utils.py:1129
↓ 1 callersMethodvalidate_features
(self)
src/lerobot/configs/policies.py:127
↓ 1 callersMethodvalidate_features
(self)
src/lerobot/policies/diffusion/configuration_diffusion.py:197
↓ 1 callersMethodvalidate_features
Validate and set up input/output features.
src/lerobot/policies/pi0/configuration_pi0.py:117
↓ 1 callersMethodvalidate_features
(self)
src/lerobot/policies/vqbet/configuration_vqbet.py:156
↓ 1 callersMethodvalidate_features
(self)
src/lerobot/policies/tdmpc/configuration_tdmpc.py:184
↓ 1 callersMethodvalidate_features
Validate and set up input/output features.
src/lerobot/policies/pi0_fast/configuration_pi0_fast.py:111
↓ 1 callersMethodvalidate_features
(self)
src/lerobot/policies/smolvla/configuration_smolvla.py:123
↓ 1 callersMethodvalidate_features
(self)
src/lerobot/policies/evo1/configuration_evo1.py:111
↓ 1 callersMethodvalidate_features
Validate and set up input/output features.
src/lerobot/policies/wall_x/configuration_wall_x.py:100
↓ 1 callersMethodvalidate_features
(self)
src/lerobot/policies/act/configuration_act.py:163
↓ 1 callersMethodvalidate_features
(self)
src/lerobot/policies/sarm/configuration_sarm.py:200
↓ 1 callersMethodvalidate_features
(self)
src/lerobot/policies/xvla/configuration_xvla.py:145
↓ 1 callersMethodvalidate_features
Validate and set up input/output features for Groot.
src/lerobot/policies/groot/configuration_groot.py:132
↓ 1 callersMethodvalidate_features
Validate and set up input/output features.
src/lerobot/policies/pi05/configuration_pi05.py:118
↓ 1 callersFunctionvalidate_features_presence
Check for missing or extra features in a frame. Args: actual_features (set[str]): The set of feature names present in the frame.
src/lerobot/datasets/utils.py:1017
↓ 1 callersFunctionvalidate_frame
(frame: dict, features: dict)
src/lerobot/datasets/utils.py:996
↓ 1 callersMethodvalidate_inputs
(self, inputs)
src/lerobot/policies/groot/groot_n1.py:224
↓ 1 callersFunctionvalidate_local_dataset_version
Validate that the local dataset has the expected v2.1 version.
src/lerobot/datasets/v30/convert_dataset_v21_to_v30.py:157
↓ 1 callersFunctionvalidate_visual_features_consistency
Validates visual feature consistency between a policy config and provided dataset/environment features. Validation passes if EITHER: - P
src/lerobot/policies/utils.py:226
↓ 1 callersFunctionvalue_infer
(cfg: ValueInferencePipelineConfig)
src/lerobot/scripts/lerobot_value_infer.py:710
↓ 1 callersFunctionvalue_train
( cfg: ValueTrainPipelineConfig, accelerator: Accelerator | None = None, )
src/lerobot/scripts/lerobot_value_train.py:78
↓ 1 callersFunctionvisualize_episode
Create visualization with progress plot, stage probabilities, and sample frames. Same as sarm_inference_visualization.py
src/lerobot/policies/sarm/compute_rabc_weights.py:136
↓ 1 callersFunctionvisualize_image_transforms
(cfg: DatasetConfig, output_dir: Path = OUTPUT_DIR, n_examples: int = 5)
src/lerobot/scripts/lerobot_imgtransform_viz.py:108
↓ 1 callersMethodvqvae_forward
(self, state)
src/lerobot/policies/vqbet/modeling_vqbet.py:833
↓ 1 callersFunctionwait_until
(predicate, timeout_s: float = 0.2, poll_s: float = 0.005)
tests/test_piper_teleop.py:204
↓ 1 callersFunctionwindow_partition
(x, window_size: int)
src/lerobot/policies/xvla/modeling_florence2.py:385
↓ 1 callersFunctionwindow_reverse
(windows, batch_size: int, window_size: int, height: int, width: int)
src/lerobot/policies/xvla/modeling_florence2.py:392
↓ 1 callersMethodwrap_backbone_lora
(self, r=128, lora_alpha=256, lora_dropout=0.05)
src/lerobot/policies/groot/eagle2_hg_model/modeling_eagle2_5_vl.py:170
↓ 1 callersMethodwrap_llm_lora
(self, r=128, lora_alpha=256, lora_dropout=0.05)
src/lerobot/policies/groot/eagle2_hg_model/modeling_eagle2_5_vl.py:187
↓ 1 callersMethodwrap_with_peft
Wrap this policy with PEFT adapters for parameter-efficient fine-tuning. This method is the single entry point for PEFT integration.
src/lerobot/policies/pretrained.py:270
↓ 1 callersMethodwrite
Builds a "Write" instruction. https://emanual.robotis.com/docs/en/dxl/protocol2/#write-0x03 The parameters for Write (Protoc
tests/mocks/mock_dynamixel.py:228
↓ 1 callersMethodwriteTxRx
(self, port, id, address, length, data)
src/lerobot/motors/motors_bus.py:234
↓ 1 callersFunctionwrite_hf_dataset
Writes a Hugging Face Dataset to one or more Parquet files in a structured directory format. If the dataset size is within `DEFAULT_DATA_FIL
tests/fixtures/files.py:36
MethodGetActions
Missing associated documentation comment in .proto file.
src/lerobot/transport/services_pb2_grpc.py:282
MethodGetActions
(request, target, options=(), channel_credentials=None, call_c
src/lerobot/transport/services_pb2_grpc.py:364
MethodReady
Missing associated documentation comment in .proto file.
src/lerobot/transport/services_pb2_grpc.py:85
MethodReady
(request, target, options=(), channel_credentials=None, call_c
src/lerobot/transport/services_pb2_grpc.py:209
MethodReady
Missing associated documentation comment in .proto file.
src/lerobot/transport/services_pb2_grpc.py:294
MethodReady
(request, target, options=(), channel_credentials=None, call_c
src/lerobot/transport/services_pb2_grpc.py:418
MethodSendInteractions
Missing associated documentation comment in .proto file.
src/lerobot/transport/services_pb2_grpc.py:79
MethodSendInteractions
(request_iterator, target, options=(), channel_credentials=None,
src/lerobot/transport/services_pb2_grpc.py:182
MethodSendObservations
Robot -> Policy to share observations with a remote inference server Policy -> Robot to share actions predicted for given observations
src/lerobot/transport/services_pb2_grpc.py:274
MethodSendObservations
(request_iterator, target, options=(), channel_credentials=None,
src/lerobot/transport/services_pb2_grpc.py:337
MethodSendPolicyInstructions
Missing associated documentation comment in .proto file.
src/lerobot/transport/services_pb2_grpc.py:288
MethodSendPolicyInstructions
(request, target, options=(), channel_credentials=None, call_c
src/lerobot/transport/services_pb2_grpc.py:391
MethodSendTransitions
Missing associated documentation comment in .proto file.
src/lerobot/transport/services_pb2_grpc.py:73
MethodSendTransitions
(request_iterator, target, options=(), channel_credentials=None,
src/lerobot/transport/services_pb2_grpc.py:155
MethodStreamParameters
Actor -> Learner to store transitions
src/lerobot/transport/services_pb2_grpc.py:66
MethodStreamParameters
(request, target, options=(), channel_credentials=None, call_c
src/lerobot/transport/services_pb2_grpc.py:128
Function_
Handle conversion for existing PyTorch tensors.
src/lerobot/processor/converters.py:59
Function_
(env: Mapping)
src/lerobot/envs/utils.py:202
Method__call__
(self, transition: EnvTransition)
src/lerobot/robots/so_follower/robot_kinematic_processor.py:506
Method__call__
(self, transition: EnvTransition)
src/lerobot/robots/so_follower/robot_kinematic_processor.py:537
Method__call__
(self, transition: EnvTransition)
src/lerobot/processor/normalize_processor.py:445
Method__call__
(self, transition: EnvTransition)
src/lerobot/processor/normalize_processor.py:509
Method__call__
Calculates the gripper penalty and adds it to the complementary data. Args: transition: The incoming environment transit
src/lerobot/processor/hil_processor.py:332
Method__call__
Processes the transition to handle interventions. Args: transition: The incoming environment transition. Return
src/lerobot/processor/hil_processor.py:416
Method__call__
Processes a transition, applying the reward classifier to its image observations. Args: transition: The incoming environ
src/lerobot/processor/hil_processor.py:534
Method__call__
Processes an environment transition. This method should contain the core logic of the processing step. Args: transition:
src/lerobot/processor/pipeline.py:171
Method__call__
Processes input data through the full pipeline. Args: data: The input data to process. Returns: The processe
src/lerobot/processor/pipeline.py:284
← previousnext →2,101–2,200 of 5,633, ranked by callers