Giter VIP home page Giter VIP logo

sd-webui-batchcheckpointprompt's Introduction

πŸ‘‹ Hi, I’m Tom (@h43lb1t0)

Mainly I am interested in Python development, but through the university partly also in Java.

Also, I am a big friend of open source and (almost) all of my public repos are open source.

Feel free to check out my repositorys


python logo java logo vscode logo ubuntu logo javascript logo


stats graph languages graph

sd-webui-batchcheckpointprompt's People

Contributors

h43lb1t0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sd-webui-batchcheckpointprompt's Issues

AttributeError: 'Processed' object has no attribute 'sampler'

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:

AttributeError: 'Processed' object has no attribute 'sampler'
Time taken: 52.84sTorch active/reserved: 8170/12570 MiB, Sys VRAM: 17339/24215 MiB (71.6%)

On the backend this is the output.

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on bob user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc.so.4
Python 3.11.2 (main, May 30 2023, 17:45:26) [GCC 12.2.0]
Version: v1.3.1
Commit hash: b6af0a3809ea869fb180633f9affcae4b199ffcf
Installing requirements

Launching Web UI with arguments: --opt-sdp-attention --xformers --listen --no-half-vae --no-half --disable-nan-check
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: /home/bob/code/repos/stable-diffusion/stable-diffusion-webui/extensions/Stable-Diffusion-Webui-Civitai-Helper/setting.json
Civitai Helper: No setting file, use default
[-] ADetailer initialized. version: 23.6.3, num models: 8
Loading weights [feadfe3cfe] from /home/bob/code/repos/stable-diffusion/stable-diffusion-webui/models/Stable-diffusion/3moonNIReal_3moonNIRealV2.safetensors
Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 4.0s (import torch: 0.6s, import gradio: 0.5s, import ldm: 0.6s, other imports: 0.3s, list SD models: 0.2s, load scripts: 1.2s, load upscalers: 0.1s, create ui: 0.3s).
Creating model from config: /home/bob/code/repos/stable-diffusion/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: /home/bob/code/repos/stable-diffusion/stable-diffusion-webui/models/Stable-diffusion/nai.vae.pt
Applying optimization: xformers... done.
Textual inversion embeddings loaded(9): bad-artist, bad-artist-anime, bad_prompt, bad_prompt_version2, EasyNegative, emb-avril, fantasycharacter, ng_deepnegative_v1_75t, verybadimagenegative_v1.3
Model loaded in 2.1s (load weights from disk: 0.5s, create model: 0.3s, apply weights to model: 0.5s, load VAE: 0.3s, move model to device: 0.4s).
                                  Loading weights [ed526812bb] from /home/bob/code/repos/stable-diffusion/stable-diffusion-webui/models/Stable-diffusion/Based65-Final-Mix.safetensors
