Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cheney-36/lerobot
/ types & classes
Types & classes
74 in github.com/Cheney-36/lerobot
⨍
Functions
577
◇
Types & classes
74
↳
Endpoints
2
↓ 16 callers
Class
LeRobotDataset
lerobot/common/datasets/lerobot_dataset.py:43
↓ 14 callers
Class
RobotDeviceNotConnectedError
Exception raised when the robot device is not connected.
lerobot/common/robot_devices/utils.py:1
↓ 8 callers
Class
MLP
lerobot/common/policies/vqbet/modeling_vqbet.py:944
↓ 8 callers
Class
Normalize
Normalizes data (e.g. "observation.image") for more stable and faster convergence during training.
lerobot/common/policies/normalize.py:97
↓ 6 callers
Class
DiffusionConditionalResidualBlock1d
ResNet style 1D convolutional block with FiLM modulation for conditioning.
lerobot/common/policies/diffusion/modeling_diffusion.py:696
↓ 6 callers
Class
VideoFrame
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 callers
Class
RobotDeviceAlreadyConnectedError
Exception raised when the robot device is already connected.
lerobot/common/robot_devices/utils.py:11
↓ 4 callers
Class
Unnormalize
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 callers
Class
DiffusionConv1dBlock
Conv1d --> GroupNorm --> Mish
lerobot/common/policies/diffusion/modeling_diffusion.py:553
↓ 2 callers
Class
ACTEncoder
Convenience module for running multiple encoder layers, maybe followed by normalization.
lerobot/common/policies/act/modeling_act.py:524
↓ 2 callers
Class
DiffusionConfig
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 callers
Class
ACT
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 callers
Class
ACTConfig
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 callers
Class
ACTDecoder
lerobot/common/policies/act/modeling_act.py:580
↓ 1 callers
Class
ACTDecoderLayer
lerobot/common/policies/act/modeling_act.py:603
↓ 1 callers
Class
ACTEncoderLayer
lerobot/common/policies/act/modeling_act.py:541
↓ 1 callers
Class
ACTSinusoidalPositionEmbedding2d
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 callers
Class
ACTTemporalEnsembler
lerobot/common/policies/act/modeling_act.py:164
↓ 1 callers
Class
Block
lerobot/common/policies/vqbet/vqbet_utils.py:143
↓ 1 callers
Class
CausalSelfAttention
lerobot/common/policies/vqbet/vqbet_utils.py:96
↓ 1 callers
Class
DiffusionConditionalUnet1d
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 callers
Class
DiffusionModel
lerobot/common/policies/diffusion/modeling_diffusion.py:173
↓ 1 callers
Class
DiffusionPolicy
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 callers
Class
DiffusionRgbEncoder
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 callers
Class
DiffusionSinusoidalPosEmb
1D sinusoidal positional embeddings as in Attention is All You Need.
lerobot/common/policies/diffusion/modeling_diffusion.py:536
↓ 1 callers
Class
EpisodeAwareSampler
lerobot/common/datasets/sampler.py:21
↓ 1 callers
Class
EpisodeSampler
lerobot/scripts/visualize_dataset.py:80
↓ 1 callers
Class
EuclideanCodebook
lerobot/common/policies/vqbet/vqbet_utils.py:1166
↓ 1 callers
Class
FocalLoss
From https://github.com/notmahi/miniBET/blob/main/behavior_transformer/bet.py
lerobot/common/policies/vqbet/modeling_vqbet.py:917
↓ 1 callers
Class
GPT
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 callers
Class
Jpeg2k
JPEG 2000 codec for numcodecs.
lerobot/common/datasets/push_dataset_to_hub/_umi_imagecodecs_numcodecs.py:93
↓ 1 callers
Class
JpegXl
JPEG XL codec for numcodecs.
lerobot/common/datasets/push_dataset_to_hub/_umi_imagecodecs_numcodecs.py:139
↓ 1 callers
Class
KochRobotConfig
Example of usage: ```python KochRobotConfig() ```
lerobot/common/robot_devices/robots/koch.py:155
↓ 1 callers
Class
Logger
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 callers
Class
MultiLeRobotDataset
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 callers
Class
OnlineBuffer
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 callers
Class
OpenCVCamera
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 callers
Class
OpenCVCameraConfig
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 callers
Class
PGIGripper
lerobot/common/robot_devices/robots/pgi_tools.py:6
↓ 1 callers
Class
RandomSubsetApply
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 callers
Class
ResidualVQ
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 callers
Class
SharpnessJitter
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 callers
Class
SpatialSoftmax
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 callers
Class
SpatialSoftmax
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 callers
Class
TDMPCConfig
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 callers
Class
TDMPCObservationEncoder
Encode image and/or state vector observations.
lerobot/common/policies/tdmpc/modeling_tdmpc.py:705
↓ 1 callers
Class
TDMPCTOLD
Task-Oriented Latent Dynamics (TOLD) model used in TD-MPC.
lerobot/common/policies/tdmpc/modeling_tdmpc.py:538
↓ 1 callers
Class
TimeBenchmark
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 callers
Class
URRobot
A class representing a UR robot.
lerobot/common/robot_devices/robots/ur.py:6
↓ 1 callers
Class
VQBeTConfig
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 callers
Class
VQBeTHead
lerobot/common/policies/vqbet/modeling_vqbet.py:378
↓ 1 callers
Class
VQBeTModel
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 callers
Class
VQBeTOptimizer
lerobot/common/policies/vqbet/modeling_vqbet.py:621
↓ 1 callers
Class
VQBeTRgbEncoder
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 callers
Class
VQBeTScheduler
lerobot/common/policies/vqbet/modeling_vqbet.py:672
↓ 1 callers
Class
VectorQuantize
lerobot/common/policies/vqbet/vqbet_utils.py:556
↓ 1 callers
Class
VqVae
lerobot/common/policies/vqbet/modeling_vqbet.py:813
↓ 1 callers
Class
gello_ur5RobotConfig
Example of usage: ```python gello_ur5RobotConfig() ```
lerobot/common/robot_devices/robots/gello_ur5.py:159
Class
ACTPolicy
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
Class
Camera
lerobot/common/robot_devices/cameras/utils.py:54
Class
DriveMode
lerobot/common/robot_devices/motors/dynamixel.py:262
Class
DynamixelMotorsBus
lerobot/common/robot_devices/motors/dynamixel.py:267
Class
EpisodeSampler
lerobot/scripts/visualize_dataset_html.py:68
Class
KochRobot
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
Class
MotorsBus
lerobot/common/robot_devices/motors/utils.py:4
Class
OperatingMode
lerobot/common/robot_devices/motors/dynamixel.py:253
Class
Policy
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
Class
PolicyWithUpdate
lerobot/common/policies/policy_protocol.py:69
Class
ReplayBuffer
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
Class
Robot
lerobot/common/robot_devices/robots/utils.py:4
Class
TDMPCPolicy
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
Class
TorqueMode
lerobot/common/robot_devices/motors/dynamixel.py:248
Class
VQBeTPolicy
VQ-BeT Policy as per "Behavior Generation with Latent Actions"
lerobot/common/policies/vqbet/modeling_vqbet.py:41
Class
gello_ur5Robot
lerobot/common/robot_devices/robots/gello_ur5.py:173