MCPcopy Create free account

hub / github.com/MINT-SJTU/Evo-RL / types & classes

Types & classes702 in github.com/MINT-SJTU/Evo-RL

↓ 271 callersClassPolicyFeature
src/lerobot/configs/types.py:43
↓ 109 callersClassDataProcessorPipeline
A sequential pipeline for processing data, integrated with the Hugging Face Hub. This class chains together multiple `ProcessorStep` instances to
src/lerobot/processor/pipeline.py:254
↓ 99 callersClassDeviceProcessorStep
Processor step to move all tensors within an `EnvTransition` to a specified device and optionally cast their floating-point data type. T
src/lerobot/processor/device_processor.py:36
↓ 94 callersClassLeRobotDataset
src/lerobot/datasets/lerobot_dataset.py:558
↓ 83 callersClassNormalizerProcessorStep
A processor step that applies normalization to observations and actions in a transition. This class uses the logic from `_NormalizationMixin
src/lerobot/processor/normalize_processor.py:402
↓ 81 callersClassMotor
src/lerobot/motors/motors_bus.py:174
↓ 68 callersClassAddBatchDimensionProcessorStep
A composite processor step that adds a batch dimension to the entire environment transition. This step combines individual processors for ac
src/lerobot/processor/batch_processor.py:198
↓ 63 callersClassTokenizerProcessorStep
Processor step to tokenize a natural language task description. This step extracts a task string from the `complementary_data` of an `EnvTra
src/lerobot/processor/tokenizer_processor.py:56
↓ 53 callersClassMockTokenizer
Mock tokenizer for testing that mimics transformers tokenizer interface.
tests/processor/test_tokenizer_processor.py:41
↓ 49 callersClassRTCConfig
Configuration for Real Time Chunking (RTC) inference. RTC improves real-time inference by treating chunk generation as an inpainting problem,
src/lerobot/policies/rtc/configuration_rtc.py:30
↓ 40 callersClassOpenCVCameraConfig
Configuration class for OpenCV-based camera devices or video files. This class provides configuration options for cameras accessed through OpenCV
src/lerobot/cameras/opencv/configuration_opencv.py:25
↓ 35 callersClassImageTransformConfig
For each transform, the following parameters are available: weight: This represents the multinomial probability (with no replacement)
src/lerobot/datasets/transforms.py:148
↓ 34 callersClassMockStep
Mock pipeline step for testing - demonstrates best practices. This example shows the proper separation: - JSON-serializable attributes (name,
tests/processor/test_pipeline.py:43
↓ 33 callersClassRenameObservationsProcessorStep
A processor step that renames keys in an observation dictionary. This step is useful for creating a standardized data interface by mapping k
src/lerobot/processor/rename_processor.py:27
↓ 30 callersClassRTCProcessor
Real-Time Chunking processor for action chunking policies. This class implements RTC techniques including velocity calculation, prefix attent
src/lerobot/policies/rtc/modeling_rtc.py:37
↓ 29 callersClassUnnormalizerProcessorStep
A processor step that applies unnormalization to observations and actions. This class inverts the normalization process, scaling data back t
src/lerobot/processor/normalize_processor.py:476
↓ 26 callersClassVanillaObservationProcessorStep
Processes standard Gymnasium observations into the LeRobot format. This step handles both image and state data from a typical observation di
src/lerobot/processor/observation_processor.py:31
↓ 23 callersClassOpenCVCamera
Manages camera interactions using OpenCV for efficient frame recording. This class provides a high-level interface to connect to, configure,
src/lerobot/cameras/opencv/camera_opencv.py:52
↓ 22 callersClassFeetechMotorsBus
The FeetechMotorsBus class allows to efficiently read and write to the attached motors. It relies on the python feetech sdk to communicate wi
src/lerobot/motors/feetech/feetech.py:98
↓ 21 callersClassAsyncImageWriter
This class abstract away the initialisation of processes or/and threads to save images on disk asynchronously, which is critical to control a
src/lerobot/datasets/image_writer.py:129
↓ 21 callersClassDynamixelMotorsBus
The Dynamixel implementation for a MotorsBus. It relies on the python dynamixel sdk to communicate with the motors. For more info, see the Dy
src/lerobot/motors/dynamixel/dynamixel.py:102
↓ 20 callersClassRealSenseCamera
Manages interactions with Intel RealSense cameras for frame and depth recording. This class provides an interface similar to `OpenCVCamera`
src/lerobot/cameras/realsense/camera_realsense.py:44
↓ 19 callersClassAverageMeter
Computes and stores the average and current value Adapted from https://github.com/pytorch/examples/blob/main/imagenet/main.py
src/lerobot/utils/logging_utils.py:22
↓ 19 callersClassRealSenseCameraConfig
Configuration class for Intel RealSense cameras. This class provides specialized configuration options for Intel RealSense cameras, including
src/lerobot/cameras/realsense/configuration_realsense.py:22
↓ 18 callersClassMotorCalibration
src/lerobot/motors/motors_bus.py:165
↓ 17 callersClassLeRobotDatasetMetadata
src/lerobot/datasets/lerobot_dataset.py:85
↓ 17 callersClassMockRobotConfig
tests/mocks/mock_robot.py:31
↓ 17 callersClassRobotActionToPolicyActionProcessorStep
Processor step to map a dictionary to a tensor action.
src/lerobot/processor/policy_robot_bridge.py:29
↓ 16 callersClassDeviceNotConnectedError
Exception raised when the device is not connected.
src/lerobot/utils/errors.py:16
↓ 16 callersClassImageTransforms
A class to compose image transforms based on configuration.
src/lerobot/datasets/transforms.py:232
↓ 16 callersClassImageTransformsConfig
These transforms are all using standard torchvision.transforms.v2 You can find out how these transformations affect images here: https://
src/lerobot/datasets/transforms.py:166
↓ 15 callersClassSACPolicy
src/lerobot/policies/sac/modeling_sac.py:39
↓ 14 callersClassMockStepWithNonSerializableParam
Mock step that requires a non-serializable parameter.
tests/processor/test_pipeline.py:765
↓ 14 callersClassRunningQuantileStats
Maintains running statistics for batches of vectors, including mean, standard deviation, min, max, and approximate quantiles. Statistics
src/lerobot/datasets/compute_stats.py:23
↓ 13 callersClassPolicyActionToRobotActionProcessorStep
Processor step to map a policy action to a robot action.
src/lerobot/processor/policy_robot_bridge.py:51
↓ 12 callersClassMockStepWithTensorState
Mock step demonstrating mixed JSON attributes and tensor state.
tests/processor/test_pipeline.py:118
↓ 12 callersClassRobotKinematics
Robot kinematics using placo library for forward and inverse kinematics.
src/lerobot/model/kinematics.py:18
↓ 11 callersClassAdamWConfig
src/lerobot/optim/optimizers.py:101
↓ 11 callersClassMockMotorsBus
tests/mocks/mock_motors_bus.py:124
↓ 11 callersClassMockTeleopConfig
tests/mocks/mock_teleop.py:29
↓ 11 callersClassPistar06Config
Value model config using the Pistar06 stack (SigLIP + Gemma).
src/lerobot/values/pistar06/configuration_pistar06.py:14
↓ 10 callersClassCosineDecayWithWarmupSchedulerConfig
Used by Physical Intelligence to train Pi0. Automatically scales warmup and decay steps if num_training_steps < num_decay_steps. This ensures
src/lerobot/optim/schedulers.py:82
↓ 10 callersClassMetricsTracker
A helper class to track and log metrics over time. Usage pattern: ```python # initialize, potentially with non-zero initial step (e
src/lerobot/utils/logging_utils.py:50
↓ 10 callersClassProcessSignalHandler
Utility class to attach graceful shutdown signal handlers. The class exposes a shutdown_event attribute that is set when a shutdown signal is
src/lerobot/rl/process.py:24
↓ 10 callersClassSACConfig
Soft Actor-Critic (SAC) configuration. SAC is an off-policy actor-critic deep RL algorithm based on the maximum entropy reinforcement learnin
src/lerobot/policies/sac/configuration_sac.py:81
↓ 9 callersClassActionQueue
Thread-safe queue for managing action chunks in real-time control. This queue handles two types of action sequences: - Original actions: Used
src/lerobot/policies/rtc/action_queue.py:35
↓ 9 callersClassDatasetRecordConfig
src/lerobot/scripts/lerobot_record.py:146
↓ 9 callersClassIdentityProcessorStep
A no-op processor step that returns the input transition and features unchanged. This can be useful as a placeholder or for debugging purposes.
src/lerobot/processor/pipeline.py:1702
↓ 9 callersClassPI05Config
src/lerobot/policies/pi05/configuration_pi05.py:31
↓ 9 callersClassPI0Config
src/lerobot/policies/pi0/configuration_pi0.py:31
↓ 9 callersClassPiperLeader
Piper leader arm used as a teleoperator through Piper SDK CAN messages.
src/lerobot/teleoperators/piper_leader/piper_leader.py:67
↓ 9 callersClassPiperLeaderConfig
src/lerobot/teleoperators/piper_leader/config_piper_leader.py:103
↓ 9 callersClassQwen2RMSNorm
src/lerobot/policies/wall_x/qwen_model/qwen2_5_vl_moe.py:116
↓ 9 callersClassRecordConfig
src/lerobot/scripts/lerobot_record.py:193
↓ 8 callersClassACPConfig
src/lerobot/configs/train.py:37
↓ 8 callersClassInverseKinematicsEEToJoints
Computes desired joint positions from a target end-effector pose using inverse kinematics (IK). This step translates a Cartesian command (po
src/lerobot/robots/so_follower/robot_kinematic_processor.py:254
↓ 8 callersClassMLP
Multi-layer perceptron builder. Dynamically constructs a sequence of layers based on `hidden_dims`: 1) Linear (in_dim -> out_dim) 2)
src/lerobot/policies/sac/modeling_sac.py:622
↓ 8 callersClassMLP
src/lerobot/policies/vqbet/modeling_vqbet.py:889
↓ 8 callersClassPI0Policy
PI0 OpenPI Policy for LeRobot.
src/lerobot/policies/pi0/modeling_pi0.py:926
↓ 8 callersClassPiperFollowerConfig
src/lerobot/robots/piper_follower/config_piper_follower.py:85
↓ 8 callersClassPreNorm
src/lerobot/policies/xvla/modeling_florence2.py:213
↓ 8 callersClassReachy2CameraConfig
Configuration class for Reachy 2 camera devices. This class provides configuration options for Reachy 2 cameras, supporting both the teleop a
src/lerobot/cameras/reachy2_camera/configuration_reachy2_camera.py:24
↓ 8 callersClassTracker
Collects and manages debug information for RTC processing. This tracker stores debug information from recent denoising steps in a dictionary,
src/lerobot/policies/rtc/debug_tracker.py:100
↓ 7 callersClassACPInferenceConfig
src/lerobot/scripts/recording_hil.py:35
↓ 7 callersClassPI05Policy
PI05 Policy for LeRobot.
src/lerobot/policies/pi05/modeling_pi05.py:898
↓ 7 callersClassPiperFollower
Piper follower arm controlled through the Piper SDK (CAN).
src/lerobot/robots/piper_follower/piper_follower.py:46
↓ 7 callersClassReplayBuffer
src/lerobot/rl/buffer.py:80
↓ 7 callersClassRewardClassifierConfig
Configuration for the Reward Classifier model.
src/lerobot/policies/sac/reward_model/configuration_classifier.py:27
↓ 7 callersClassSARMEncodingProcessorStep
ProcessorStep that encodes images and text with CLIP and generates stage and progress labels for SARM.
src/lerobot/policies/sarm/processor_sarm.py:56
↓ 7 callersClassSharpnessJitter
Randomly change the sharpness of an image or video. Similar to a v2.RandomAdjustSharpness with p=1 and a sharpness_factor sampled randomly. W
src/lerobot/datasets/transforms.py:98
↓ 7 callersClassSmolVLAConfig
src/lerobot/policies/smolvla/configuration_smolvla.py:29
↓ 7 callersClassStreamingLeRobotDataset
LeRobotDataset with streaming capabilities. This class extends LeRobotDataset to add streaming functionality, allowing data to be streamed ra
src/lerobot/datasets/streaming_dataset.py:43
↓ 6 callersClassDebugStep
Container for debug information from a single denoising step. Attributes: step_idx (int): Step index/counter. x_t (Tensor | None)
src/lerobot/policies/rtc/debug_tracker.py:27
↓ 6 callersClassDiffusionConditionalResidualBlock1d
ResNet style 1D convolutional block with FiLM modulation for conditioning.
src/lerobot/policies/diffusion/modeling_diffusion.py:709
↓ 6 callersClassEpisodeAwareSampler
src/lerobot/datasets/sampler.py:21
↓ 6 callersClassFPSTracker
Utility class to track FPS metrics over time.
src/lerobot/async_inference/helpers.py:238
↓ 6 callersClassForwardKinematicsJointsToEE
src/lerobot/robots/so_follower/robot_kinematic_processor.py:494
↓ 6 callersClassMockConfig
Mock SARMConfig for testing processor methods.
tests/policies/test_sarm_processor.py:47
↓ 6 callersClassMockDatasetMeta
Mock dataset metadata for testing processor.
tests/policies/test_sarm_processor.py:31
↓ 6 callersClassMockStepWithoutOptionalMethods
Mock step that only implements the required __call__ method.
tests/processor/test_pipeline.py:94
↓ 6 callersClassPiperFollowerConfigBase
Configuration for a Piper follower arm controlled over CAN.
src/lerobot/robots/piper_follower/config_piper_follower.py:25
↓ 6 callersClassPistar06Policy
src/lerobot/values/pistar06/modeling_pistar06.py:460
↓ 6 callersClassRandomSubsetApply
Apply a random subset of N transformations from a list of transformations. Args: transforms: list of transformations. p: represen
src/lerobot/datasets/transforms.py:29
↓ 6 callersClassSmolVLANewLineProcessor
A processor step that ensures the 'task' description ends with a newline character. This step is necessary for certain tokenizers (e.g., Pal
src/lerobot/policies/smolvla/processor_smolvla.py:107
↓ 6 callersClassTimedAction
src/lerobot/async_inference/helpers.py:221
↓ 6 callersClassTransition
src/lerobot/utils/transition.py:24
↓ 5 callersClassACTConfig
Configuration class for the Action Chunking Transformers policy. Defaults are configured for training on bimanual Aloha tasks like "insertion" or
src/lerobot/policies/act/configuration_act.py:25
↓ 5 callersClassAdamConfig
src/lerobot/optim/optimizers.py:86
↓ 5 callersClassCategorySpecificLinear
src/lerobot/policies/evo1/flow_matching.py:37
↓ 5 callersClassCategorySpecificLinear
src/lerobot/policies/groot/action_head/flow_matching_action_head.py:42
↓ 5 callersClassDatasetConfig
src/lerobot/configs/default.py:24
↓ 5 callersClassEEBoundsAndSafety
Clips the end-effector pose to predefined bounds and checks for unsafe jumps. This step ensures that the target end-effector pose remains wi
src/lerobot/robots/so_follower/robot_kinematic_processor.py:187
↓ 5 callersClassG1_29_JointIndex
src/lerobot/robots/unitree_g1/g1_utils.py:44
↓ 5 callersClassLatencyTracker
Tracks recent latencies and provides max/percentile queries. Args: maxlen (int | None): Optional sliding window size. If provided, only t
src/lerobot/policies/rtc/latency_tracker.py:24
↓ 5 callersClassLookAheadError
Exception raised when trying to look ahead in the future of a Backtrackable object.
src/lerobot/datasets/utils.py:1238
↓ 5 callersClassMultiAdamConfig
Configuration for multiple Adam optimizers with different parameter groups. This creates a dictionary of Adam optimizers, each with its own hyper
src/lerobot/optim/optimizers.py:231
↓ 5 callersClassSmolVLAPolicy
Wrapper class around VLAFlowMatching model to train and run inference within LeRobot.
src/lerobot/policies/smolvla/modeling_smolvla.py:225
↓ 5 callersClassTimedObservation
src/lerobot/async_inference/helpers.py:229
↓ 5 callersClassTrainPipelineConfig
src/lerobot/configs/train.py:44
↓ 4 callersClassAddObservationStateFeatures
Adds state features (and optionally an image spec to test precedence).
tests/processor/test_pipeline.py:2063
next →1–100 of 702, ranked by callers