mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 14:16:57 +00:00
removed auto color correction for first window
This commit is contained in:
parent
688f894155
commit
b7e4fe5d6d
@ -899,8 +899,8 @@ class WanAny2V:
|
||||
videos = torch.cat([video[:,:1] for video in videos], dim=1) if len(videos) > 1 else videos[0][:,:1]
|
||||
else:
|
||||
videos = videos[0] # return only first video
|
||||
if color_correction_strength > 0:
|
||||
if vace and False and prefix_frames_count > 0:
|
||||
if color_correction_strength > 0 and prefix_frames_count > 0:
|
||||
if vace and False:
|
||||
# videos = match_and_blend_colors_with_mask(videos.unsqueeze(0), input_frames[0].unsqueeze(0), input_masks[0][:1].unsqueeze(0), color_correction_strength,copy_mode= "progressive_blend").squeeze(0)
|
||||
videos = match_and_blend_colors_with_mask(videos.unsqueeze(0), input_frames[0].unsqueeze(0), input_masks[0][:1].unsqueeze(0), color_correction_strength,copy_mode= "reference").squeeze(0)
|
||||
# videos = match_and_blend_colors_with_mask(videos.unsqueeze(0), videos.unsqueeze(0), input_masks[0][:1].unsqueeze(0), color_correction_strength,copy_mode= "reference").squeeze(0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user