AlUlkesh / sd_save_intermediate_images

Save intermediate images during the sampling process
The Unlicense
110 stars 17 forks source link

Inference stops at first save point #8

Closed CJohnDesign closed 1 year ago

CJohnDesign commented 1 year ago

When I run it, it stops the generation process: 00849-1144413703-pikachu 00850-3222923025-pikachu 00851-1286797252-pikachu

Console doesn't come back with errors:

 12%|█████████▌                                                                  | 5/40 [00:04<00:31,  1.09it/s]
Total progress:  12%|███████▌                                                    | 5/40 [00:03<00:26,  1.30it/s]
AlUlkesh commented 1 year ago

Just tried this, works for me:

100%|██████████████████████████████████████████████████████████████████████████████████| 40/40 [00:07<00:00,  5.26it/s]
Total progress: 100%|█████████████████████████████████████████████████████████████▉| 719/720 [2:23:10<00:11, 11.95s/it]

I'm not sure where to start looking for your issue, since you don't get any error messages.

Can you share the full console output starting from starting webui-user?

AlUlkesh commented 1 year ago

I just saw that about the same time you reported this, a faulty commit was merged on the webui repository. This was fixed an hour ago. Perhaps try a git pull and see if you just happened to run into that timeframe. https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/9cfd10cdefc7b2966b8e42fbb0e05735967cf87b

CJohnDesign commented 1 year ago

So its not throwing that error anymore but its not showing the progress. No console errors. I did check the box and left the settings default.

I'm running it locally on an M1 Max laptop with 32gb of shared memory

CJohnDesign commented 1 year ago

its not saving to the output folder either

AlUlkesh commented 1 year ago

I've just added a debug feature to the script, so perhaps we can find out what is going on.

To activate, pull the latest commit and then tick the new debug checkbox: image

Then you can try again and post the complete console log here.

CJohnDesign commented 1 year ago

Got it working! Here's the debug output just in case

2023-01-11 09:39:48,144 DEBUG ssii_intermediate_type, ssii_every_n, ssii_stop_at_n: Denoised, 5.0, 0.0 1.05it/s]
2023-01-11 09:39:48,144 DEBUG Step: 15
2023-01-11 09:39:48,144 DEBUG hr: False
2023-01-11 09:39:48,784 DEBUG ssii_intermediate_type, ssii_every_n, ssii_stop_at_n: Denoised, 5.0, 0.0
2023-01-11 09:39:48,784 DEBUG Step: 15
2023-01-11 09:39:48,940 DEBUG filename: 00865-015-1555154292-%%%%%%%
 80%|████████████████████████████████████████████████████████████               | 16/20 [00:18<00:04,  1.17s/it]2023-01-11 09:39:49,882 DEBUG ssii_intermediate_type, ssii_every_n, ssii_stop_at_n: Denoised, 5.0, 0.0 1.17s/it]
2023-01-11 09:39:49,882 DEBUG Step: 16
2023-01-11 09:39:49,882 DEBUG hr: False
 85%|███████████████████████████████████████████████████████████████▊           | 17/20 [00:19<00:03,  1.10s/it]2023-01-11 09:39:50,753 DEBUG ssii_intermediate_type, ssii_every_n, ssii_stop_at_n: Denoised, 5.0, 0.0 1.10s/it]
2023-01-11 09:39:50,753 DEBUG Step: 17
2023-01-11 09:39:50,753 DEBUG hr: False

Closing this issue