AlUlkesh / sd_save_intermediate_images

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

support for vlad fork... #38

Open XeonG opened 10 months ago

XeonG commented 10 months ago

ie https://github.com/vladmandic/automatic

you can use this addon on it it shows int he extension list, but its completely broken, the previews don't work and neither does the video generating..

For some reason I get bit better performance with this fork than I do with automatic1111 version, but like to use this addon.

AlUlkesh commented 10 months ago

What did you set for the preview setting? For this extension it should be the Full preview.

AlUlkesh commented 10 months ago

I found something. Vlad's fork uses jpg as a default extension in the save function. a1111 uses png. I'll get an update ready to handle this.

AlUlkesh commented 10 months ago

Check if this works for you now.

XeonG commented 10 months ago

││ 175 │ │ if do_video: │╰────────────────────────────────────────────Progress ?it/Progress 2.50it/s █████████████████████████████████ 100% 31/31 00:12 00:00 BaserocessingTxt2Img' object has no attribute 'intermed_files' 22:30:46-333616 ERROR executing callback: C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py image_saved_callback: AttributeError ╭──────────────────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────────────────╮ │ C:\Projects\StableDiffusion\automatic\modules\script_callbacks.py:203 in image_saved_callback │ │ │ │ 202 │ │ │ t0 = time.time() │ │ ❱ 203 │ │ │ c.callback(params) │ │ 204 │ │ │ timer(t0, c.script, 'image_saved') │ │ │ │ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:745 in handle_image_saved │ │ │ │ 744 │ │ │ │ last_found = False │ │ ❱ 745 │ │ │ │ for index, (last_filename, last_path, last_done) in enumerate(params.p.i │ │ 746 │ │ │ │ │ if not last_done: │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'StableDiffusionProcessingTxt2Img' object has no attribute 'intermed_last' 22:30:46-419272 INFO GPU high memory utilization: 94% {'ram': {'used': 16.21, 'total': 79.93}, 'gpu': {'used': 22.51, 'total': 23.99}, 'retries': 0, 'oom': 0} 22:30:47-191251 INFO Processed: images=1 time=20.05s its=1.55 memory={'ram': {'used': 13.01, 'total': 79.93}, 'gpu': {'used': 8.64, 'total': 23.99}, 'retries': 0, 'oom': 0} 22:30:47-194251 ERROR Running script postprocess: extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py: AttributeError ╭──────────────────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────────────────╮ │ C:\Projects\StableDiffusion\automatic\modules\scripts.py:503 in postprocess │ │ │ │ 502 │ │ │ │ args = p.per_script_args.get(script.title(), p.script_args[script.args_f │ │ ❱ 503 │ │ │ │ script.postprocess(p, processed, *args) │ │ 504 │ │ │ except Exception as e: │ │ │ │ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:735 in postprocess │ │ │ │ 734 │ │ # Make video for last batch_count │ │ ❱ 735 │ │ make_video(p, ssii_is_active, ssii_final_save, ssii_intermediate_type, ssii_ever │ │ 736 │ │ │ │ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:174 in make_video │ │ │ │ 173 │ │ │ │ ❱ 174 │ │ intermed_files_store = p.intermed_files │ │ 175 │ │ if do_video: │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'StableDiffusionProcessingTxt2Img' object has no attribute 'intermed_files'

output is a mess of mess for some reason... but yeah .. its still no working, changed to png..

AlUlkesh commented 10 months ago

Please check the debug option again. However since Vlad's fork normally suppresses debug messages, you'll have to start it with

webui --debug

XeonG commented 10 months ago

