animate-anything icon indicating copy to clipboard operation
animate-anything copied to clipboard

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

Open EmmaThompson123 opened this issue 1 year ago • 2 comments

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

EmmaThompson123 avatar Oct 08 '24 12:10 EmmaThompson123

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.

sculmh avatar Oct 09 '24 03:10 sculmh

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

zhenghao977 avatar Oct 16 '24 02:10 zhenghao977