Closed minsu1206 closed 6 months ago
I also passed heigh and width argument at infer.py like below.
results = pipe(
["a photo of sks"] * 16, image=image, mask_image=mask_image,
height=image.height, width=image.width,
num_inference_steps=200, guidance_scale=1, generator=generator,
).images
But this didn't help (same error)
convert image = Image.open(args.validation_image) to image = Image.open(args.validation_image).convert("RGB")
Hi @minsu1206, can you try this updated pip requirements to see if such error stil exists ?
Sorry for very late reply.
After setting my environment as you pointed, I solved the issue.
Thanks. I'll close the issue.
Hi Thanks for sharing your implementation I met this issue but I am newbie at Diffuser library ... So I want to ask you how to fix this error
Here is my script
Thanks in advance