Compare commits

...

3 Commits

Author SHA1 Message Date
Vibhanshu Kumar Shubham
e438b87677
Merge cb59f00e25 into 841fe5237b 2025-12-08 17:54:11 +11:00
Shiguang Ai
841fe5237b
When frame_num is changed from 81 the tensor does not match (#533) 2025-12-02 14:53:33 +08:00
Vibhanshu Kumar Shubham
cb59f00e25
Update requirements.txt
i use this and its not mentioned in requirements.txt
2025-07-01 13:50:17 +05:30
2 changed files with 3 additions and 1 deletions

View File

@ -14,3 +14,5 @@ imageio-ffmpeg
flash_attn
gradio>=5.0.0
numpy>=1.23.5,<2
easydict
Pillow

View File

@ -207,7 +207,7 @@ class WanI2V:
generator=seed_g,
device=self.device)
msk = torch.ones(1, 81, lat_h, lat_w, device=self.device)
msk = torch.ones(1, F, lat_h, lat_w, device=self.device)
msk[:, 1:] = 0
msk = torch.concat([
torch.repeat_interleave(msk[:, 0:1], repeats=4, dim=1), msk[:, 1:]