From abbf9c5beed5670fda135ecfc3fe8008aca3aa6e Mon Sep 17 00:00:00 2001 From: Remi Cadene Date: Thu, 24 Oct 2024 15:27:33 +0200 Subject: [PATCH] Fix record --- lerobot/scripts/control_robot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lerobot/scripts/control_robot.py b/lerobot/scripts/control_robot.py index 9bb22e59..84403264 100644 --- a/lerobot/scripts/control_robot.py +++ b/lerobot/scripts/control_robot.py @@ -207,6 +207,8 @@ def record( num_image_writer_threads_per_camera: int = 4, display_cameras: bool = True, play_sounds: bool = True, + tags: str = None, + force_override: bool = False, ) -> LeRobotDataset: # TODO(rcadene): Add option to record logs listener = None @@ -237,8 +239,8 @@ def record( dataset = LeRobotDataset.create( repo_id, fps, - robot, root=root, + robot=robot, image_writer_processes=num_image_writer_processes, image_writer_threads_per_camera=num_image_writer_threads_per_camera, use_videos=video,