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 ``` diff --git a/examples/11_use_lekiwi.md b/examples/11_use_lekiwi.md index a44e9261..69572aef 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 \ 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( diff --git a/pyproject.toml b/pyproject.toml index 8f6f8cc1..6c53d00f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,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",