Loading VAE weights specified in settings: /home/bob/code/repos/stable-diffusion/stable-diffusion-webui/models/Stable-diffusion/nai.vae.pt
Applying optimization: xformers... done.
Weights loaded in 1.7s (load weights from disk: 0.2s, apply weights to model: 0.8s, load VAE: 0.3s, move model to device: 0.4s).
INFO: Batch-Checkpoint-Prompt: checkpoint: 1/90
Loading weights [41538124cc] from /home/bob/code/repos/stable-diffusion/stable-diffusion-webui/models/Stable-diffusion/526mixV145_v145.safetensors
Loading VAE weights specified in settings: /home/bob/code/repos/stable-diffusion/stable-diffusion-webui/models/Stable-diffusion/nai.vae.pt
Applying optimization: xformers... done.
Weights loaded in 1.7s (load weights from disk: 0.2s, apply weights to model: 0.8s, load VAE: 0.2s, move model to device: 0.4s).
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 77/77 [00:05<00:00, 13.90it/s]
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 77/77 [00:42<00:00,  1.80it/s]
Error completing request                                                                    | 154/13860 [01:02<2:04:52,  1.83it/s]
Arguments: ('task(i3u5s2lxotd2qrn)', 'masterpiece, best quality, woman, realistic, tits, clothes, earrings, rings, necklace, jewelry, on the beach, dragons, waves, sunny day <lora:Astrid-1.5-v1:0.6>, astrid, axe, furs, armor', 'FastNegativeV2, lowres, bad anatomy, bad hands, text, error, distorted face, disfigured body, missing nose, unsymmetrical face, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name', [], 77, 0, False, False, 1, 1, 7, 2373277865.0, -1.0, 0, 0, 0, False, 512, 512, True, 0.7, 2, 'Latent', 0, 1088, 1088, 0, '', '', [], 4, False, {'ad_model': 'face_yolov8n.pt', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, '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_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'inpaint_global_harmonious', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1}, {'ad_model': 'None', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, '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_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'inpaint_global_harmonious', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1}, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, '526mixV145_v145.safetensors [41538124cc] @index:0,\nAbyssOrangeMix2_Hard.safetensors [cadf2c6654] @index:1,\nAbyssOrangeMix2_nsfw_pruned_fp16_with_VAE.safetensors [e892703c61] @index:2,\nAbyssOrangeMix2SFW_AbyssOrangeMix2Sfw.safetensors [b644d850c9] @index:3,\nAbyssOrangeMix3AOM3_aom3a3.safetensors [eb4099ba9c] @index:4,\naiomonstergirls_v3.safetensors [9ee2133245] @index:5,\naitia_InstantCafe_F1.4_nsfw.safetensors [30929c3f6f] @index:6,\namIReal_V3.safetensors [5abd718d60] @index:7,\nanyhentai_20.safetensors [61bc7001e8] @index:8,\nanyloraCheckpoint_bakedvaeFtmseFp16NOT.safetensors [8a952cafe9] @index:9,\nanything-v4.5-pruned.ckpt [e4b17ce185] @index:10,\nanythingfurry_1.safetensors [3edd27788a] @index:11,\nanythingV5Anything_anythingV5PrtRE.safetensors [7f96a1a9ca] @index:12,\nAOM3A1B_orangemixs.safetensors [5493a0ec49] @index:13,\nbadassMix_lucidDream.safetensors [9294a93172] @index:14,\nBased64mix-V3.safetensors [fdf0096972] @index:15,\nBased65-Final-Mix.safetensors [ed526812bb] @index:16,\ncartoonish_v1.safetensors [07f029f6d1] @index:17,\ncartoonStyle_v02.safetensors @index:18,\ncartunafied_v3.safetensors [894530779c] @index:19,\nCheckpointYesmix_v16Original.safetensors [3e9211917c] @index:20,\ncitrinedreammix_v2BakedVAE.safetensors @index:21,\ncityedge2dtoonmix_v306.safetensors [71b2603dcd] @index:22,\ncoffeemix_v20.safetensors [e2f6e0733a] @index:23,\ncomicBabes_v1.safetensors [9211801e30] @index:24,\ncorneos7thHeavenMix_v2.safetensors [d1e6b263b6] @index:25,\nCounterfeitV30_v30.safetensors [cbfba64e66] @index:26,\ncrosskemonoFurryModel_crosskemono25.safetensors [167e5bcb37] @index:27,\nDegenerate_deliberateV1.safetensors [4eb333dceb] @index:28,\ndeliberate_v11.safetensors [d8691b4d16] @index:29,\ndeliberate_v2.safetensors [9aba26abdf] @index:30,\ndisneyPixarCartoon_v10.safetensors [732d0dd2cf] @index:31,\ndreamscapesDragonfireNEWV20_dsDv20.safetensors [c15090d329] @index:32,\ndreamshaper_6BakedVae.safetensors [c249d7853b] @index:33,\nduchaitenaiart_V453.safetensors [ce4d987a0e] @index:34,\nendlessreality_v2.safetensors [3576ae9275] @index:35,\nexpmixLine_v3.safetensors [ab02baa239] @index:36,\nfantasticmix25D_v20.safetensors [dbbad6ae08] @index:37,\nfantasticmix_v65.safetensors [d4871ddc94] @index:38,\nFluffyCrossKemono.safetensors [c50ed406d5] @index:39,\nfluffyrock-768-lion-low-lr-e38-offset-noise-e6.safetensors [9432e6f806] @index:40,\nfurry_epoch4.ckpt [4160c57f98] @index:41,\nfurrystaber_v40AllVersions.safetensors [67e6e7cec5] @index:42,\nfurryVixens_v20.safetensors [fec0e39345] @index:43,\nfutapocalypse10_v10.safetensors [9887e24890] @index:44,\ngrapefruitHentaiModel_grapefruitv41.safetensors [c590550ea5] @index:45,\nhassakuHentaiModel_v12.safetensors [d3cd6ac55a] @index:46,\nhyper_breasts_1.2k_xl-lr1e-6-10ks-fp16-v3.ckpt [084eaf052e] @index:48,\nkotosmix_v10.safetensors [0f789fc3c4] @index:49,\nlawlassYiffymixFurry_lawlasmixFp16Withvae.safetensors [8f54282b36] @index:50,\nmajicmixRealistic_v5.safetensors [33c9f6dfcb] @index:51,\nmdjrny-v4.safetensors [aba96b389d] @index:52,\nmeinamix_meinaV10.safetensors @index:53,\nmerginmergesofmerge_v25.ckpt [2184ff07cd] @index:54,\nmistoonAmethyst_v20.safetensors [fc896c44f1] @index:55,\nmistoonAnime_v10.safetensors [a49140c6c5] @index:56,\nmistoonEmerald_v20.safetensors [e51d00b968] @index:57,\nmistoonRuby_v20.safetensors [6704d37b6b] @index:58,\nmistoonSapphire_v10.safetensors [b3ef8af57b] @index:59,\nmixProV45Colorbox_v45.safetensors [19dbfda152] @index:60,\nmodel.safetensors [40a255878a] @index:61,\nmoistmix_v2.safetensors [6514f58b5e] @index:62,\nnai.ckpt [89d59c3dde] @index:63,\nneverendingDreamNED_v122BakedVae.safetensors [ecefb796ff] @index:64,\nperfectWorld_v4Baked.safetensors [24a393500f] @index:65,\npixhell_v20.safetensors [333825e530] @index:66,\npony_v4.safetensors [f9ad6f8833] @index:67,\npurefurry_v02.safetensors @index:68,\nqgo10b_qgo10b.safetensors [f8973e771f] @index:69,\nrealdosmix_.safetensors [0d27c62ffa] @index:70,\nrevAnimated_v122.safetensors [4199bcdd14] @index:71,\nsexyToonsFeatPipa_v10.safetensors [bc2d163e9e] @index:72,\nSF_EB_1.0_pruned_vae/SF_EB_1.0_pruned_vae.ckpt [c50ab94df3] @index:73,\nsunshinemix_sunlightmixPruned.safetensors @index:74,\ntfmAmericanCartoons_-inpainting.safetensors [d983f72120] @index:75,\ntfmAmericanCartoons_ckpt.ckpt [5cb7b181ea] @index:76,\ntheAllysMixIII_v10.safetensors [f427dd7a4f] @index:77,\ntheAllysMixIV_v10.safetensors [7e49125818] @index:78,\ntoonify_v10.safetensors [e2a342af33] @index:79,\nuberRealisticPornMerge_urpmv13_pruned.safetensors [40f9701da0] @index:80,\nv1-5-pruned-emaonly.safetensors [6ce0161689] @index:81,\nvae-ft-mse-840000-ema-pruned.safetensors [735e4c3a44] @index:82,\nWestmagic_v10.safetensors [a68f44240f] @index:83,\nwrenchmix_v10.safetensors @index:84,\nxxmix9realistic_v30.safetensors @index:85,\nyiffy-e18.ckpt [64e242ae67] @index:86,\nYuzuGinger_v1-pruned.safetensors [3a76330929] @index:87,\nYuzuLemonChaiLatte_v3.5-pruned.safetensors [ed11f5cd10] @index:88,\nYuzuLemonMilk_v1.5-pruned.safetensors [47caee1481] @index:89,\n3moonNIReal_3moonNIRealV2.safetensors [feadfe3cfe] @index:90,', '{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};\n{prompt};', 0) {}
Traceback (most recent call last):
  File "/home/bob/code/repos/stable-diffusion/stable-diffusion-webui/modules/call_queue.py", line 57, in f
    res = list(func(*args, **kwargs))
               ^^^^^^^^^^^^^^^^^^^^^
  File "/home/bob/code/repos/stable-diffusion/stable-diffusion-webui/modules/call_queue.py", line 37, in f
    res = func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^
  File "/home/bob/code/repos/stable-diffusion/stable-diffusion-webui/modules/txt2img.py", line 54, in txt2img
    processed = modules.scripts.scripts_txt2img.run(p, *args)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bob/code/repos/stable-diffusion/stable-diffusion-webui/modules/scripts.py", line 441, in run
    processed = script.run(p, *script_args)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bob/code/repos/stable-diffusion/stable-diffusion-webui/extensions/SD-WebUI-BatchCheckpointPrompt/scripts/batchCheckpointsPrompt.py", line 258, in run
    all_infotexts = self.generate_infotexts(processed_sd_object, all_infotexts, self.get_n_iter(generation_data))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bob/code/repos/stable-diffusion/stable-diffusion-webui/extensions/SD-WebUI-BatchCheckpointPrompt/scripts/batchCheckpointsPrompt.py", line 193, in generate_infotexts
    all_infotexts.append(do_stuff())
                         ^^^^^^^^^^
  File "/home/bob/code/repos/stable-diffusion/stable-diffusion-webui/extensions/SD-WebUI-BatchCheckpointPrompt/scripts/batchCheckpointsPrompt.py", line 186, in do_stuff
    return processing.create_infotext(pc, pc.all_prompts, pc.all_seeds, pc.all_subseeds, position_in_batch=i)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bob/code/repos/stable-diffusion/stable-diffusion-webui/modules/processing.py", line 555, in create_infotext
    uses_ensd = sd_samplers_common.is_sampler_using_eta_noise_seed_delta(p)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/bob/code/repos/stable-diffusion/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'

