Skip to content

Commit

Permalink
fix ar defination inconsistency (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyongshun authored May 8, 2024
1 parent 4eaaa6c commit 6a98ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opensora/datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def getitem(self, index):
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":
Expand Down

0 comments on commit 6a98ed7

Please sign in to comment.