Comments (4)
After testing, I found where the issue is!
If I uncheck "save individual images", this same error will be guarranteed.
But sometimes I just wanna save as grid only. to save a bit of space.
Is it fixable?
from stable-diffusion.
Pushed major txt2img ui overhaul that has img2img working in my tests
Please update and open a new issue if the problem recurs
from stable-diffusion.
Traceback (most recent call last):
File "C:\Users\PEJO\miniconda3\envs\ldo\lib\site-packages\gradio\routes.py", line 247, in run_predict
output = await app.blocks.process_api(
File "C:\Users\PEJO\miniconda3\envs\ldo\lib\site-packages\gradio\blocks.py", line 641, in process_api
predictions, duration = await self.call_function(fn_index, processed_input)
File "C:\Users\PEJO\miniconda3\envs\ldo\lib\site-packages\gradio\blocks.py", line 556, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Users\PEJO\miniconda3\envs\ldo\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\Users\PEJO\miniconda3\envs\ldo\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\Users\PEJO\miniconda3\envs\ldo\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
File "scripts/webui.py", line 1053, in txt2img
output_images, seed, info, stats = process_images(
File "scripts/webui.py", line 969, in process_images
grid = image_grid(output_images, batch_size)
File "scripts/webui.py", line 456, in image_grid
cols = math.ceil(len(imgs) / rows)
ZeroDivisionError: division by zero
Shutting down...
Still getting this error with latest repo (d667ff5) in Test-To-Image, happens only if:
Upscale images using RealESRGAN
is On (I did get the model and put it into the directory as noted in Installation instructions)- Number of images to generate > 1
If the number of images is 1 (with RealESRGAN) then empty data is received thru websocket (nothing shows up).
EDit: Fix faces using GFPGAN
seems to cause this error too
from stable-diffusion.
@wereii Yes I have the exact same error too. Seems it not been fixed.
If I uncheck "save individual images", this same error will still occurs.
@hlky Could you kindly please have a second look at this issue?
from stable-diffusion.
Related Issues (20)
- No Image Showing After Generation
- [BUG] When SD is relaunched it switches port numbers, it should maintain the same port to preserve user parameters
- ReadMe update - using GFPGAN reduces available memory
- [BUG] When attempting to use the img2img functionality, the server outputs an error instead of generating a new image. HOT 1
- Resize mode in img2img : tensor size error HOT 7
- Seed number is not precise for single txt2img image generated in batch HOT 3
- Not able to regenerate exact result from yaml file / some info is missing HOT 1
- Repeated relaunches upon first run after Linux installation
- CPU Support HOT 2
- New error on start after latest update. HOT 1
- k_euler very slow suddenly HOT 1
- Newest release broke webui IMG2IMG HOT 1
- Can't run batches more than 10 after latest commits HOT 8
- Aspect ratio box seems to be broken HOT 2
- Poor text responsiveness in prompt input box after recent update HOT 29
- unsupported operand type(s) for +=: 'dict' and 'str' HOT 7
- Script for AMD? HOT 7
- Expose API HOT 2
- Personalization (textual inversion) seems broken with WebUi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion.