mirror of
https://github.com/hpcaitech/Open-Sora.git
synced 2026-04-27 03:57:34 +02:00
fix ar defination inconsistency (#375)
This commit is contained in:
parent
d599fd75b3
commit
2ec756a240
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Reference in a new issue