hpcaitech / Open-Sora

Open-Sora: Democratizing Efficient Video Production for All
https://hpcaitech.github.io/Open-Sora/
Apache License 2.0
21.76k stars 2.1k forks source link

ImportError: cannot import name 'get_image_size' from 'opensora.datasets.aspect' (/opt/conda/envs/pytorch/lib/python3.9/site-packages/opensora/datasets/aspect.py) #512

Closed haisheng666 closed 3 months ago

haisheng666 commented 3 months ago

I am using Luchen Cloud. Please update the image so that we can use it directly。ImportError: cannot import name 'get_image_size' from 'opensora.datasets.aspect' (/opt/conda/envs/pytorch/lib/python3.9/site-packages/opensora/datasets/aspect.py)

zhengzangw commented 3 months ago

Just updated OpenSora 1.2 image on Luchen Cloud:[Luchen Cloud|OpenSora Image|Video Tutorial]

haisheng666 commented 3 months ago

Thank you, I'll try it, thanks for the open source project