From ae9c81ac391ba4c7c2238a10b51ec16d901603f3 Mon Sep 17 00:00:00 2001 From: Yongjin Cho Date: Sat, 29 Mar 2025 01:43:33 +0900 Subject: [PATCH 1/4] fix(docs): correct spelling of 'ffmpeg' in installation instructions (#914) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 465306e4..4483940d 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ conda create -y -n lerobot python=3.10 conda activate lerobot ``` -When using `miniconda`, if you don't have `fffmpeg` in your environment: +When using `miniconda`, if you don't have `ffmpeg` in your environment: ```bash conda install ffmpeg ``` From b568de35ad40aa0cb1c89dea483e844de887c2b5 Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Fri, 28 Mar 2025 18:08:12 +0100 Subject: [PATCH 2/4] fix(datasets): cast imgs_dir as Path (#915) --- lerobot/common/datasets/video_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lerobot/common/datasets/video_utils.py b/lerobot/common/datasets/video_utils.py index 4f696861..c38d570d 100644 --- a/lerobot/common/datasets/video_utils.py +++ b/lerobot/common/datasets/video_utils.py @@ -257,6 +257,7 @@ def encode_video_frames( ) -> None: """More info on ffmpeg arguments tuning on `benchmark/video/README.md`""" video_path = Path(video_path) + imgs_dir = Path(imgs_dir) video_path.parent.mkdir(parents=True, exist_ok=True) ffmpeg_args = OrderedDict( From e004247ed42008ff309b606aa2bb7124a8ae7c41 Mon Sep 17 00:00:00 2001 From: Mariusz Dubielecki Date: Mon, 31 Mar 2025 18:44:05 +1100 Subject: [PATCH 3/4] docs: add tip for Mac users regarding Terminal permissions for keyboard (#917) Signed-off-by: cranberrysoft --- examples/11_use_lekiwi.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/11_use_lekiwi.md b/examples/11_use_lekiwi.md index b8d134f9..215419e1 100644 --- a/examples/11_use_lekiwi.md +++ b/examples/11_use_lekiwi.md @@ -393,6 +393,10 @@ python lerobot/scripts/control_robot.py \ ``` # F. Teleoperate + +> [!TIP] +> If you're using a Mac, you might need to give Terminal permission to access your keyboard. Go to System Preferences > Security & Privacy > Input Monitoring and check the box for Terminal. + To teleoperate SSH into your Raspberry Pi, and run `conda activate lerobot` and this script: ```bash python lerobot/scripts/control_robot.py \ From 145fe4cd17971ea27188df23b2fe9d87e8e5128b Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Tue, 1 Apr 2025 15:51:59 +0200 Subject: [PATCH 4/4] fix(deps): avoid torchcodec in macos x86_64 (#925) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1fa7b246..6b9b6802 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,7 +69,7 @@ dependencies = [ "rerun-sdk>=0.21.0", "termcolor>=2.4.0", "torch>=2.2.1", - "torchcodec>=0.2.1; sys_platform != 'win32' and (sys_platform != 'linux' or (platform_machine != 'aarch64' and platform_machine != 'arm64' and platform_machine != 'armv7l'))", + "torchcodec>=0.2.1; sys_platform != 'win32' and (sys_platform != 'linux' or (platform_machine != 'aarch64' and platform_machine != 'arm64' and platform_machine != 'armv7l')) and (sys_platform != 'darwin' or platform_machine != 'x86_64')", "torchvision>=0.21.0", "wandb>=0.16.3", "zarr>=2.17.0",