Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is the code related to “variable resolutions and aspect ratios” ? #80

Open
EmmaThompson123 opened this issue Oct 8, 2024 · 2 comments

Comments

@EmmaThompson123
Copy link

I'm very interested in this feature, could you please tell me where the relevant code is ?

@sculmh
Copy link
Collaborator

sculmh commented Oct 9, 2024

it is not implemented, but you can refer to https://github.com/hpcaitech/Open-Sora/blob/main/opensora/datasets/bucket.py, which buckets the training videos based on (resolution, num_frame, aspect_ratio), using data from the same bucket in one batch during training.

@zhenghao977
Copy link
Collaborator

@EmmaThompson123 You can refer to our latest work Tora: https://github.com/alibaba/Tora

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants