Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wan 2.2 VAE forward fails #12039

Closed
Closed
Assignees
@a-r-r-o-w

Description

Hey,

With Wan2.1 we was able to pass just a RGB PIl image. With 2.2 i get

def _conv_forward(self, input: Tensor, weight: Tensor, bias: Optional[Tensor]):
 if self.padding_mode != "zeros":
 return F.conv3d(
 F.pad(
 input, self._reversed_padding_repeated_twice, mode=self.padding_mode
 ),
 weight,
 bias,
 self.stride,
 _triple(0),
 self.dilation,
 self.groups,
 )
> return F.conv3d(
 input, weight, bias, self.stride, self.padding, self.dilation, self.groups
 )
E RuntimeError: Given groups=1, weight of size [160, 12, 3, 3, 3], expected input[1, 3, 3, 258, 258] to have 12 channels, but got 3 channels instead
/opt/conda/lib/python3.11/site-packages/torch/nn/modules/conv.py:720: RuntimeError

Cheers,
Joe

Originally posted by @JoeGaffney in #12006 (comment)

Metadata

Metadata

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

      AltStyle によって変換されたページ (->オリジナル) /