Skip to content

A Serious Feature Extraction Bug #6

Description

@kellyiss

Hi, authors. I used the code in the spatial reasoning branch.
But I found a severe bug exists in the current implementation of the Wan model's input handling.
The wan model expects input tensors of shape [B, C_in, F, H, W] (Batch, Channels, Frames, Height, Width).

However, the current implementation incorrectly maps the frame dimension (F) to the batch dimension (B).
For a 32-frame input, the model currently receives:
Input shape: [32, C_in, 1, H, W]

The model should receive:
Input shape: [1, C_in, 32, H, W]

This dimension mapping error causes the model to treat each frame as an independent video, resulting in:

Extracting features from 32 individual single images instead of processing them as a coherent multi-view video sequence

Please double check if I'm correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions