We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 335f4d4 commit 67360cfCopy full SHA for 67360cf
examples/community/pipeline_flux_differential_img2img.py
@@ -935,7 +935,7 @@ def __call__(
935
936
mask_thresholds = torch.arange(num_inference_steps, dtype=original_mask.dtype) / num_inference_steps
937
mask_thresholds = mask_thresholds.reshape(-1, 1, 1, 1).to(device)
938
- masks = (original_mask > mask_thresholds)
+ masks = original_mask > mask_thresholds
939
# end diff diff preparation
940
941
num_warmup_steps = max(len(timesteps) - num_inference_steps * self.scheduler.order, 0)
0 commit comments