求助!wan2.2脚本生成视频是黑屏
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.3k
- Forks
- 88
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 14
Description
博主您好,我按照您的配置要求,配置了环境;然后我想使用examples/pipeline/run_wan_2.2.py脚本先看看baseline的结果,发现模型都可以正常加载,但是最终生成的视频只有五秒的黑屏;具体报错是:diffusers/utils/export_utils.py:198:RuntimeWarning:invalid value encountered in case
video_frames = [(frame * 255).astype(np.uint8) for frame in video_frames]
我尝试使用wan2.1的脚步,发现是可以正常生成视频,加上--cache也是正常使用
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with examples/pipeline/run_wan_2.2.py and reproduce the five-second black video, recording the RuntimeWarning from diffusers/utils/export_utils.py:198. Compare the Wan 2.2 run with the working Wan 2.1 run and the --cache case; done means the baseline produces visible video without invalid frame values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100