diff --git a/opensora/datasets/datasets.py b/opensora/datasets/datasets.py index 7229bb57..34a5dcf6 100644 --- a/opensora/datasets/datasets.py +++ b/opensora/datasets/datasets.py @@ -152,6 +152,8 @@ def getitem(self, index): # Sampling video frames video = temporal_random_crop(vframes, num_frames, self.frame_interval) + video_fps = video_fps // self.frame_interval + # transform transform = get_transforms_video(self.transform_name, (height, width)) video = transform(video) # T C H W