error encountered when generating 1280*720 video
#5
by
baoang
- opened
I encounter the following error when I try to generate a 1280 * 720 video. the error can be reproduced whether I use the T2V mode or the TI2V mode.
the diffusers version is 0.35.1
anyone can help with this?
from user code:
File "/usr/local/lib/python3.10/site-packages/diffusers/models/transformers/transformer_wan.py", line 478, in forward
norm_hidden_states = (self.norm1(hidden_states.float()) * (1 + scale_msa) + shift_msa).type_as(hidden_states)
you should set
height = 704
width = 1280
output = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
height=height,
width=width,...)
because 704 / 32 = 22 is integer, but 720/ 32 = 22.5
