hpcaitech / Open-Sora

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

OpenSora v1.2 only works `seed=42` on my local machine #617

Closed spacegoing closed 1 week ago

spacegoing commented 1 month ago

Hi dev team,

Congrats on this awesome project!

I'm running opensora v1.2 on my local machine. It chimes when seed=42, resolution=1080p, sampling step=100!

However, if I change the inference seed to any other seed like 513 777 418 etc. The generated video is highly noised.

Any idea? Many tks!

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 7 days with no activity.

JThh commented 1 month ago

This appears to be weird and I have not encountered similar issues in this community.

Would you please share the highly noise samples with the commands to generate and random seeds you used? Would it be reproducible with any image or textual prompt you provide?

In the meanwhile, it'd be appreciated if @zhengzangw could provide their insights on this.

zhengzangw commented 1 month ago

I do not encounter this problem. Try delete this line:

https://github.com/hpcaitech/Open-Sora/blob/476b6dc79720e5d9ddfb3cd589680b2308871926/scripts/inference.py#L263

spacegoing commented 1 month ago

@JThh @zhengzangw

Thanks for your reply. to reproduce u can use my docker image: spacegoing/opensora. It's basically official dockerfile plus sort out versions of conflicting deps.

the prompt I use is:

The camera moves smoothly, gliding over snow-capped peaks, dipping into deep valleys, and soaring past rocky cliffs with a clear blue sky above.

run it with seed=42, resolution=1080p, sampling step=100

the generated video is random noise

spacegoing commented 1 month ago

I do not encounter this problem. Try delete this line:

https://github.com/hpcaitech/Open-Sora/blob/476b6dc79720e5d9ddfb3cd589680b2308871926/scripts/inference.py#L263

I'll try and let u know

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] commented 1 week ago

This issue was closed because it has been inactive for 7 days since being marked as stale.