MCPcopy Create free account

hub / github.com/Cheney-36/lerobot / types & classes

Types & classes74 in github.com/Cheney-36/lerobot

↓ 16 callersClassLeRobotDataset
lerobot/common/datasets/lerobot_dataset.py:43
↓ 14 callersClassRobotDeviceNotConnectedError
Exception raised when the robot device is not connected.
lerobot/common/robot_devices/utils.py:1
↓ 8 callersClassMLP
lerobot/common/policies/vqbet/modeling_vqbet.py:944
↓ 8 callersClassNormalize
Normalizes data (e.g. "observation.image") for more stable and faster convergence during training.
lerobot/common/policies/normalize.py:97
↓ 6 callersClassDiffusionConditionalResidualBlock1d
ResNet style 1D convolutional block with FiLM modulation for conditioning.
lerobot/common/policies/diffusion/modeling_diffusion.py:696
↓ 6 callersClassVideoFrame
Provides a type for a dataset containing video frames. Example: ```python data_dict = [{"image": {"path": "videos/episode_0.mp4", "
lerobot/common/datasets/video_utils.py:221
↓ 4 callersClassRobotDeviceAlreadyConnectedError
Exception raised when the robot device is already connected.
lerobot/common/robot_devices/utils.py:11
↓ 4 callersClassUnnormalize
Similar to `Normalize` but unnormalizes output data (e.g. `{"action": torch.randn(b,c)}`) in their original range used by the environment.
lerobot/common/policies/normalize.py:159
↓ 3 callersClassDiffusionConv1dBlock
Conv1d --> GroupNorm --> Mish
lerobot/common/policies/diffusion/modeling_diffusion.py:553
↓ 2 callersClassACTEncoder
Convenience module for running multiple encoder layers, maybe followed by normalization.
lerobot/common/policies/act/modeling_act.py:524
↓ 2 callersClassDiffusionConfig
Configuration class for DiffusionPolicy. Defaults are configured for training with PushT providing proprioceptive and single camera observations.
lerobot/common/policies/diffusion/configuration_diffusion.py:21
↓ 1 callersClassACT
Action Chunking Transformer: The underlying neural network for ACTPolicy. Note: In this code we use the terms `vae_encoder`, 'encoder', `decoder`
lerobot/common/policies/act/modeling_act.py:255
↓ 1 callersClassACTConfig
Configuration class for the Action Chunking Transformers policy. Defaults are configured for training on bimanual Aloha tasks like "insertion" or
lerobot/common/policies/act/configuration_act.py:20
↓ 1 callersClassACTDecoder
lerobot/common/policies/act/modeling_act.py:580
↓ 1 callersClassACTDecoderLayer
lerobot/common/policies/act/modeling_act.py:603
↓ 1 callersClassACTEncoderLayer
lerobot/common/policies/act/modeling_act.py:541
↓ 1 callersClassACTSinusoidalPositionEmbedding2d
2D sinusoidal positional embeddings similar to what's presented in Attention Is All You Need. The variation is that the position indices are norm
lerobot/common/policies/act/modeling_act.py:693
↓ 1 callersClassACTTemporalEnsembler
lerobot/common/policies/act/modeling_act.py:164
↓ 1 callersClassBlock
lerobot/common/policies/vqbet/vqbet_utils.py:143
↓ 1 callersClassCausalSelfAttention
lerobot/common/policies/vqbet/vqbet_utils.py:96
↓ 1 callersClassDiffusionConditionalUnet1d
A 1D convolutional UNet with FiLM modulation for conditioning. Note: this removes local conditioning as compared to the original diffusion policy
lerobot/common/policies/diffusion/modeling_diffusion.py:569
↓ 1 callersClassDiffusionModel
lerobot/common/policies/diffusion/modeling_diffusion.py:173
↓ 1 callersClassDiffusionPolicy
Diffusion Policy as per "Diffusion Policy: Visuomotor Policy Learning via Action Diffusion" (paper: https://arxiv.org/abs/2303.04137, code: h
lerobot/common/policies/diffusion/modeling_diffusion.py:46
↓ 1 callersClassDiffusionRgbEncoder
Encoder an RGB image into a 1D feature vector. Includes the ability to normalize and crop the image first.
lerobot/common/policies/diffusion/modeling_diffusion.py:424
↓ 1 callersClassDiffusionSinusoidalPosEmb
1D sinusoidal positional embeddings as in Attention is All You Need.
lerobot/common/policies/diffusion/modeling_diffusion.py:536
↓ 1 callersClassEpisodeAwareSampler
lerobot/common/datasets/sampler.py:21
↓ 1 callersClassEpisodeSampler
lerobot/scripts/visualize_dataset.py:80
↓ 1 callersClassEuclideanCodebook
lerobot/common/policies/vqbet/vqbet_utils.py:1166
↓ 1 callersClassFocalLoss
From https://github.com/notmahi/miniBET/blob/main/behavior_transformer/bet.py
lerobot/common/policies/vqbet/modeling_vqbet.py:917
↓ 1 callersClassGPT
Original comments: Full definition of a GPT Language Model, all of it in this single file. References: 1) the official GPT-2 TensorFl
lerobot/common/policies/vqbet/vqbet_utils.py:163
↓ 1 callersClassJpeg2k
JPEG 2000 codec for numcodecs.
lerobot/common/datasets/push_dataset_to_hub/_umi_imagecodecs_numcodecs.py:93
↓ 1 callersClassJpegXl
JPEG XL codec for numcodecs.
lerobot/common/datasets/push_dataset_to_hub/_umi_imagecodecs_numcodecs.py:139
↓ 1 callersClassKochRobotConfig
Example of usage: ```python KochRobotConfig() ```
lerobot/common/robot_devices/robots/koch.py:155
↓ 1 callersClassLogger
Primary logger object. Logs either locally or using wandb. The logger creates the following directory structure: provided_log_dir ├── .h
lerobot/common/logger.py:65
↓ 1 callersClassMultiLeRobotDataset
A dataset consisting of multiple underlying `LeRobotDataset`s. The underlying `LeRobotDataset`s are effectively concatenated, and this class adop
lerobot/common/datasets/lerobot_dataset.py:218
↓ 1 callersClassOnlineBuffer
FIFO data buffer for the online training loop in train.py. Follows the protocol of LeRobotDataset as much as is required to have it be used by th
lerobot/common/datasets/online_buffer.py:53
↓ 1 callersClassOpenCVCamera
The OpenCVCamera class allows to efficiently record images from cameras. It relies on opencv2 to communicate with the cameras. Most cameras a
lerobot/common/robot_devices/cameras/opencv.py:160
↓ 1 callersClassOpenCVCameraConfig
Example of tested options for Intel Real Sense D405: ```python OpenCVCameraConfig(30, 640, 480) OpenCVCameraConfig(60, 640, 480)
lerobot/common/robot_devices/cameras/opencv.py:136
↓ 1 callersClassPGIGripper
lerobot/common/robot_devices/robots/pgi_tools.py:6
↓ 1 callersClassRandomSubsetApply
Apply a random subset of N transformations from a list of transformations. Args: transforms: list of transformations. p: represen
lerobot/common/datasets/transforms.py:25
↓ 1 callersClassResidualVQ
Residual VQ is composed of multiple VectorQuantize layers. Follows Algorithm 1. in https://arxiv.org/pdf/2107.03312.pdf "Residual Ve
lerobot/common/policies/vqbet/vqbet_utils.py:335
↓ 1 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
lerobot/common/datasets/transforms.py:92
↓ 1 callersClassSpatialSoftmax
Spatial Soft Argmax operation described in "Deep Spatial Autoencoders for Visuomotor Learning" by Finn et al. (https://arxiv.org/pdf/1509.061
lerobot/common/policies/diffusion/modeling_diffusion.py:353
↓ 1 callersClassSpatialSoftmax
Spatial Soft Argmax operation described in "Deep Spatial Autoencoders for Visuomotor Learning" by Finn et al. (https://arxiv.org/pdf/1509.061
lerobot/common/policies/vqbet/modeling_vqbet.py:156
↓ 1 callersClassTDMPCConfig
Configuration class for TDMPCPolicy. Defaults are configured for training with xarm_lift_medium_replay providing proprioceptive and single ca
lerobot/common/policies/tdmpc/configuration_tdmpc.py:21
↓ 1 callersClassTDMPCObservationEncoder
Encode image and/or state vector observations.
lerobot/common/policies/tdmpc/modeling_tdmpc.py:705
↓ 1 callersClassTDMPCTOLD
Task-Oriented Latent Dynamics (TOLD) model used in TD-MPC.
lerobot/common/policies/tdmpc/modeling_tdmpc.py:538
↓ 1 callersClassTimeBenchmark
Measures execution time using a context manager or decorator. This class supports both context manager and decorator usage, and is thread-sa
lerobot/common/utils/benchmark.py:21
↓ 1 callersClassURRobot
A class representing a UR robot.
lerobot/common/robot_devices/robots/ur.py:6
↓ 1 callersClassVQBeTConfig
Configuration class for VQ-BeT. Defaults are configured for training with PushT providing proprioceptive and single camera observations. The
lerobot/common/policies/vqbet/configuration_vqbet.py:23
↓ 1 callersClassVQBeTHead
lerobot/common/policies/vqbet/modeling_vqbet.py:378
↓ 1 callersClassVQBeTModel
VQ-BeT: The underlying neural network for VQ-BeT Note: In this code we use the terms `rgb_encoder`, 'policy', `action_head`. The meanings are as
lerobot/common/policies/vqbet/modeling_vqbet.py:227
↓ 1 callersClassVQBeTOptimizer
lerobot/common/policies/vqbet/modeling_vqbet.py:621
↓ 1 callersClassVQBeTRgbEncoder
Encode an RGB image into a 1D feature vector. Includes the ability to normalize and crop the image first. Same with DiffusionRgbEncoder from
lerobot/common/policies/vqbet/modeling_vqbet.py:699
↓ 1 callersClassVQBeTScheduler
lerobot/common/policies/vqbet/modeling_vqbet.py:672
↓ 1 callersClassVectorQuantize
lerobot/common/policies/vqbet/vqbet_utils.py:556
↓ 1 callersClassVqVae
lerobot/common/policies/vqbet/modeling_vqbet.py:813
↓ 1 callersClassgello_ur5RobotConfig
Example of usage: ```python gello_ur5RobotConfig() ```
lerobot/common/robot_devices/robots/gello_ur5.py:159
ClassACTPolicy
Action Chunking Transformer Policy as per Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardware (paper: https://arxiv.org/abs/23
lerobot/common/policies/act/modeling_act.py:41
ClassCamera
lerobot/common/robot_devices/cameras/utils.py:54
ClassDriveMode
lerobot/common/robot_devices/motors/dynamixel.py:262
ClassDynamixelMotorsBus
lerobot/common/robot_devices/motors/dynamixel.py:267
ClassEpisodeSampler
lerobot/scripts/visualize_dataset_html.py:68
ClassKochRobot
This class allows to control any Koch robot of various number of motors. A few versions are available: - [Koch v1.0](https://github.com/Alexa
lerobot/common/robot_devices/robots/koch.py:169
ClassMotorsBus
lerobot/common/robot_devices/motors/utils.py:4
ClassOperatingMode
lerobot/common/robot_devices/motors/dynamixel.py:253
ClassPolicy
The required interface for implementing a policy. We also expect all policies to subclass torch.nn.Module and PyTorchModelHubMixin.
lerobot/common/policies/policy_protocol.py:31
ClassPolicyWithUpdate
lerobot/common/policies/policy_protocol.py:69
ClassReplayBuffer
Zarr-based temporal datastructure. Assumes first dimension to be time. Only chunk in time dimension.
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:100
ClassRobot
lerobot/common/robot_devices/robots/utils.py:4
ClassTDMPCPolicy
Implementation of TD-MPC learning + inference. Please note several warnings for this policy. - Evaluation of pretrained weights created w
lerobot/common/policies/tdmpc/modeling_tdmpc.py:44
ClassTorqueMode
lerobot/common/robot_devices/motors/dynamixel.py:248
ClassVQBeTPolicy
VQ-BeT Policy as per "Behavior Generation with Latent Actions"
lerobot/common/policies/vqbet/modeling_vqbet.py:41
Classgello_ur5Robot
lerobot/common/robot_devices/robots/gello_ur5.py:173