I am running Ubuntu Linux 23.04 :

Kernel Version: 6.2.0-23-generic (64-bit) 
Graphics Platform: X11 
Processors: 24 Γ— AMD Ryzen 9 5900X 12-Core Processor 
Memory: 62.7 GiB of RAM 
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2 
Manufacturer: Gigabyte Technology Co., Ltd. 
Product Name: X570 AORUS ELITE WIFI 

[Bug]: Extension changes orientation when generate

Please search to see if an issue already exists for the bug you encountered, and that it hasn't been fixed in a recent build/commit.

  • I have searched the existing issues

What happened?

When I try to create a portrait photo, the extension turns it into a landscape, and vice versa. I only make a portrait if I invert the dimensions.

I use AUTOMATIC1111 1.8.0 version. It worked with version 1.7.0.

image

image

Which WebUI

AUTOMATIC1111 (Default)

WebUI version

other

What browsers are you seeing the problem on?

Chrome

What Python version are you running on?

Python 3.10.x

Steps to reproduce the problem

  1. Set dimensions to portrait.
  2. Use the extension.
  3. Hit Generate

List of extensions

No

Relevant log output

No response

[Feature Request]: Ability to use styles

Please search to see if an issue already exists for the feature you want, and that it hasn't been fixed in a recent build/commit.

  • I have searched the existing issues

