alibaba / animate-anything

Fine-Grained Open Domain Image Animation with Motion Guidance
https://animationai.github.io/AnimateAnything/
MIT License
796 stars 64 forks source link

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

Open EmmaThompson123 opened 1 month ago

EmmaThompson123 commented 1 month ago

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

sculmh commented 1 month ago

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 commented 1 month ago

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