Open-Sora: Democratizing Efficient Video Production for All
Python
fix ar defination inconsistency (#375)
zhangyongshun2ec756a240e2
diff --git a/opensora/datasets/datasets.py b/opensora/datasets/datasets.pyindex 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 / widthvideo_fps = 24 # default fpsif file_type == "video":