What would this feature do?

This feature would allow users to select preexisting styles, including negative prompts, in order to avoid copy pasting mass amounts of prompts and manually fixing the negative prompt syntax.

What is the workflow for your feature idea?

It could work similar to how it does for x/y/z plot, where the user is shown a list of styles to select.

Any other information?

No response

Documentation Clarification for Negative Prompts

Great plug and highly useful. But I do not see any information about including Negative prompts. Is this possible to include in the prompt section? If it is not, please advise and maybe update the documentation?

[Feature Request]: Checkpoints only.

Please search to see if an issue already exists for the feature you want, and that it hasn't been fixed in a recent build/commit.

  • I have searched the existing issues

What would this feature do?

Hey, i saw the closed topic about this, but think there would be advantage in this.
#15

Load set of checkpoints, but use same prompts.

What is the workflow for your feature idea?

For instance, i often find prompts from civitai.com, or make my own, but i than might want to test the prompt on a set of Checkpoints, since the checkpoint list can be long (mine is around 80 now (yep i know :D), finding the specific ones, every time can be a bit frustrating, remembering them (yeah I'm a older guy, retired 15 years ago now, so the remember part can be hard), have a function that loads the specific set of Checkpoints, would help a lot.

For instance load specific ones that are geared for 3d Cartoons, hentai, real cartoon, realistic, realistic that can do NSFW and so on.

It would really help a lot

Any other information?

You already have the option with 1 press to insert a prompt under "Prompts/prompt templates for Checkpoints", pressing the yellow icon, having a checker next to it like, 1 prompt if you press that, it than generate the same prompt in every one, it would than be like:

2 people sitting on the beach @index:0;
2 people sitting on the beach @index:1;
2 people sitting on the beach @index:2;
2 people sitting on the beach @index:3;

Instead of when you press the yellow icon now:

{prompt} @index:0;
{prompt} @index:1;
2 people sitting on the beach @index:1;
{prompt} @index:3;
{prompt} @index:4;

index:1 was the loaded Checkpoint, so it could find the prompt.


Or simply, if nothing is in the "Prompts/prompt templates for Checkpoints", it just uses main prompt.

Or it could be a whole new stripped extensions, that does this ONLY.

Hope you will consider it, if not i totally understand it, it would be a lot of work, and you have to consider how many that would use it :)

Anyway thx for your work and time.

[Bug]: Grids is not saved in folders specified under settings in the webui.

Please search to see if an issue already exists for the bug you encountered, and that it hasn't been fixed in a recent build/commit.

  • I have searched the existing issues

What happened?

Hi

Not sure if this is a bug or a missing feature but the generated grids are not saved in the folders specified in Settings - Path for saving - Output directory for grids; if empty, defaults to two directories below (or Output directory for txt2img grids).
The grid still defaults to /Outputs/txt2img-grids/Checkpoint-Prompt-Loop/

(btw, I'm using webui ver 1.7.0 but it's not listed in the dropdown below)

Which WebUI

AUTOMATIC1111 (Default)

WebUI version

1.5.*

What browsers are you seeing the problem on?

Firefox

What Python version are you running on?

Python 3.10.x

Steps to reproduce the problem

Generate a grid in txt2img..

List of extensions

no

Relevant log output

No response

[Bug]: RuntimeError: amount of prompts don't match with amount of checkpoints

Please search to see if an issue already exists for the bug you encountered, and that it hasn't been fixed in a recent build/commit.

  • I have searched the existing issues

What happened?

RuntimeError: amount of prompts don't match with amount of checkpoints

I get this error no matter what I do. The instructions are pretty clear, and I've tried many different ways to set it up:

  • matching prompt number to model: i.e.: model1,model2 prompt1;prompt2
  • ensure last comma or semicolon are left off
  • tried putting prompts in main field
  • ensured plugins like adetailer, unprompted were off so they didn't confuse the script
  • generally used default settings and tried to make it as simple as possible

Which WebUI

AUTOMATIC1111 (Default)

WebUI version

1.3.*

What browsers are you seeing the problem on?

Chrome

What Python version are you running on?

Python 3.10.x

Steps to reproduce the problem

add plugin, select script, add names of 2 checkpoints, add two prompts, hit generate

List of extensions

SD-CN-Animation | https://github.com/volotat/SD-CN-Animation.git | main | 2e257bbf | Tue May 30 16:49:03 2023 | unknown
SD-WebUI-BatchCheckpointPrompt | https://github.com/h43lb1t0/SD-WebUI-BatchCheckpointPrompt | main | 1856c58 | Sat Jul 8 16:29:29 2023 | unknown
SDAtom-WebUi-client-queue-ext | https://github.com/Kryptortio/SDAtom-WebUi-client-queue-ext.git | master | 9cf161b2 | Thu Jun 1 17:41:46 2023 | unknown
Stable-Diffusion-Webui-Civitai-Helper | https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper.git | main | 920ca326 | Tue May 23 11:53:22 2023 | unknown
a1111-sd-webui-lycoris | https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris | main | 025dea96 | Wed Jun 14 13:56:41 2023 | unknown
adetailer | https://github.com/Bing-su/adetailer.git | main | 57106db2 | Tue Jul 4 07:18:12 2023 | unknown
deforum | https://github.com/deforum-art/sd-webui-deforum | automatic1111-webui | 780e8a3b | Sat Jun 3 14:02:11 2023 | unknown
gif2gif | https://github.com/LonicaMewinsky/gif2gif.git | main | 5121851e | Sat May 13 14:56:04 2023 | unknown
sd-dynamic-thresholding | https://github.com/mcmonkeyprojects/sd-dynamic-thresholding | master | c8197531 | Sat Jul 1 04:22:51 2023 | unknown
sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet.git | main | 2785cbe6 | Sun Jul 2 05:20:52 2023 | unknown
sd_civitai_extension | https://github.com/civitai/sd_civitai_extension.git | main | 2dfc03c1 | Sun Jun 18 21:51:08 2023 | unknown
sd_dreambooth_extension | https://github.com/d8ahazard/sd_dreambooth_extension.git | main | dc413a14 | Tue Jun 6 04:21:36 2023 | unknown
stable-diffusion-webui-dataset-tag-editor | https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor.git | main | 7a2f4c53 | Mon Jun 5 10:12:00 2023 | unknown
stable-diffusion-webui-wd14-tagger | https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git | master | 3ba3a735 | Sat Mar 25 20:32:37 2023 | unknown
unprompted | https://github.com/ThereforeGames/unprompted.git | main | f5a0cdf5 | Mon Jul 3 20:59:08 2023 | unknown
LDSR | built-in | None | Β  | Sun Jul 9 16:28:16 2023 | Β 
Lora | built-in | None | Β  | Sun Jul 9 16:28:16 2023 | Β 
ScuNET | built-in | None | Β  | Sun Jul 9 16:28:16 2023 | Β 
SwinIR | built-in | None | Β  | Sun Jul 9 16:28:16 2023 | Β 
prompt-bracket-checker | built-in | None | Β  | Sun Jul 9 16:28:16 2023


SD-CN-Animation https://github.com/volotat/SD-CN-Animation.git main 2e257bbf Tue May 30 16:49:03 2023 unknown
SD-WebUI-BatchCheckpointPrompt https://github.com/h43lb1t0/SD-WebUI-BatchCheckpointPrompt main 1856c58b Sat Jul 8 16:29:29 2023 unknown
SDAtom-WebUi-client-queue-ext https://github.com/Kryptortio/SDAtom-WebUi-client-queue-ext.git master 9cf161b2 Thu Jun 1 17:41:46 2023 unknown
Stable-Diffusion-Webui-Civitai-Helper https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper.git main 920ca326 Tue May 23 11:53:22 2023 unknown
a1111-sd-webui-lycoris https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris main 025dea96 Wed Jun 14 13:56:41 2023 unknown
adetailer https://github.com/Bing-su/adetailer.git main 57106db2 Tue Jul 4 07:18:12 2023 unknown
deforum https://github.com/deforum-art/sd-webui-deforum automatic1111-webui 780e8a3b Sat Jun 3 14:02:11 2023 unknown
gif2gif https://github.com/LonicaMewinsky/gif2gif.git main 5121851e Sat May 13 14:56:04 2023 unknown
sd-dynamic-thresholding https://github.com/mcmonkeyprojects/sd-dynamic-thresholding master c8197531 Sat Jul 1 04:22:51 2023 unknown
sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet.git main 2785cbe6 Sun Jul 2 05:20:52 2023 unknown
sd_civitai_extension https://github.com/civitai/sd_civitai_extension.git main 2dfc03c1 Sun Jun 18 21:51:08 2023 unknown
sd_dreambooth_extension https://github.com/d8ahazard/sd_dreambooth_extension.git main dc413a14 Tue Jun 6 04:21:36 2023 unknown
stable-diffusion-webui-dataset-tag-editor https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor.git main 7a2f4c53 Mon Jun 5 10:12:00 2023 unknown
stable-diffusion-webui-wd14-tagger https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git master 3ba3a735 Sat Mar 25 20:32:37 2023 unknown
unprompted https://github.com/ThereforeGames/unprompted.git main f5a0cdf5 Mon Jul 3 20:59:08 2023 unknown
LDSR built-in None Sun Jul 9 16:28:16 2023
Lora built-in None Sun Jul 9 16:28:16 2023
ScuNET built-in None Sun Jul 9 16:28:16 2023
SwinIR built-in None Sun Jul 9 16:28:16 2023
prompt-bracket-checker built-in None Sun Jul 9 16:28:16 2023

Relevant log output

No response

just a question because i have a potato

does it generate them both at the same time like make 2 images at once

or does it generate one, then wait until its done to generate the other one?

i have a potato pc with stable diffusion on

Error reading checkpoint file names with square brackets []

I noticed that if I have a checkpoint that has square brackets β€˜[]’ in it, the batch processing script will throw an error. Is it possible to fix this? For example:

This name throws an error message,

hyper_beasts_1.2k_xl-lr1e-6-10ks-[hyperbeasts]-fp16-v3.ckpt

but this other name works:

hyper_beasts_1.2k_xl-lr1e-6-10ks-fp16-v3.ckpt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.