Closed cdobrich closed 1 year ago
i can't reproduce the error. do you have any additional information that could help me?
Okay I did some more testing. I ran tests against older versions of the batchCheckpointsPrompt.py.
This git version properly functions for me - commit dbe53c7dec5acaef253e99f78533bd60c42771ee, Date: Tue May 16 22:56:43 2023 +0200.
After that, everything else breaks. Does that help?
I was getting the same error, and seeing how mine ended with the notation of the ETA noise, which I have set to 31337, I tried again but this time with the ETA Noise Seed Delta set to 0. With ETA noise set to 0, it works fine, I don't get the same sampler error upon starting the script again.
Traceback (most recent call last): File "C:\AI\Stable Diffusion\Automatic1111\stable-diffusion-webui\modules\call_queue.py", line 55, in f res = list(func(*args, **kwargs)) File "C:\AI\Stable Diffusion\Automatic1111\stable-diffusion-webui\modules\call_queue.py", line 35, in f res = func(*args, **kwargs) File "C:\AI\Stable Diffusion\Automatic1111\stable-diffusion-webui\modules\txt2img.py", line 54, in txt2img processed = modules.scripts.scripts_txt2img.run(p, *args) File "C:\AI\Stable Diffusion\Automatic1111\stable-diffusion-webui\modules\scripts.py", line 456, in run processed = script.run(p, *script_args) File "C:\AI\Stable Diffusion\Automatic1111\stable-diffusion-webui\extensions\SD-WebUI-BatchCheckpointPrompt\scripts\batchCheckpointsPrompt.py", line 248, in run self.text_margin_left_and_right = 16 File "C:\AI\Stable Diffusion\Automatic1111\stable-diffusion-webui\extensions\SD-WebUI-BatchCheckpointPrompt\scripts\batchCheckpointsPrompt.py", line 198, in generate_infotexts if name in data: File "C:\AI\Stable Diffusion\Automatic1111\stable-diffusion-webui\extensions\SD-WebUI-BatchCheckpointPrompt\scripts\batchCheckpointsPrompt.py", line 191, in do_stuff data = {} File "C:\AI\Stable Diffusion\Automatic1111\stable-diffusion-webui\modules\processing.py", line 562, in create_infotext uses_ensd = sd_samplers_common.is_sampler_using_eta_noise_seed_delta(p) File "C:\AI\Stable Diffusion\Automatic1111\stable-diffusion-webui\modules\sd_samplers_common.py", line 72, in is_sampler_using_eta_noise_seed_delta if eta is None and p.sampler is not None: AttributeError: 'Processed' object has no attribute 'sampler'
Okay, interesting. I'm looking into this.
I am getting the same error. Windows 11.
INFO: Batch-Checkpoint-Prompt: checkpoint: 1/4 100%|██████████████████████████████████████████████████████████████████████████████████| 50/50 [00:04<00:00, 11.20it/s] Error completing request█████████████████████████████▏ | 99/200 [02:56<00:09, 10.68it/s] Arguments: ('task(lfs4xnni6cv25e1)', 'I dont know what to do about my mom\n', 'negative_hand-neg, easynegative:0.5, lowres, low quality:1.4, worst quality:1.4, bad eyes, monochrome, greyscale, signature, watermark, deformed pupils, deformed iris, nude, NSFW, naked', [], 50, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.35, 2, 'R-ESRGAN 4x+', 15, 0, 0, 0, '', '', [], 5, 0, 0, 4, 512, 512, True, 'None', 'None', 0, True, 'keyword, prompt', 'Mature Adult', 'None', 'model keyword first', 'None', '1.2', 'None', False, 'MultiDiffusion', False, True, 1024, 1024, 96, 96, 48, 1, 'None', 2, False, 10, 1, 1, 64, False, False, False, False, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 1536, 96, True, True, True, False, True, False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True, False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '', <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002DC91AD37C0>, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, 5, 'all', 'all', 'all', '', '', '', '1', 'none', False, '', '', 'comma', '', True, '', 'HassanBlend1.5.1.2.safetensors [82089cc267] @index:0,\nttpTheTentacle_v2FP32.safetensors @index:1,\n3dThickCoated_3dThickCoatedV4.ckpt [b3854b01ed] @index:2,\naihMegamerge_anythingInkpunk.safetensors [5e13203e5c] @index:3\n', '{prompt} @index:0;\n\n{prompt} @index:1;\n\n{prompt} @index:2;\n\n{prompt} @index:3;\n\n', 0, None, None, False, 50) {} Traceback (most recent call last): File "G:\Automatic1111\modules\call_queue.py", line 57, in f res = list(func(*args, *kwargs)) File "G:\Automatic1111\modules\call_queue.py", line 37, in f res = func(args, *kwargs) File "G:\Automatic1111\modules\txt2img.py", line 54, in txt2img processed = modules.scripts.scripts_txt2img.run(p, args) File "G:\Automatic1111\modules\scripts.py", line 441, in run processed = script.run(p, *script_args) File "G:\Automatic1111\extensions\SD-WebUI-BatchCheckpointPrompt\scripts\batchCheckpointsPrompt.py", line 248, in run all_infotexts = self.generate_infotexts(processed_sd_object, all_infotexts, all_batchParams[i].batch_count) File "G:\Automatic1111\extensions\SD-WebUI-BatchCheckpointPrompt\scripts\batchCheckpointsPrompt.py", line 198, in generate_infotexts all_infotexts.append(do_stuff()) File "G:\Automatic1111\extensions\SD-WebUI-BatchCheckpointPrompt\scripts\batchCheckpointsPrompt.py", line 191, in do_stuff return processing.create_infotext(pc, pc.all_prompts, pc.all_seeds, pc.all_subseeds, position_in_batch=i) File "G:\Automatic1111\modules\processing.py", line 555, in create_infotext uses_ensd = sd_samplers_common.is_sampler_using_eta_noise_seed_delta(p) File "G:\Automatic1111\modules\sd_samplers_common.py", line 72, in is_sampler_using_eta_noise_seed_delta if eta is None and p.sampler is not None: AttributeError: 'Processed' object has no attribute 'sampler'
seems to be a problem with custom eta noise settings. I'll try to find out how to fix it
I'm getting the same error on Debian 11. I tried unsetting ENSD (empty textbox) and I still got the same error. But I can confirm that setting it to 0 does work.
I'm trying to run about 90 different checkpoints through the batch processor. I have tested with Automatic1111 webui Version: v1.3.1 and Version: v1.4.0. Same results. It will process whatever checkpoint I have selected and then throw this error, not processing a second one. It does not matter if I have ‘Hires. fix' enabled or not. Same error.
On the front end I'm getting this error message:
On the backend this is the output.
I am running Ubuntu Linux 23.04 :