removed auto color correction for first window

This commit is contained in:
deepbeepmeep 2025-07-31 01:20:41 +02:00
parent 688f894155
commit b7e4fe5d6d

View File

@ -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)