11:00:09-954443 DEBUG Diffuser pipeline: StableDiffusionXLPipeline task=DiffusersTaskType.TEXT_2_IMAGE set={'prompt_embeds': torch.Size([1, 77, 2048]), 'pooled_prompt_embeds': torch.Size([1, 1280]), 'negative_prompt_embeds': torch.Size([1, 77, 2048]), 'negative_pooled_prompt_embeds': torch.Size([1, 1280]), 'guidance_scale': 6, 'generator': device(type='cuda'), 'output_type': 'latent', 'num_inference_steps': 20, 'eta': 0.0, 'guidance_rescale': 0.7, 'denoising_end': None, 'height': 512, 'width': 512, 'parser': 'Full parser'} Progress 8.38it/s █████████████████████████████████ 100% 20/20 00:02 00:00 Base 11:00:12-401606 DEBUG Moving to CPU: model=UNet 11:00:15-272842 DEBUG VAE decode: name=baked dtype=torch.float32 upcast=False images=1 latents=torch.Size([1, 4, 64, 64]) time=2.87s 11:00:15-300344 DEBUG Saving: image="outputs\text\00056-northern lights ethereal 0 7 fantasy concept art.png" type=PNG size=512x512 11:00:15-744981 ERROR executing callback: C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py image_saved_callback: AttributeError ╭─────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────────╮ │ C:\Projects\StableDiffusion\automatic\modules\script_callbacks.py:203 in image_saved_callback │ │ │ │ 202 │ │ │ t0 = time.time() │ │ ❱ 203 │ │ │ c.callback(params) │ │ 204 │ │ │ timer(t0, c.script, 'image_saved') │ │ │ │ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:745 in handle_image_saved │ │ │ │ 744 │ │ │ │ last_found = False │ │ ❱ 745 │ │ │ │ for index, (last_filename, last_path, last_done) in enumerate(params.p.i │ │ 746 │ │ │ │ │ if not last_done: │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'StableDiffusionProcessingTxt2Img' object has no attribute 'intermed_last' 11:00:15-862983 INFO Processed: images=1 time=7.20s its=2.78 memory={'ram': {'used': 13.81, 'total': 79.93}, 'gpu': {'used': 8.59, 'total': 23.99}, 'retries': 0, 'oom': 0} 11:00:15-864982 ERROR Running script postprocess: extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py: AttributeError ╭─────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────────╮ │ C:\Projects\StableDiffusion\automatic\modules\scripts.py:503 in postprocess │ │ │ │ 502 │ │ │ │ args = p.per_script_args.get(script.title(), p.script_args[script.args_f │ │ ❱ 503 │ │ │ │ script.postprocess(p, processed, *args) │ │ 504 │ │ │ except Exception as e: │ │ │ │ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:735 in postprocess │ │ │ │ 734 │ │ # Make video for last batch_count │ │ ❱ 735 │ │ make_video(p, ssii_is_active, ssii_final_save, ssii_intermediate_type, ssii_ever │ │ 736 │ │ │ │ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:174 in make_video │ │ │ │ 173 │ │ │ │ ❱ 174 │ │ intermed_files_store = p.intermed_files │ │ 175 │ │ if do_video: │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'StableDiffusionProcessingTxt2Img' object has no attribute 'intermed_files'

AlUlkesh commented 10 months ago

Did you tick the debug option for the extension? There should be a whole lot more written to console.

XeonG commented 10 months ago

this was with debug in save images turned on...

14:48:35-562119 DEBUG Diffuser pipeline: StableDiffusionXLPipeline task=DiffusersTaskType.TEXT_2_IMAGE set={'prompt_embeds': torch.Size([1, 77, 2048]), 'pooled_prompt_embeds': torch.Size([1, 1280]), 'negative_prompt_embeds': torch.Size([1, 77, 2048]), 'negative_pooled_prompt_embeds': torch.Size([1, 1280]), 'guidance_scale': 6, 'generator': device(type='cuda'), 'output_type': 'latent', 'num_inference_steps': 20, 'eta': 0.0, 'guidance_rescale': 0.7, 'denoising_end': None, 'height': 512, 'width': 512, 'parser': 'Full parser'} Progress 9.11it/s █████████████████████████████████ 100% 20/20 00:02 00:00 Base 14:48:37-789824 DEBUG Moving to CPU: model=UNet 14:48:40-588204 DEBUG VAE decode: name=baked dtype=torch.float32 upcast=False images=1 latents=torch.Size([1, 4, 64, 64]) time=2.798s 14:48:40-602203 DEBUG Saving: image="outputs\text\00057-northern lights ethereal 0 7 fantasy concept art.png" type=PNG size=512x512 14:48:41-074050 ERROR executing callback: C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py image_saved_callback: AttributeError ╭───────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────────────────────────────────────────────╮ │ C:\Projects\StableDiffusion\automatic\modules\script_callbacks.py:203 in image_saved_callback │ │ │ │ 202 │ │ │ t0 = time.time() │ │ ❱ 203 │ │ │ c.callback(params) │ │ 204 │ │ │ timer(t0, c.script, 'image_saved') │ │ │ │ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:745 in handle_image_saved │ │ │ │ 744 │ │ │ │ last_found = False │ │ ❱ 745 │ │ │ │ for index, (last_filename, last_path, last_done) in enumerate(params.p.i │ │ 746 │ │ │ │ │ if not last_done: │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'StableDiffusionProcessingTxt2Img' object has no attribute 'intermed_last' 14:48:41-190328 INFO Processed: images=1 time=6.74s its=2.97 memory={'ram': {'used': 13.9, 'total': 79.93}, 'gpu': {'used': 8.57, 'total': 23.99}, 'retries': 0, 'oom': 0} 14:48:41-192328 ERROR Running script postprocess: extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py: AttributeError ╭───────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────────────────────────────────────────────╮ │ C:\Projects\StableDiffusion\automatic\modules\scripts.py:503 in postprocess │ │ │ │ 502 │ │ │ │ args = p.per_script_args.get(script.title(), p.script_args[script.args_f │ │ ❱ 503 │ │ │ │ script.postprocess(p, processed, *args) │ │ 504 │ │ │ except Exception as e: │ │ │ │ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:735 in postprocess │ │ │ │ 734 │ │ # Make video for last batch_count │ │ ❱ 735 │ │ make_video(p, ssii_is_active, ssii_final_save, ssii_intermediate_type, ssii_ever │ │ 736 │ │ │ │ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:174 in make_video │ │ │ │ 173 │ │ │ │ ❱ 174 │ │ intermed_files_store = p.intermed_files │ │ 175 │ │ if do_video: │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'StableDiffusionProcessingTxt2Img' object has no attribute 'intermed_files'

AlUlkesh commented 10 months ago

Can you make a screenshot of what you have set in the extension part?

XeonG commented 10 months ago

WindowsTerminal_beg8ZFjb6v

XeonG commented 10 months ago

don't even seem to get any previews.. even though it is enabled in the settings, and tried with having the file format as jpg.. .not sure seems addon broken under some settings or just not compatible

XeonG commented 10 months ago

the saving paths are different under vlad fork..but those could be changed to look like automatic1111 ones version.. not sure that'd make any difference

AlUlkesh commented 10 months ago

It works here with the current Vlad fork. So it's not something general I think.

Sorry, I meant a screenshot of what you put in here:

image

XeonG commented 10 months ago

vivaldi_RtOiAIbcCI

AlUlkesh commented 10 months ago

I just used the exact same settings and it is working here. Also the debug is being output.

I have currently no idea why this is not working for you 😞

Is there something relevant in sdnext.log?

XeonG commented 10 months ago

2023-10-07 14:41:59,867 | sd | DEBUG | launch | Server alive=True jobs=7 requests=1206 uptime=6065s memory used=5.4 total=79.93 idle 2023-10-07 14:43:24,673 | sd | DEBUG | txt2img | txt2img: id_task=task(k22gb1u9xiafyhp)|prompt=northern lights,(ethereal:0.7),fantasy,concept art of professional 3d model,(a beautiful photograph of the astral plane:1.3),hdr,8 k,(high quality:1.2),sharp focus,artstation,highly detailed,award - winning . octane render,highly detailed,volumetric,(dramatic lighting:1.3),[nothern lights:0.5],. octane render,highly detailed,volumetric,dramatic lighting . magnificent,celestial,painterly,(epic:1.3),majestic,magical,fantasy art,(cover art:1.3),(dreamy:1.1),|negative_prompt=(watermark:1.3),cropped,frame,text,deformed,glitch,noise,noisy,off-center,deformed,cross-eyed,closed eyes,bad anatomy,ugly,disfigured,sloppy,duplicate,mutated,black and white,ugly,deformed,noisy,low poly,blurry,painting,ugly,deformed,noisy,low poly,blurry,painting,low quality disfigured bad gross disgusting mutation ugly morbid mutated deformed mutilated mangled poorly drawn face extra limb missing limb floating limbs disconnected limbs malformed limbs oversaturated duplicate bodies cloned faces low-res blurry blur out of focus out of frame extra missing,|prompt_styles=[]|steps=39|sampler_index=0|latent_index=0|full_quality=True|restore_faces=False|tiling=False|n_iter=1|batch_size=1|cfg_scale=6|clip_skip=1|seed=-1.0|subseed=-1.0|subseed_strength=0|seed_resize_from_h=0|seed_resize_from_w=0||height=1024|width=1536|enable_hr=False|denoising_strength=0.5|hr_scale=2|hr_upscaler=None|hr_force=False|hr_second_pass_steps=20|hr_resize_x=0|hr_resize_y=0|image_cfg_scale=6|diffusers_guidance_rescale=0.7|refiner_steps=5|refiner_start=0.8|refiner_prompt=|refiner_negative=|override_settings_texts=[] 2023-10-07 14:43:25,736 | sd | DEBUG | processing_diffusers | Diffuser pipeline: StableDiffusionXLPipeline task=DiffusersTaskType.TEXT_2_IMAGE set={'prompt_embeds': torch.Size([1, 77, 2048]), 'pooled_prompt_embeds': torch.Size([1, 1280]), 'negative_prompt_embeds': torch.Size([1, 77, 2048]), 'negative_pooled_prompt_embeds': torch.Size([1, 1280]), 'guidance_scale': 6, 'generator': device(type='cuda'), 'output_type': 'latent', 'num_inference_steps': 39, 'eta': 0.0, 'guidance_rescale': 0.7, 'denoising_end': None, 'height': 1024, 'width': 1536, 'parser': 'Full parser'} 2023-10-07 14:43:33,946 | sd | DEBUG | processing_diffusers | Moving to CPU: model=UNet 2023-10-07 14:43:36,923 | sd | DEBUG | processing_diffusers | VAE decode: name=baked dtype=torch.float32 upcast=False images=1 latents=torch.Size([1, 4, 128, 192]) time=2.976s 2023-10-07 14:43:36,968 | sd | DEBUG | images | Saving: image="outputs\text\00063-northern lights ethereal 0 7 fantasy concept art.png" type=PNG size=1536x1024 2023-10-07 14:43:38,366 | sd | ERROR | errors | executing callback: C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py image_saved_callback: AttributeError 2023-10-07 14:43:38,455 | sd | INFO | devices | GPU high memory utilization: 93% {'ram': {'used': 5.41, 'total': 79.93}, 'gpu': {'used': 22.23, 'total': 23.99}, 'retries': 0, 'oom': 0} 2023-10-07 14:43:38,938 | sd | DEBUG | devices | gc: collected=18052 device=cuda {'ram': {'used': 3.82, 'total': 79.93}, 'gpu': {'used': 8.61, 'total': 23.99}, 'retries': 0, 'oom': 0} 2023-10-07 14:43:38,940 | sd | INFO | processing | Processed: images=1 time=14.21s its=2.74 memory={'ram': {'used': 3.82, 'total': 79.93}, 'gpu': {'used': 8.61, 'total': 23.99}, 'retries': 0, 'oom': 0} 2023-10-07 14:43:38,942 | sd | ERROR | errors | Running script postprocess: extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py: AttributeError 2023-10-07 14:43:59,950 | sd | DEBUG | launch | Server alive=True jobs=8 requests=1240 uptime=6185s memory used=3.81 total=79.93 idle 2023-10-07 14:46:00,010 | sd | DEBUG | launch | Server alive=True jobs=8 requests=1246 uptime=6305s memory used=3.81 total=79.93 idle 2023-10-07 14:48:00,071 | sd | DEBUG | launch | Server alive=True jobs=8 requests=1248 uptime=6425s memory used=3.81 total=79.93 idle

AlUlkesh commented 10 months ago

Nothing helpful there either.

Ok, that was all I could think of, without debug data.

I've just changed the code, so that it will use a different logger, to prevent Vlad's code from interfering with the debug.

Please try it out and hopefully we'll have our debug data then.

XeonG commented 10 months ago

WindowsTerminal_rjZfroU0rt

XeonG commented 10 months ago

https://pastebin.com/raw/A95qwHBQ

XeonG commented 10 months ago

changed some settings.. so it is now saving the image intermediates.. but no video...

no idea what setting I had changed that got that some progress with it saving the preview...

also it was the diffuser backend that I had that was Execution backend original [diffusers]

selected for sdxl .. that was why I wasn't getting any previews at all..

but using original backend for normal sd models gets the previews back... but yeah still some problems with it

AlUlkesh commented 10 months ago

It's a different error now.

I added some more debug printouts and removed the multiplying messages on subsequent runs. Can you run it again?

XeonG commented 10 months ago

https://pastebin.com/52YrEWw9

AlUlkesh commented 10 months ago

UNIPC is in the same family of samplers as DDIM and PLMS, which won't work with this extension. Can you try another one, an Euler or DPM one?

XeonG commented 10 months ago

it is saving the intermediates.. but having video option doesn't create a video, and it doesn't save a batch file....

`11:43:59-522442 DEBUG Server alive=True jobs=2 requests=262 uptime=3470s memory used=3.46 total=79.93 idle 11:45:42-840305 DEBUG txt2img: id_task=task(oj9y61w6iscfno5)|prompt=ghdfhd|negative_prompt=fhfdhdfhf|prompt_styles=[]|steps=20|sampler_index =3|latent_index=None|full_quality=True|restore_faces=False|tiling=False|n_iter=1|batch_size=1|cfg_scale=6|cli p_skip=1|seed=-1.0|subseed=-1.0|subseed_strength=0|seed_resize_from_h=0|seed_resize_from_w=0||height=512|widt h=512|enable_hr=False|denoising_strength=0.5|hr_scale=2|hr_upscaler=None|hr_force=False|hr_second_pass_steps= 20|hr_resize_x=0|hr_resize_y=0|image_cfg_scale=6|diffusers_guidance_rescale=0.7|refiner_steps=5|refiner_start =0.8|refiner_prompt=|refiner_negative=|override_settings_texts=[] func: process C:\Projects\StableDiffusion\automatic\venv\Scripts\python.exe 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] Windows 10.0.19045 e5f8b7f0a462a3b1cc03b2a76ea50509138ba7d3

Gradio 3.43.2 C:\Projects\StableDiffusion\automatic opts.save_images_add_number: True { "customscript/sd_save_intermediate_images.py/txt2img/Also save final image with intermediates/value": true, "customscript/sd_save_intermediate_images.py/img2img/Also save final image with intermediates/value": true, "customscript/sd_save_intermediate_images.py/txt2img/Type of images to be saved/value": "Denoised", "customscript/sd_save_intermediate_images.py/img2img/Type of images to be saved/value": "Denoised", "customscript/sd_save_intermediate_images.py/txt2img/Save every N images/value": 1.0, "customscript/sd_save_intermediate_images.py/img2img/Save every N images/value": 1.0, "customscript/sd_save_intermediate_images.py/txt2img/Start at N images (must be 0 = start at the beginning or a multiple of 'Save every N images')/value": 0.0, "customscript/sd_save_intermediate_images.py/img2img/Start at N images (must be 0 = start at the beginning or a multiple of 'Save every N images')/value": 0.0, "customscript/sd_save_intermediate_images.py/txt2img/Stop at N images (must be 0 = don't stop early or a multiple of 'Save every N images')/value": 0.0, "customscript/sd_save_intermediate_images.py/img2img/Stop at N images (must be 0 = don't stop early or a multiple of 'Save every N images')/value": 0.0, "customscript/sd_save_intermediate_images.py/txt2img/Mode/value": "Standard operation", "customscript/sd_save_intermediate_images.py/img2img/Mode/value": "Standard operation", "customscript/sd_save_intermediate_images.py/txt2img/Format/value": "mp4", "customscript/sd_save_intermediate_images.py/img2img/Format/value": "mp4", "customscript/sd_save_intermediate_images.py/txt2img/mp4 parameters/value": "h264", "customscript/sd_save_intermediate_images.py/img2img/mp4 parameters/value": "h264", "customscript/sd_save_intermediate_images.py/txt2img/fps/value": 15.0, "customscript/sd_save_intermediate_images.py/img2img/fps/value": 15.0, "customscript/sd_save_intermediate_images.py/txt2img/Display last image for additional frames at the beginning/value": 20.0, "customscript/sd_save_intermediate_images.py/img2img/Display last image for additional frames at the beginning/value": 20.0, "customscript/sd_save_intermediate_images.py/txt2img/Display last image for additional frames at the end/value": 20.0, "customscript/sd_save_intermediate_images.py/img2img/Display last image for additional frames at the end/value": 20.0, "customscript/sd_save_intermediate_images.py/txt2img/Smoothing / Interpolate/value": false, "customscript/sd_save_intermediate_images.py/img2img/Smoothing / Interpolate/value": false, "customscript/sd_save_intermediate_images.py/txt2img/Approx. how many seconds should the video run?/value": 0.0, "customscript/sd_save_intermediate_images.py/img2img/Approx. how many seconds should the video run?/value": 0.0, "customscript/sd_save_intermediate_images.py/txt2img/lores/value": true, "customscript/sd_save_intermediate_images.py/img2img/lores/value": true, "customscript/sd_save_intermediate_images.py/txt2img/hires/value": true, "customscript/sd_save_intermediate_images.py/img2img/hires/value": true, "customscript/sd_save_intermediate_images.py/txt2img/Create Windows ffmpeg bat-files for lores and hires. Changes numbering logic./value": false, "customscript/sd_save_intermediate_images.py/img2img/Create Windows ffmpeg bat-files for lores and hires. Changes numbering logic./value": false, "customscript/sd_save_intermediate_images.py/txt2img/Only bat-files, no video/value": false, "customscript/sd_save_intermediate_images.py/img2img/Only bat-files, no video/value": false, "customscript/sd_save_intermediate_images.py/txt2img/Debug/value": true, "customscript/sd_save_intermediate_images.py/img2img/Debug/value": true } { "cross_attention_options": [], "sd_lora": "", "styles_dir": "models\styles", "outdir_txt2img_samples": "outputs\text", "outdir_img2img_samples": "outputs\image", "outdir_extras_samples": "outputs\extras", "outdir_save": "outputs\save", "outdir_txt2img_grids": "outputs\grids", "outdir_img2img_grids": "outputs\grids", "quicksettings_list": [ "sd_model_checkpoint", "sd_model_refiner", "diffusers_pipeline", "sd_backend" ], "show_samplers": [ "Default", "Euler a", "UniPC", "DEIS", "DDIM", "DPM 1S", "DPM 2M", "DPM SDE", "DPM++ 2M SDE", "DPM++ 2M SDE Karras", "DPM2 Karras", "DPM++ 2M Karras", "DPM++ 3M SDE Karras", "DPM++ 3M SDE" ], "postprocessing_enable_in_main_ui": [], "postprocessing_operation_order": [], "interrogate_clip_skip_categories": [ "artists", "movements", "flavors" ], "extra_networks": [ "All" ], "disabled_extensions": [ "sd-webui-controlnet", "clip-interrogator-ext", "stable-diffusion-webui-rembg", "a1111-sd-webui-lycoris", "multidiffusion-upscaler-for-automatic1111", "sd-webui-prompt-all-in-one" ], "clip_skip": 1, "uni_pc_lower_order_final": true, "uni_pc_order": 2, "sd_model_checkpoint": "neverendingDream_bakedVae.safetensors [d8722b4a4d]", "sd_checkpoint_hash": "d8722b4a4d11b79ca25e608a02f69b7677ac760970a0bb4583d3ecd34f0757a7", "show_progress_type": "Full VAE", "gradio_theme": "gradio/default", "cuda_compile_backend": "cudagraphs", "jpeg_quality": 95, "live_preview_refresh_period": 1000, "inference_mode": "inference-mode", "sd_vae_sliced_encode": true, "theme_style": "Dark", "image_browser_ranking_pnginfo": true, "image_browser_info_add": true } 11:45:42-908962 DEBUG Sampler: sampler=Euler a config={'uses_ensd': True} 0%| | 0/20 [00:00<?, ?it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 0, 0, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 0, 0, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 func: save_image_only_get_name p.intermed_outpath: outputs\text\intermediates\02034[seq] p.intermed_outpath_suffix: p.steps: 20 p.all_seeds: [3647881607] p.cfg_scale: 6 p.sampler_name: Euler a intermed_seed_index, intermed_seed: 0, 3647881607 abs_step, p.intermed_ssii_start_at_n: 0, 0.0 5%|████▊ | 1/20 [00:00<00:02, 9.43it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 1, 1, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 1, 1, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:43-120318 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-001-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-001-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-001-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 10%|█████████▋ | 2/20 [00:00<00:07, 2.48it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 2, 2, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 2, 2, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:43-723547 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-002-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-002-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-002-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 15%|██████████████▌ | 3/20 [00:01<00:08, 2.05it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 3, 3, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 3, 3, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:44-362795 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-003-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-003-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-003-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 20%|███████████████████▍ | 4/20 [00:01<00:08, 1.78it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 4, 4, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 4, 4, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:44-984793 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-004-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-004-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-004-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 25%|████████████████████████▎ | 5/20 [00:02<00:08, 1.76it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 5, 5, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 5, 5, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:45-563796 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-005-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-005-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-005-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 30%|█████████████████████████████ | 6/20 [00:03<00:07, 1.81it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 6, 6, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 6, 6, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:46-085796 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-006-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-006-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-006-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 35%|█████████████████████████████████▉ | 7/20 [00:03<00:06, 1.87it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 7, 7, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 7, 7, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:46-587228 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-007-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-007-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-007-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 40%|██████████████████████████████████████▊ | 8/20 [00:04<00:06, 1.94it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 8, 8, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 8, 8, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:47-060213 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-008-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-008-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-008-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 45%|███████████████████████████████████████████▋ | 9/20 [00:04<00:05, 1.98it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 9, 9, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 9, 9, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:47-562551 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-009-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-009-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-009-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 50%|████████████████████████████████████████████████ | 10/20 [00:04<00:04, 2.06it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 10, 10, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 10, 10, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:47-982187 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-010-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-010-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-010-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 55%|████████████████████████████████████████████████████▊ | 11/20 [00:05<00:04, 2.15it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 11, 11, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 11, 11, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:48-395710 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-011-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-011-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-011-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 60%|█████████████████████████████████████████████████████████▌ | 12/20 [00:05<00:03, 2.30it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 12, 12, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 12, 12, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:48-765707 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-012-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-012-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-012-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 65%|██████████████████████████████████████████████████████████████▍ | 13/20 [00:06<00:02, 2.44it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 13, 13, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 13, 13, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:49-125900 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-013-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-013-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-013-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 70%|███████████████████████████████████████████████████████████████████▏ | 14/20 [00:06<00:02, 2.54it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 14, 14, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 14, 14, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:49-485902 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-014-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-014-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-014-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 75%|████████████████████████████████████████████████████████████████████████ | 15/20 [00:06<00:01, 2.61it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 15, 15, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 15, 15, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:49-840125 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-015-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-015-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-015-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 80%|████████████████████████████████████████████████████████████████████████████▊ | 16/20 [00:07<00:01, 2.69it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 16, 16, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 16, 16, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:50-213138 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-016-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-016-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-016-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 85%|█████████████████████████████████████████████████████████████████████████████████▌ | 17/20 [00:07<00:01, 2.69it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 17, 17, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 17, 17, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:50-578791 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-017-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-017-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-017-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 90%|██████████████████████████████████████████████████████████████████████████████████████▍ | 18/20 [00:07<00:00, 2.67it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 18, 18, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 18, 18, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:50-947701 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-018-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-018-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-018-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 95%|███████████████████████████████████████████████████████████████████████████████████████████▏ | 19/20 [00:08<00:00, 2.69it/s]func: callback_state func: hr_check ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only, ssii_debug: Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False, True Step, abs_step, hr, hr_active: 19, 19, False, False ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n: Denoised, 1.0, 0.0, 0.0 Step, abs_step, hr, hr_active: 19, 19, False, False batch_count, iteration, batch_size, batch_pos: 1, 0, 1, 0 intermed_seed_index, intermed_seed: 0, 3647881607 11:45:51-292215 DEBUG Saving: image="outputs\text\intermediates\02034[seq]\02034[seq]-019-ghdfhd.png" type=PNG size=512x512 func: handle_image_saved func: filename_clean filename: 02034%%%%%-019-%%%%%% func: filename_clean func: filename_clean index, p.intermed_last[index]: 0, 02034%%%%%-019-%%%%%%%%%%, %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%, False 100%|████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:08<00:00, 2.32it/s] 11:45:51-582217 DEBUG Saving: image="outputs\text\02034-ghdfhd.jpg" type=JPEG size=512x512 func: handle_image_saved func: filename_clean last_filename: 02034%%%%%-019-%%%%%%%%%% func: filename_clean file_new_path: %%%%%%%\%%%%\%%%%%%%%%%%%%\02034%%%%%\02034%%%%%-020-%%%%%%%%%% 11:45:51-593216 INFO Processed: images=1 time=8.71s its=2.30 memory={'ram': {'used': 3.48, 'total': 79.93}, 'gpu': {'used': 4.66, 'total': 23.99}, 'retries': 0, 'oom': 0} func: postprocess func: make_video ssii_is_active, ssii_final_save, ssii_intermediate_type, ssii_every_n, ssii_start_at_n, ssii_stop_at_n, ssii_mode, ssii_video_format, ssii_mp4_parms, ssii_video_fps, ssii_add_first_frames, ssii_add_last_frames, ssii_smooth, ssii_seconds, ssii_lores, ssii_hires, ssii_ffmpeg_bat, ssii_bat_only: True, True, Denoised, 1.0, 0.0, 0.0, Make a video file, mp4, h264, 15.0, 20.0, 20.0, False, 0.0, True, True, True, False func: hr_check func: make_video_or_bat video mode: video func: get_add_num func: hr_check func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_set_num func: get_add_num func: ssii_add_last_frames_logic ssii_add_first_frames, ssii_add_last_frames: 20.0, 20.0 name_last: 02034[seq]-020-ghdfhd.png 11:45:51-597214 ERROR Running script postprocess: extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py: AttributeError ╭──────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────╮│ C:\Projects\StableDiffusion\automatic\modules\scripts.py:503 in postprocess ││ ││ 502 │ │ │ │ args = p.per_script_args.get(script.title(), p.script_args[script.args_f ││ ❱ 503 │ │ │ │ script.postprocess(p, processed, *args) ││ 504 │ │ │ except Exception as e: ││ ││ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:762 in ││ postprocess ││ ││ 761 │ │ # Make video for last batch_count ││ ❱ 762 │ │ make_video(p, ssii_is_active, ssii_final_save, ssii_intermediate_type, ssii_ever ││ 763 ││ ││ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:193 in ││ make_video ││ ││ 192 │ │ │ video_bat_mode = "video" ││ ❱ 193 │ │ │ make_video_or_bat(p, ssii_is_active, ssii_final_save, ssii_intermediate_type ││ 194 │ │ if do_bat: ││ ││ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:252 in ││ make_video_or_bat ││ ││ 251 │ if ssii_add_first_frames > 0 or ssii_add_last_frames > 0: ││ ❱ 252 │ │ ssii_add_last_frames_logic(p, ssii_add_first_frames, ssii_add_lastframes, ssii ││ 253 ││ ││ C:\Projects\StableDiffusion\automatic\extensions\sd_save_intermediate_images\scripts\sd_save_intermediate_images.py:140 in ││ ssii_add_last_frames_logic ││ ││ 139 │ │ │ │ │ try: ││ ❱ 140 │ │ │ │ │ │ matched = int(match.group(1)) ││ 141 │ │ │ │ │ except: │╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯AttributeError: 'NoneType' object has no attribute 'group' 11:46:00-201135 DEBUG Server alive=True jobs=3 requests=281 uptime=3591s memory used=3.48 total=79.93 idle

`

AlUlkesh commented 10 months ago

I think this here is the problem:

name_last: 02034[seq]-020-ghdfhd.png

Instead of [seq], there should be the seed-number. Do your filenames not contain the seed-number?

XeonG commented 10 months ago

well progress.. though not sure what the setting was.. just tried to match the directory/name saving file stuff with the automatic1111 version

now it seems it doesn't do the first/last frame repeating.... for the video..

https://pastebin.com/dbrTGvid

AlUlkesh commented 10 months ago

Is your default image format set to jpg? If so, try setting it to png.

XeonG commented 10 months ago

I set it back to png.. and while the error with png 's hasn't gone away.. when playing the video it does retain the first and last still frames...

so it just doesn't work with sdxl or kadinsky 2.. on vlad automatic from what I've found.. but it does work for the normal sd1.5 models