IndexError when using batch Img2Img #196
Unanswered
gozergozerianjr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! Unprompted txt2mask works perfectly for single images, but if I use a batch directory I get the following error. Unprompted is the only non-built-in extension I have installed and I've renamed the folder to _unprompted. Any help woud be greatly appreciated!
Will process 3 images, creating 1 new images for each.
2023-09-11 22:44:11,744 (INFO) [Unprompted.txt2mask] Using cached clipseg model.
100%|██████████████████████████████████████████████████████████████████████████████████| 16/16 [00:06<00:00, 2.46it/s]
*** Error completing request | 64/5584 [02:45<40:08, 2.29it/s]
*** Arguments: ('task(r9043zzj4rlnxik)', 5, '[txt2mask batch=1.0 method="clipseg" mode="add" sketch_alpha=0.0 show precision=100.0 padding=32.0 smoothing=20.0 neg_precision=100.0 neg_padding=0.0 neg_smoothing=20.0 stamp_method="stretch" stamp_x=0.0 stamp_y=0.0]face[/txt2mask] clown', '', [], None, None, None, None, None, None, None, 20, 0, 4, 0, 1, False, False, 1, 1, 7, 1.5, 0.75, -1.0, -1.0, 0, 0, 0, False, 0, 512, 512, 1, 0, 0, 32, 0, 'Y:\batch', '', '', [], False, [], '', <gradio.routes.Request object at 0x000001A605E673A0>, 0, True, -1.0, True, '
\n \n
\n', True, True, '', '', True, 50, True, 1, 0, False, 4, 0.5, 'Linear', 'None', 'CFG Scale
should be 2 or lower.Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8
', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', 'Will upscale the image by the selected scale factor; use width and height sliders to set tile size
', 64, 0, 2, 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0) {}Traceback (most recent call last):
File "Y:\stable-diffusion-webui\modules\call_queue.py", line 58, in f
res = list(func(*args, **kwargs))
File "Y:\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "Y:\stable-diffusion-webui\modules\img2img.py", line 226, in img2img
process_batch(p, img2img_batch_input_dir, img2img_batch_output_dir, img2img_batch_inpaint_mask_dir, args, to_scale=selected_scale_tab == 1, scale_by=scale_by, use_png_info=img2img_batch_use_png_info, png_info_props=img2img_batch_png_info_props, png_info_dir=img2img_batch_png_info_dir)
File "Y:\stable-diffusion-webui\modules\img2img.py", line 118, in process_batch
infotext = proc.infotext(p, n)
File "Y:\stable-diffusion-webui\modules\processing.py", line 457, in infotext
return create_infotext(p, self.all_prompts, self.all_seeds, self.all_subseeds, comments=[], position_in_batch=index % self.batch_size, iteration=index // self.batch_size)
File "Y:\stable-diffusion-webui\modules\processing.py", line 624, in create_infotext
"Seed": p.all_seeds[0] if use_main_prompt else all_seeds[index],
IndexError: list index out of range
Beta Was this translation helpful? Give feedback.
All reactions