modelscope / modelscope/DiffSynth-Studio
wan_video_dit.py中的patchify函数是错误实现
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
主要有2个错误:
- 返回参数的数量不同,patchify返回x,而接受是x, grid_size(含f, h, w)
- patchify返回的x的shape不正确
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
Open wan_video_dit.py and inspect the patchify function alongside its caller, which expects x and grid_size containing f, h, and w. Compare the returned tuple and tensor shape with that call site, then verify the video path accepts both outputs and preserves the expected dimensions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100