From f782f328ba56f90e53d36e617c904d517b06fc77 Mon Sep 17 00:00:00 2001 From: Ale-Rift <83660838+Alexandre-Pe@users.noreply.github.com> Date: Thu, 28 Nov 2024 09:53:45 +0100 Subject: [PATCH] Fix file name typo when loading timestamps for face videos --- src/datasources/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datasources/common.py b/src/datasources/common.py index a03d785..721f291 100644 --- a/src/datasources/common.py +++ b/src/datasources/common.py @@ -57,7 +57,7 @@ def __init__(self, video_path, frame_indices=None, is_async=True, output_size=No if self.video_path.endswith('_eyes.mp4'): self.timestamps_path = video_path.replace('_eyes.mp4', '.timestamps.txt') elif self.video_path.endswith('_face.mp4'): - self.timestamps_path = video_path.replace('_eyes.mp4', '.timestamps.txt') + self.timestamps_path = video_path.replace('_face.mp4', '.timestamps.txt') elif self.video_path.endswith('.128x72.mp4'): self.timestamps_path = video_path.replace('.128x72.mp4', '.timestamps.txt') else: