Stable diffusion - Solution for anyone getting error on batch processing on extras #9293
Replies: 5 comments 3 replies
-
That fixed my issue! Thank you! |
Beta Was this translation helpful? Give feedback.
-
Fixed my issue! Thank you!!! |
Beta Was this translation helpful? Give feedback.
-
Made this Google Colab Notebook that can generate bulk images by just providing a list of prompts in a go! Colab Link - http://bit.ly/40BM7v4 |
Beta Was this translation helpful? Give feedback.
-
i bought a new system so i can run stable diffusion locally. i have a320m pro-vh ryzen amd motherboard and my gpu is gigabyte nvidia geforce gtx 1660 super. after installing python 3..10.6, git for windows 64 bit, and automatic1111 stabe diffusion webui, i ran the batch file i got the following reply: stderr: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
Can you help me with this? Its appear after I install Roop extension. |
Beta Was this translation helpful? Give feedback.
-
Hello, for my part the error comes straight from the native code of stable diffusion web-ui, download on https://github.com/AUTOMATIC1111/stable-diffusion-webui
To solve the problem you must access the following path in your webui stable diffusion folder:
stable-diffusion-webui\modules
then you open the postprocessing.py file in this path that you have just accessed with a code editor like "Visual studio code", you go to line 21 where there is written:
image = Image.open(img)
And replace it with:
image = Image.open(img.name)
You save the file to make the changes to Image.py and then you have to close the stable diffusion web-ui command prompt if it was already open and then you reopen as usual "webui-user" to start stable diffusion so there !
I hope this will solve the problems of some who had to be in difficulty, on the other hand make sure you have the latest version of pillow if it is not already, made on the command prompt (cmd) on windows:
pip install --upgrade Pillow
(obviously if you are there, normally you should already have pip installed, as well as git, python 3.10.6 ... otherwise you can watch the tutorials on youtube, there are plenty that explain very well)
Beta Was this translation helpful? Give feedback.
All reactions