bei stable diffusion automatic1111 webui in einem batch der verarbeitet werden soll…
- User
bei stable diffusion automatic1111 webui in einem batch der verarbeitet werden soll kommt direkt di emeldung:
*** Error completing request *** Arguments: ('task(8wdz6eyvoqjmkjs)', <gradio.routes.Request object at 0x0000013B065B4E80>, 5, 'a beautiful young girl, (((((straight reddish-brown hair))))), ((smooth hair)) piercings above mouthcorners, extremly detailed, high resolution skin texture, natural skin, ((skin redness)), reddish nose, [[[[[slightly freckled]]]]], ((detailed eye reflections)), (((perfect grey-greenish eyes))), ((looking at viewer))\nlora:Lsa_EpicRealism_768_HighQuality:0.2\nlora:lsa_512_v2:0.2\nlora:lcm_lora_sd15:-0.3\nlora:Lsa_Chillout_5000_rl3:0.7\nlora:Lsa:0\nlora:ip-adapter-faceid-plusv2_sd15_lora:0.7', "((((mascara)))), (((make-up))), ((((pale skin)))), ((((white skin)))), worst quality, low quality, lowres, art, drawing, cartoon, non-straight hair, ((((curly hair)))), ((wavy hair))\n<lora:RFKTR's negative (GraphicalFixes+more):0>", [], <PIL.Image.Image image mode=RGBA size=2048x2048 at 0x13B065B6950>, None, None, None, None, None, None, 4, 0, 1, 1, 1, 1.5, 1.5, 0.7, 1.0, 512, 512, 0.3, 0, 1, 64, 0, 'D:\Programme\Ebsynth\LsaStableDiffusion\video_key', 'D:\Programme\Ebsynth\LsaStableDiffusion\video_key\Neu2', '', [], False, [], '', 'upload', None, 0, False, 1, 0.5, 4, 0, 0.5, 2, 10, 'DPM++ SDE', 'Automatic', False, '', 0.8, 1650178496, False, -1, 0, 0, 0, None, False, 'Wavelet', False, False, 1, False, 1, 0, False, -1.0, True, False, 'dpm_2m_fast_v1', 'none', 'square_1-1', '', False, False, 'prompt', 1.0, '', '', '', '', 1024.0, 'general_v3', 'xl_quickshot_v1', 'none', True, False, 'clipseg', 'left-to-right', 0.0, False, 'subtract', True, 1024.0, True, '', '', '', '', '', False, 'mkl', 'pre', 0.5, False, '', '', 10, True, False, False, False, 'prompt', 1.0, '', '', '', 'smart', ['may_flip_horizontal'], 'xl_promax_v1', 'prefer_cn', 5.0, 0.0, 'add_difference', True, True, False, 'prompt', 1.0, 'Hyper-SD', '4', 0.5, 0, 0, True, True, True, '', False, 'prompt', 100.0, None, None, 'fast_v2', '', False, False, 'prompt', 1.0, '', 'allspice_v2', True, False, True, True, True, False, 'prompt', 1.0, '', '', '', '', '', '', '', '', 0, 'Horizontal', 'Regional Prompter', '', '', False, True, True, False, False, 'prompt', 1.0, '', ['surreal_watercolor'], True, True, False, 'prompt', 1.0, '', False, False, 'prompt', 1.0, '', '', '', False, 'prompt', 1.0, '', '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', 0.0, False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', '', '', False, '', '', '', '', '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, False, 'prompt', 1.0, '', False, False, 'prompt', 1.0, '', 'utf-8', False, 'prompt', 1.0, '', '', False, 'prompt', 1.0, '', '', False, 'prompt', 1.0, '', '', False, 'prompt', 1.0, '', 100.0, False, False, 'prompt', 1.0, '', 1.0, '', False, False, -1.0, False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, False, 'prompt', 1.0, '', '', False, False, 'prompt', 1.0, '', '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, False, 'prompt', 1.0, '', '|', False, 'prompt', 1.0, '', False, False, None, False, False, 'prompt', 1.0, '', '', '', '', False, False, 'prompt', 1.0, '', '', '', False, False, 'prompt', 1.0, '', '', '', '', '', False, 'prompt', 1.0, '', 'LykosAI/GPT-Prompt-Expansion-Fooocus-v2', '', '', '', '', 'text-generation', 1.0, 50.0, False, False, 'prompt', 1.0, False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', '', '==', False, False, False, 'prompt', 1.0, '', False, 'after', 1.0, '', '', False, 'prompt', 1.0, '', False, False, False, False, False, '', False, 'prompt', 1.0, '', '', -1.0, False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', 'info', False, 'prompt', 1.0, False, 'prompt', 1.0, False, 'prompt', 1.0, '', '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, 0.0, 10.0, False, False, 'prompt', 1.0, '', 2.0, '', False, 'prompt', 1.0, '', '', '', '', '', -1.0, False, False, False, 'prompt', 1.0, '', '', 0.0, 0.0, 'px', 'scale', 'Lanczos', 'middle_center', True, 0.0, 0.0, False, 'prompt', 1.0, '', 0.0, False, 'prompt', 1.0, '', '', False, '', False, False, False, False, False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', 0.0, 0.0, 1.0, 'characters', False, 'prompt', 1.0, '', '', False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', '', False, 'prompt', 1.0, False, 'prompt', 1.0, '', False, 'prompt', 1.0, '', '', '==', False, False, False, False, 'prompt', 1.0, '', False, 'prompt', 1.0, False, 'prompt', 1.0, 'mkl', False, False, False, 'after', 1.0, None, None, ['insightface'], 50, 1, False, '', 1, True, [], False, 'after', 1.0, '', 'add', False, False, 'prompt', 1.0, 1, False, 'prompt', 1.0, 1024.0, 64.0, False, False, 'prompt', 1.0, '', '', 75.0, 300.0, 0.1, 0.1, 1.0, 'sdxl', 'ViT-L-14', 'openai', True, False, 'prompt', 1.0, None, False, 'prompt', 1.0, '', 'add', False, False, 0.5, 0.0, 20.0, 0.85, 0.0, 'overlap', False, 'prompt', 1.0, None, 'CLIP', '', '', '', 50, False, 'prompt', 1.0, False, 'prompt', 1.0, '', False, 'prompt', 1.0, ['GPENO'], 1, '512', 'Bilinear', False, False, 'after', 1.0, '', False, 'prompt', 1.0, False, 'after', 1.0, '', 'panoptic_sam', 'left-to-right', False, 0.0, 'add', '', 0.0, 0.0, '', False, False, False, False, 100.0, 0.0, 20.0, '', 100.0, 0.0, 20.0, '', 'stretch', 0.0, 0.0, False, 'prompt', 1.0, 'face', 'face', '', '', False, 'clipseg', 'left-to-right', 50.0, 0.5, 0.03, 0.0, 'Nearest Neighbor', 'Lanczos', 1.0, -1.0, -1.0, 1024.0, False, 7, 0.65, '', '', 'none', 'pre', 1, False, False, False, False, False, 'after', 1.0, True, ['face (skin)', 'hair'], True, 4, 0, 1, 1, 32, 2, False, False, {'ad_model': 'face_yolov8n.pt', 'ad_model_classes': '', 'ad_tab_enable': True, 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_tab_enable': True, 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_tab_enable': True, 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_tab_enable': True, 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, False, 20, 0, False, 1, '', 0.5, 1.9, 20, 0.2, False, 'Scrambles a prompt by changing prompt order, removing prompts, and changing prompt weights. The entire (count*batch) will be run against a prompt variation before running the next one.', True, False, <scripts.easyphoto_utils.animatediff_utils.AnimateDiffProcess object at 0x0000013AE3176B30>, <scripts.animatediff_ui.AnimateDiffProcess object at 0x0000013B451A8EB0>, ControlNetUnit(is_ui=True, input_mode=<InputMode.SIMPLE: 'simple'>, batch_images='D:\Programme\Ebsynth\LsaStableDiffusion\video_key', output_dir='D:\Programme\Ebsynth\LsaStableDiffusion\video_key\Neu2', loopback=False, enabled=True, module='ip-adapter-auto', model='ip-adapter-faceid-plusv2_sd15 [6e14fc1a]', weight=1.0, image={'image': array([[[255, 255, 255], *** [255, 255, 255], *** [255, 255, 255], *** ..., *** [255, 255, 255], *** [255, 255, 255], *** [255, 255, 255]],
- Assistant
The error traceback you provided indicates an
AssertionErrorin theimg2imgfunction of the Stable Diffusion WebUI. This specific error is triggered because the code expectsimg2img_batch_uploadto be a non-empty list, but it appears that it isn't.Here are some steps you can take to resolve this issue:
-
Check Input Batches: Ensure that the batch of images you are trying to process is correctly formatted and is not empty. Verify that the paths provided for input images are correct and accessible.
-
Review Code and Function Logic: If you have the ability to, review the logic in the function where is being used. Ensure that this variable is populated correctly before the assertion is checked.
-