From 2295e6c45ba5782e252cda4d487a8e2af5884cef Mon Sep 17 00:00:00 2001 From: Jade Choghari Date: Tue, 4 Mar 2025 13:31:25 +0300 Subject: [PATCH] fix arg --- lerobot/common/datasets/video_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lerobot/common/datasets/video_utils.py b/lerobot/common/datasets/video_utils.py index b16ba0c0..f4a186bf 100644 --- a/lerobot/common/datasets/video_utils.py +++ b/lerobot/common/datasets/video_utils.py @@ -41,7 +41,9 @@ def decode_video_frames( Args: video_path (Path): Path to the video file. - query_ts (list[float]): List of timestamps to extract frames. + timestamps (list[float]): List of timestamps to extract frames. + tolerance_s (float): Allowed deviation in seconds for frame retrieval. + backend (str, optional): Backend to use for decoding. Defaults to "torchcodec". Returns: torch.Tensor: Decoded frames.