mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-22 16:50:47 +00:00
Fix typo
Change Only `num_frames % 4 != 1` is acceptable to Only `num_frames % 4 == 1` is acceptable
This commit is contained in:
@@ -365,7 +365,7 @@ class WanVideoPipeline(BasePipeline):
|
|||||||
height, width = self.check_resize_height_width(height, width)
|
height, width = self.check_resize_height_width(height, width)
|
||||||
if num_frames % 4 != 1:
|
if num_frames % 4 != 1:
|
||||||
num_frames = (num_frames + 2) // 4 * 4 + 1
|
num_frames = (num_frames + 2) // 4 * 4 + 1
|
||||||
print(f"Only `num_frames % 4 != 1` is acceptable. We round it up to {num_frames}.")
|
print(f"Only `num_frames % 4 == 1` is acceptable. We round it up to {num_frames}.")
|
||||||
|
|
||||||
# Tiler parameters
|
# Tiler parameters
|
||||||
tiler_kwargs = {"tiled": tiled, "tile_size": tile_size, "tile_stride": tile_stride}
|
tiler_kwargs = {"tiled": tiled, "tile_size": tile_size, "tile_stride": tile_stride}
|
||||||
|
|||||||
Reference in New Issue
Block a user