Unverified Commit d9b5b43d authored by Fantasy-Studio's avatar Fantasy-Studio Committed by GitHub
Browse files

Correct order height & width in pipeline_paint_by_example.py (#1589)

Update pipeline_paint_by_example.py
parent bb2d7cac
......@@ -457,7 +457,7 @@ class PaintByExamplePipeline(DiffusionPipeline):
# 2. Preprocess mask and image
mask, masked_image = prepare_mask_and_masked_image(image, mask_image)
width, height = masked_image.shape[-2:]
height, width = masked_image.shape[-2:]
# 3. Check inputs
self.check_inputs(example_image, height, width, callback_steps)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment