modelscope / modelscope/DiffSynth-Studio
There might be a bug for Wan2.2 TI2V?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
inputs_shared, inputs_posi, inputs_nega = unit.process(pipe, inputs_shared=inputs_shared, inputs_posi=inputs_posi, inputs_nega=inputs_nega)
ValueError: not enough values to unpack (expected 3, got 0)
I kept getting this error. I fixed it by commenting out
#WanVideoPostUnit_AnimateVideoSplit(),
#WanVideoPostUnit_AnimatePoseLatents(),
#WanVideoPostUnit_AnimateFacePixelValues(),
#WanVideoPostUnit_AnimateInpaint(),
and adding a condition statement
# Animate
if pose_latents is not None and face_pixel_values is not None:
x, motion_vec = animate_adapter.after_patch_embedding(x, pose_latents, face_pixel_values)
Not sure whether or not I am on the right way. But the codes could run now.
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 at unit.process and the WanVideoPostUnit_AnimateVideoSplit, WanVideoPostUnit_AnimatePoseLatents, WanVideoPostUnit_AnimateFacePixelValues, and WanVideoPostUnit_AnimateInpaint entry points mentioned in the report. Reproduce the Wan2.2 TI2V failure, trace why process returns no values, and verify that the pipeline runs without commenting out those units.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100