You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried the pipe with several images, I found that, when the image has a white background, the pipe may output a black image. There is a warning like:
"diffusers/image_processor.py:97: RuntimeWarning: invalid value encountered in cast images = (images * 255).round().astype("uint8")"
I think that maybe the pipe output a value where not a number? I attached the example image, whatever the random seed I used, it always return a black image. (including my 2 servers, 2 pc, and your hugging face demo)
Could you please help me to solve this problem? I have the same environment as your requirements.txt.
The text was updated successfully, but these errors were encountered:
I suppose it is caused by the image with a pure color background and the regularization. You may try to disable the regularization by setting noise_regularization_num_reg_steps to 0
Hi, I tried the pipe with several images, I found that, when the image has a white background, the pipe may output a black image. There is a warning like:
"diffusers/image_processor.py:97: RuntimeWarning: invalid value encountered in cast images = (images * 255).round().astype("uint8")"
I think that maybe the pipe output a value where not a number? I attached the example image, whatever the random seed I used, it always return a black image. (including my 2 servers, 2 pc, and your hugging face demo)
Could you please help me to solve this problem? I have the same environment as your requirements.txt.
The text was updated successfully, but these errors were encountered: