↓ 2 callersMethodreadRead a frame from the camera returned in the format (height, width, channels) (e.g. (640, 480, 3)), contrarily to the pytorch format which is
lerobot/common/robot_devices/cameras/opencv.py:286
↓ 1 callersMethodadd_episode(
self,
data: dict[str, np.ndarray],
chunks: dict[str, tuple] | None = None,
c
lerobot/common/datasets/push_dataset_to_hub/_diffusion_policy_replay_buffer.py:489
↓ 1 callersFunctionencode_datasets(
raw_dir: Path,
raw_repo_ids: list[str],
push_repo: str,
vcodec: str,
pix_fmt: str,
g
lerobot/common/datasets/push_dataset_to_hub/_encode_datasets.py:52