fix ar defination inconsistency (#375)

This commit is contained in:
zhangyongshun 2024-05-08 19:48:56 +08:00 committed by GitHub
parent d599fd75b3
commit 2ec756a240

View file

@ -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":