MCPcopy Create free account

hub / github.com/Cheney-36/lerobot / functions

Functions577 in github.com/Cheney-36/lerobot

↓ 1 callersFunctionto_hf_dataset
(data_dict, video)
lerobot/common/datasets/push_dataset_to_hub/cam_png_format.py:61
↓ 1 callersFunctionto_hf_dataset
(data_dict, video)
lerobot/common/datasets/push_dataset_to_hub/xarm_pkl_format.py:147
↓ 1 callersFunctionto_hf_dataset
(data_dict, video)
lerobot/common/datasets/push_dataset_to_hub/umi_zarr_format.py:166
↓ 1 callersFunctionto_hf_dataset
(data_dict, video, keypoints_instead_of_image: bool = False)
lerobot/common/datasets/push_dataset_to_hub/pusht_zarr_format.py:213
↓ 1 callersFunctionto_hwc_uint8_numpy
(chw_float32_torch: torch.Tensor)
lerobot/scripts/visualize_dataset.py:93
↓ 1 callersFunctiontrain_cli
(cfg: dict)
lerobot/scripts/train.py:651
↓ 1 callersFunctionunflatten_dict
(d, sep="/")
lerobot/common/datasets/utils.py:59
↓ 1 callersMethodupdate
Takes a (batch, chunk_size, action_dim) sequence of actions, update the temporal ensemble for all time steps, and pop/return the next
lerobot/common/policies/act/modeling_act.py:218
↓ 1 callersMethodupdate_affine
(self, data, embed, mask=None)
lerobot/common/policies/vqbet/vqbet_utils.py:1291
↓ 1 callersFunctionupdate_ema_parameters
Update EMA parameters in place with ema_param <- alpha * ema_param + (1 - alpha) * param.
lerobot/common/policies/tdmpc/modeling_tdmpc.py:810
↓ 1 callersFunctionvisualize_dataset
( repo_id: str, episode_index: int, batch_size: int = 32, num_workers: int = 0, mode: str
lerobot/scripts/visualize_dataset.py:102
↓ 1 callersFunctionvisualize_dataset_html
( repo_id: str, root: Path | None = None, episodes: list[int] = None, output_dir: Path | None
lerobot/scripts/visualize_dataset_html.py:189
↓ 1 callersFunctionvisualize_transforms
(cfg, output_dir: Path, n_examples: int = 5)
lerobot/scripts/visualize_image_transforms.py:153
↓ 1 callersFunctionvisualize_transforms_cli
(cfg)
lerobot/scripts/visualize_image_transforms.py:170
↓ 1 callersMethodvqvae_forward
(self, state)
lerobot/common/policies/vqbet/modeling_vqbet.py:888
↓ 1 callersFunctionwrite_episode_data_csv
Write a csv file containg timeseries data of an episode (e.g. state and action). This file will be loaded by Dygraph javascript to plot data in re
lerobot/scripts/visualize_dataset_html.py:138
Method__call__
(self)
lerobot/common/datasets/video_utils.py:238
Method__contains__
(self, key)
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:462
Method__del__
(self)
lerobot/common/robot_devices/robots/gello_ur5.py:385
Method__del__
(self)
lerobot/common/robot_devices/robots/koch.py:513
Method__del__
(self)
lerobot/common/robot_devices/cameras/opencv.py:376
Method__del__
(self)
lerobot/common/robot_devices/motors/dynamixel.py:774
Method__enter__
(self)
lerobot/common/utils/benchmark.py:75
Method__exit__
(self, *exc)
lerobot/common/utils/benchmark.py:79
Method__getitem__
(self, idx)
lerobot/common/datasets/lerobot_dataset.py:135
Method__getitem__
(self, idx: int)
lerobot/common/datasets/lerobot_dataset.py:366
Method__getitem__
(self, idx: int)
lerobot/common/datasets/online_buffer.py:247
Method__getitem__
(self, key)
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:459
Method__init__
(self, dataset, episode_index)
lerobot/scripts/visualize_dataset_html.py:69
Method__init__
(self, dataset: LeRobotDataset, episode_index: int)
lerobot/scripts/visualize_dataset.py:81
Method__init__
Args: log_dir: The directory to save all logs and training outputs to. job_name: The WandB job name.
lerobot/common/logger.py:86
Method__init__
(self, print=False)
lerobot/common/utils/benchmark.py:71
Method__init__
( self, message="This robot device is already connected. Try not calling `robot_device.connect
lerobot/common/robot_devices/utils.py:14
Method__init__
(self)
lerobot/common/robot_devices/robots/pgi_tools.py:7
Method__init__
( self, config: gello_ur5RobotConfig | None = None, calibration_path: Path = ".cache/c
lerobot/common/robot_devices/robots/gello_ur5.py:174
Method__init__
( self, config: KochRobotConfig | None = None, calibration_path: Path = ".cache/calibr
lerobot/common/robot_devices/robots/koch.py:268
Method__init__
(self, robot_ip: str = "192.168.1.101", no_gripper: bool = False)
lerobot/common/robot_devices/robots/ur.py:9
Method__init__
(self, camera_index: int, config: OpenCVCameraConfig | None = None, **kwargs)
lerobot/common/robot_devices/cameras/opencv.py:199
Method__init__
( self, port: str, motors: dict[str, tuple[int, str]], extra_model_control_tab
lerobot/common/robot_devices/motors/dynamixel.py:270
Method__init__
Args: shapes (dict): A dictionary where keys are input modalities (e.g. "observation.image") and values are their sha
lerobot/common/policies/normalize.py:165
Method__init__
Args: cfg: Policy configuration class instance or None, in which case the default instantiation of the configura
lerobot/common/policies/policy_protocol.py:39
Method__init__
Args: config: Policy configuration class instance or None, in which case the default instantiation of the configu
lerobot/common/policies/diffusion/modeling_diffusion.py:60
Method__init__
Args: input_shape (list): (C, H, W) input feature map shape. num_kp (int): number of keypoints in output. If None, ou
lerobot/common/policies/diffusion/modeling_diffusion.py:376
Method__init__
(self, config: DiffusionConfig)
lerobot/common/policies/diffusion/modeling_diffusion.py:430
Method__init__
(self, dim: int)
lerobot/common/policies/diffusion/modeling_diffusion.py:539
Method__init__
(self, inp_channels, out_channels, kernel_size, n_groups=8)
lerobot/common/policies/diffusion/modeling_diffusion.py:556
Method__init__
(self, config: DiffusionConfig, global_cond_dim: int)
lerobot/common/policies/diffusion/modeling_diffusion.py:575
Method__init__
( self, in_channels: int, out_channels: int, cond_dim: int, kernel_siz
lerobot/common/policies/diffusion/modeling_diffusion.py:699
Method__init__
Args: config: Policy configuration class instance or None, in which case the default instantiation of the configu
lerobot/common/policies/vqbet/modeling_vqbet.py:54
Method__init__
Args: input_shape (list): (C, H, W) input feature map shape. num_kp (int): number of keypoints in output. If None, ou
lerobot/common/policies/vqbet/modeling_vqbet.py:179
Method__init__
(self, config: VQBeTConfig)
lerobot/common/policies/vqbet/modeling_vqbet.py:286
Method__init__
VQBeTHead takes output of GPT layers, and pass the feature through bin prediction head (`self.map_to_cbet_preds_bin`), and offset prediction
lerobot/common/policies/vqbet/modeling_vqbet.py:379
Method__init__
(self, policy, cfg)
lerobot/common/policies/vqbet/modeling_vqbet.py:622
Method__init__
(self, optimizer, cfg)
lerobot/common/policies/vqbet/modeling_vqbet.py:673
Method__init__
(self, config: VQBeTConfig)
lerobot/common/policies/vqbet/modeling_vqbet.py:707
Method__init__
VQ-VAE is composed of three parts: encoder, vq_layer, and decoder. Encoder and decoder are MLPs consisting of an input, output layer,
lerobot/common/policies/vqbet/modeling_vqbet.py:814
Method__init__
(self, gamma: float = 0, size_average: bool = True)
lerobot/common/policies/vqbet/modeling_vqbet.py:922
Method__init__
(self, config)
lerobot/common/policies/vqbet/vqbet_utils.py:97
Method__init__
(self, config)
lerobot/common/policies/vqbet/vqbet_utils.py:145
Method__init__
( self, *, dim, num_quantizers, codebook_dim=None, shared_code
lerobot/common/policies/vqbet/vqbet_utils.py:351
Method__init__
( self, dim, codebook_size, codebook_dim=None, heads=1, separa
lerobot/common/policies/vqbet/vqbet_utils.py:557
Method__init__
( self, dim, codebook_size, num_codebooks=1, kmeans_init=False,
lerobot/common/policies/vqbet/vqbet_utils.py:1167
Method__init__
Args: config: Policy configuration class instance or None, in which case the default instantiation of the configu
lerobot/common/policies/tdmpc/modeling_tdmpc.py:70
Method__init__
Creates encoders for pixel and/or state modalities. TODO(alexander-soare): The original work allows for multiple images by concatenat
lerobot/common/policies/tdmpc/modeling_tdmpc.py:708
Method__init__
Args: config: Policy configuration class instance or None, in which case the default instantiation of the con
lerobot/common/policies/act/modeling_act.py:55
Method__init__
Temporal ensembling as described in Algorithm 2 of https://arxiv.org/abs/2304.13705. The weights are calculated as wᵢ = exp(-temporal_ensembl
lerobot/common/policies/act/modeling_act.py:165
Method__init__
(self, config: ACTConfig)
lerobot/common/policies/act/modeling_act.py:527
Method__init__
(self, config: ACTConfig)
lerobot/common/policies/act/modeling_act.py:542
Method__init__
Convenience module for running multiple decoder layers followed by normalization.
lerobot/common/policies/act/modeling_act.py:581
Method__init__
(self, config: ACTConfig)
lerobot/common/policies/act/modeling_act.py:604
Method__init__
Args: dimension: The desired dimension of the embeddings.
lerobot/common/policies/act/modeling_act.py:700
Method__init__
( self, repo_ids: list[str], root: Path | None = DATA_DIR, split: str = "train
lerobot/common/datasets/lerobot_dataset.py:225
Method__init__
( self, transforms: Sequence[Callable], p: list[float] | None = None, n_subset
lerobot/common/datasets/transforms.py:38
Method__init__
Sampler that optionally incorporates episode boundary information. Args: episode_data_index: Dictionary with keys 'from' and 'to'
lerobot/common/datasets/sampler.py:22
Method__init__
The online buffer can be provided from scratch or you can load an existing online buffer by passing a `write_dir` associated with an
lerobot/common/datasets/online_buffer.py:73
Method__init__
Dummy constructor. Use copy_from* and create_from* class methods instead.
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:106
Method__init__
( self, level=None, codecformat=None, colorspace=None, tile=None,
lerobot/common/datasets/push_dataset_to_hub/_umi_imagecodecs_numcodecs.py:98
Method__init__
Return JPEG XL image from numpy array. Float must be in nominal range 0..1. Currently L, LA, RGB, RGBA images are supported
lerobot/common/datasets/push_dataset_to_hub/_umi_imagecodecs_numcodecs.py:144
Method__iter__
(self)
lerobot/scripts/visualize_dataset_html.py:74
Method__iter__
(self)
lerobot/scripts/visualize_dataset.py:86
Method__iter__
(self)
lerobot/common/datasets/sampler.py:52
Method__len__
(self)
lerobot/scripts/visualize_dataset_html.py:77
Method__len__
(self)
lerobot/scripts/visualize_dataset.py:89
Method__len__
(self)
lerobot/common/datasets/lerobot_dataset.py:132
Method__len__
(self)
lerobot/common/datasets/lerobot_dataset.py:363
Method__len__
(self)
lerobot/common/datasets/sampler.py:60
Method__len__
(self)
lerobot/common/datasets/online_buffer.py:233
Method__post_init__
(self)
lerobot/common/robot_devices/cameras/opencv.py:153
Method__post_init__
Input validation (not exhaustive).
lerobot/common/policies/diffusion/configuration_diffusion.py:155
Method__post_init__
Input validation (not exhaustive).
lerobot/common/policies/vqbet/configuration_vqbet.py:142
Method__post_init__
Input validation (not exhaustive).
lerobot/common/policies/tdmpc/configuration_tdmpc.py:162
Method__post_init__
Input validation (not exhaustive).
lerobot/common/policies/act/configuration_act.py:147
Method__repr__
(self)
lerobot/common/datasets/lerobot_dataset.py:162
Method__repr__
(self)
lerobot/common/datasets/lerobot_dataset.py:388
Method__repr__
(self)
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:444
Method_apply_fn
(m)
lerobot/common/policies/tdmpc/modeling_tdmpc.py:605
Function_flat
Return numpy array as contiguous view of bytes if possible.
lerobot/common/datasets/push_dataset_to_hub/_umi_imagecodecs_numcodecs.py:286
Method_get_episode_idxs
(episode_ends)
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:423
Method_init_weights
(self, module)
lerobot/common/policies/vqbet/vqbet_utils.py:223
Method_transform
(self, inpt: Any, params: Dict[str, Any])
lerobot/common/datasets/transforms.py:135
← previousnext →301–400 of 577, ranked by callers