vipshop / vipshop/cache-dit

求助!wan2.2脚本生成视频是黑屏

Open
#335 5 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.