modelscope / modelscope/DiffSynth-Studio

There might be a bug for Wan2.2 TI2V?

Open
#978 3 comments 4 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.