From 2ec756a240e2fbb750b3978d12a433cdabcb39cc Mon Sep 17 00:00:00 2001 From: zhangyongshun Date: Wed, 8 May 2024 19:48:56 +0800 Subject: [PATCH] fix ar defination inconsistency (#375) --- opensora/datasets/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensora/datasets/datasets.py b/opensora/datasets/datasets.py index 4c2b316..0fb94c4 100644 --- a/opensora/datasets/datasets.py +++ b/opensora/datasets/datasets.py @@ -131,7 +131,7 @@ class VariableVideoTextDataset(VideoTextDataset): path = sample["path"] text = sample["text"] file_type = self.get_type(path) - ar = width / height + ar = height / width video_fps = 24 # default fps if file_type == "video":