vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.51k stars 402 forks source link

[Extension]: Adetailer printing some metadata as blank/spaces #3202

Closed MysticDaedra closed 3 months ago

MysticDaedra commented 3 months ago

Issue Description

This has been an issue with adetailer and SDnext for months, but I never actually bothered to report it until now. I can't recall if I had this issue in Forge or not, but I seem to recall not? Anyhow, don't have Forge installed anymore since it's 4 months old...

The specific issue is that the metadata added to generated images by adetailer is missing some words from the prompts, especially but not limited to lora insert codes. This makes is tedious and annoying/time consuming to transfer prompt data from gallery/image browser to txt2img/img2img/control tabs.

Here's an image of the problem: image Here's my log: https://pastebin.com/bMUnup2b

As a note, this problem has persisted since at least early this year, perhaps late last year. Can't remember. Could be still an adetailer bug, but I'm tired enough of dealing with it to report it here and there as well. Bug has persisted with either no other extensions installed, or additional extensions, so I have no reason to believe it is an extension conflict.

Version Platform Description

14:04:44-793099 INFO Starting SD.Next 14:04:44-796106 INFO Logger: file="D:\automatic\sdnext.log" level=DEBUG size=65 mode=create 14:04:44-798104 INFO Python 3.11.8 on Windows 14:04:44-954771 INFO Version: app=sd.next updated=2024-06-05 hash=900264a1 branch=dev url=https://github.com/vladmandic/automatic/tree/dev 14:04:45-549741 INFO Updating main repository 14:04:46-589265 INFO Upgraded to version: 900264a1 Wed Jun 5 10:38:03 2024 +0900 14:04:46-595875 INFO Platform: arch=AMD64 cpu=AMD64 Family 25 Model 33 Stepping 2, AuthenticAMD system=Windows release=Windows-10-10.0.22631-SP0 python=3.11.8 14:04:46-599876 DEBUG Torch allocator: "garbage_collection_threshold:0.20,max_split_size_mb:512,backend:cudaMallocAsync" 14:04:46-600877 DEBUG Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False 14:04:46-601876 DEBUG Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True 14:04:47-848197 INFO Torch 2.2.1+cu121 14:04:47-862247 INFO Torch backend: nVidia CUDA 12.1 cuDNN 8801 14:04:47-864761 INFO Torch detected GPU: NVIDIA GeForce RTX 3070 VRAM 8192 Arch (8, 6) Cores 46 14:04:55-253939 DEBUG Extensions all: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg'] 14:05:01-516875 DEBUG Extensions all: ['adetailer', 'canvas-zoom', 'sd-webui-infinite-image-browsing', 'sd-webui-temporal', 'ultimate-upscale-for-automatic1111']

URL link of the extension

https://github.com/Bing-su/adetailer/

URL link of the issue reported in the extension repository

https://github.com/Bing-su/adetailer/issues/633

Acknowledgements

MysticDaedra commented 3 months ago

So I just checked one of my generated images with this problem, and the metadata is definitely in the image. Which means... idk, it's SD.Next not parsing/reading the metadata correctly or something? Here's one of the images in question: 09533-talesOfDigitalDesireSFW_v121-highly detailed high quality photography highly realistic photorealistic

ChiaYen-Kan commented 3 months ago

Hi in my test is not all prompt can't be parser if don't have weight prompt is can be parser if has weight prompt will be come blank ad-prompt

Updated: @MysticDaedra see this MysticDaedra-image

MysticDaedra commented 3 months ago

Ok, wow yeah I hadn't made that connection, thanks for that! So then, probably definitely an SD.Next issue, not an adetailer issue? I wonder though, that this doesn't crop up with regular prompts, only adetailer prompts...

ChiaYen-Kan commented 3 months ago

Hi i think if an extension store information with ":" mark, SD.Next will can't decode information in correct information is not lost just can't read in SD.Next, must use other tool to parser it

i use DirectML(with AMD APU) so i can't confirm this issue is from original automatic1111 or just in SD.Next

vladmandic commented 3 months ago

i just pushed an update on dev branch, this should now be resolved. also note the cli utility that can be used to verify metadata parsing for any image.

example output for image uploaded in this issue:

python cli/image-exif.py ~/downloads/test.png image: /home/vlado/downloads/test.png format: <PIL.PngImagePlugin.PngImageFile image mode=RGB size=1152x1728 at 0x7F54574CE950>

{
'parameters': 'highly detailed high quality photography, (highly realistic photorealistic full body photograph:1.4) of young cla1re, wearing a fitted white tank top, skinny jeans, standing on a body modification machine platform, clinical lighting, (sharp focus) <lora:cla1re3 (20):1.0>\nNegative prompt: anime, cgi, render\nSteps: 10, Seed: 1003952981, Sampler: DPM++ 3M, CFG scale: 4, Size: 768x1152, Parser:
Full parser, Model: talesOfDigitalDesireSFW_v121, Model hash: f758af2038, Backend: Diffusers, App: SD.Next, Version: 900264a, Operations: upscale; hires; txt2img, Second pass: True, Hires force: True, Hires steps: 25, Hires upscaler: ESRGAN 4x Valar, Hires upscale: 1.5, Hires resize: 0x0, Hires size: 1152x1728, Denoising strength: 0.5, Hires sampler: DPM++ 3M, Image CFG scale: 4, CFG rescale: 0.7, PAG scale: 4,
PAG adaptive: 0.6, Hypertile UNet: 384, ADetailer model: person_yolov8m-seg.pt, ADetailer prompt: "photorealistic, highly detailed full body photograph of young cla1re, wearing a fitted white tank top and skinny jeans, (extremely narrow waist:1.6), perky pushed-up breasts, (inflated ass:1.3), (round hips), (large c-cup c cup breasts:1.3), fFaceDetail-SDXL EyeDetail-SDXL HairDetail-SDXL
SkinDetail-SDXL<lora:cla1re3 (20):1.0> <lora:Microwaist_XL_v01:1.0>", ADetailer negative prompt: "anime, cgi, render", ADetailer confidence: 0.6, ADetailer mask only top k largest: 1, ADetailer dilate erode: 4, ADetailer mask blur: 4, ADetailer denoising strength: 0.7, ADetailer inpaint only masked: True, ADetailer inpaint padding: 32, ADetailer model 2nd: face_yolov8m.pt, ADetailer prompt 2nd: "young cla1re,
fFaceDetail-SDXL EyeDetail-SDXL, <lora:cla1re3 (20):1.0> ", ADetailer negative prompt 2nd: "anime, render, cgi, (mature:1.6)", ADetailer confidence 2nd: 0.75, ADetailer mask only top k largest 2nd: 1, ADetailer dilate erode 2nd: 4, ADetailer mask blur 2nd: 4, ADetailer denoising strength 2nd: 0.4, ADetailer inpaint only masked 2nd: True, ADetailer inpaint padding 2nd: 32, ADetailer model 3rd: Eyeful_v1.pt,
ADetailer prompt 3rd: "young purple glossy (glass doll) eyes, EyeDetail-SDXL", ADetailer negative prompt 3rd: "anime, render, cgi, (mature:1.6)", ADetailer confidence 3rd: 0.5, ADetailer mask only top k largest 3rd: 2, ADetailer dilate erode 3rd: 4, ADetailer mask merge invert 3rd: Merge, ADetailer mask blur 3rd: 4, ADetailer denoising strength 3rd: 0.45, ADetailer inpaint only masked 3rd: True, ADetailer inpaint
padding 3rd: 32, ADetailer version: 24.5.1, Lora hashes: "cla1re3 (20): be178959", Sampler options: dpmsolver++/order 2/low order, Pipeline: StableDiffusionXLPAGPipeline'
}
{
'Steps': 10,
'Seed': 1003952981,
'Sampler': 'DPM++ 3M',
'CFG scale': 4,
'Size': '768x1152',
'Parser': 'Full parser',
'Model': 'talesOfDigitalDesireSFW_v121',
'Model hash': 'f758af2038',
'Backend': 'Diffusers',
'App': 'SD.Next',
'Version': '900264a',
'Operations': 'upscale; hires; txt2img',
'Second pass': True,
'Hires force': True,
'Hires steps': 25,
'Hires upscaler': 'ESRGAN 4x Valar',
'Hires upscale': 1.5,
'Hires resize': '0x0',
'Hires size': '1152x1728',
'Denoising strength': 0.5,
'Hires sampler': 'DPM++ 3M',
'Image CFG scale': 4,
'CFG rescale': 0.7,
'PAG scale': 4,
'PAG adaptive': 0.6,
'Hypertile UNet': 384,
'ADetailer model': 'person_yolov8m-seg.pt',
'ADetailer prompt': 'photorealistic, highly detailed full body photograph of young cla1re, wearing a fitted white tank top and skinny jeans, (extremely narrow waist:1.6), perky pushed-up breasts, (inflated ass:1.3), (round hips), (large c-cup c cup breasts:1.3), fFaceDetail-SDXL EyeDetail-SDXL HairDetail-SDXL SkinDetail-SDXL<lora:cla1re3 (20):1.0> <lora:Microwaist_XL_v01:1.0>',
'ADetailer negative prompt': 'anime, cgi, render',
'ADetailer confidence': 0.6,
'ADetailer mask only top k largest': 1,
'ADetailer dilate erode': 4,
'ADetailer mask blur': 4,
'ADetailer denoising strength': 0.7,
'ADetailer inpaint only masked': True,
'ADetailer inpaint padding': 32,
'ADetailer model 2nd': 'face_yolov8m.pt',
'ADetailer prompt 2nd': 'young cla1re, fFaceDetail-SDXL EyeDetail-SDXL, <lora:cla1re3 (20):1.0>',
'ADetailer negative prompt 2nd': 'anime, render, cgi, (mature:1.6)',
'ADetailer confidence 2nd': 0.75,
'ADetailer mask only top k largest 2nd': 1,
'ADetailer dilate erode 2nd': 4,
'ADetailer mask blur 2nd': 4,
'ADetailer denoising strength 2nd': 0.4,
'ADetailer inpaint only masked 2nd': True,
'ADetailer inpaint padding 2nd': 32,
'ADetailer model 3rd': 'Eyeful_v1.pt',
'ADetailer prompt 3rd': 'young purple glossy (glass doll) eyes, EyeDetail-SDXL',
'ADetailer negative prompt 3rd': 'anime, render, cgi, (mature:1.6)',
'ADetailer confidence 3rd': 0.5,
'ADetailer mask only top k largest 3rd': 2,
'ADetailer dilate erode 3rd': 4,
'ADetailer mask merge invert 3rd': 'Merge',
'ADetailer mask blur 3rd': 4,
'ADetailer denoising strength 3rd': 0.45,
'ADetailer inpaint only masked 3rd': True,
'ADetailer inpaint padding 3rd': 32,
'ADetailer version': '24.5.1',
'Lora hashes': 'cla1re3 (20): be178959',
'Sampler options': 'dpmsolver++/order 2/low order',
'Pipeline': 'StableDiffusionXLPAGPipeline',
'Prompt': 'highly detailed high quality photography, (highly realistic photorealistic full body photograph:1.4) of young cla1re, wearing a fitted white tank top, skinny jeans, standing on a body modification machine platform, clinical lighting, (sharp focus) <lora:cla1re3 (20):1.0>',
'Negative prompt': 'anime, cgi, render',
'Size-1': 768,
'Size-2': 1152,
'Hires resize-1': 0,
'Hires resize-2': 0,
'Hires size-1': 1152,
'Hires size-2': 1728
}
MysticDaedra commented 3 months ago
Using VENV: D:\automatic\venv
14:01:46-811116 INFO     Starting SD.Next
14:01:46-823633 INFO     Logger: file="D:\automatic\sdnext.log" level=DEBUG size=65 mode=create
14:01:46-825144 INFO     Python 3.11.8 on Windows
14:01:47-515564 INFO     Version: app=sd.next updated=2024-06-05 hash=900264a1 branch=dev
                         url=https://github.com/vladmandic/automatic/tree/dev
14:01:48-512908 INFO     Updating main repository
14:01:52-957635 INFO     Upgraded to version: c8d6f032 Thu Jun 6 14:26:50 2024 -0400
14:01:52-963635 INFO     Platform: arch=AMD64 cpu=AMD64 Family 25 Model 33 Stepping 2, AuthenticAMD system=Windows
                         release=Windows-10-10.0.22631-SP0 python=3.11.8
14:01:52-965851 DEBUG    Setting environment tuning
14:01:52-966847 DEBUG    HF cache folder: C:\Users\Joshua\.cache\huggingface\hub
14:01:52-967848 DEBUG    Torch allocator:
                         "garbage_collection_threshold:0.20,max_split_size_mb:512,backend:cudaMallocAsync"
14:01:52-968847 DEBUG    Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False
14:01:52-969847 DEBUG    Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True
14:02:00-791293 INFO     Torch 2.2.1+cu121
14:02:00-831415 INFO     Torch backend: nVidia CUDA 12.1 cuDNN 8801
14:02:00-836433 INFO     Torch detected GPU: NVIDIA GeForce RTX 3070 VRAM 8192 Arch (8, 6) Cores 46
14:02:00-989791 INFO     Startup: standard
14:02:00-990790 INFO     Verifying requirements
14:02:00-992792 WARNING  Package version mismatch: diffusers 0.28.0 required 0.28.1
14:02:00-993789 INFO     Installing package: diffusers==0.28.1
14:02:00-994878 DEBUG    Running pip: install --upgrade  diffusers==0.28.1
14:02:10-767130 INFO     Verifying packages
14:02:10-768131 INFO     Verifying submodules
14:02:13-919434 DEBUG    Submodule: extensions-builtin/sd-extension-chainner / main
14:02:14-608504 DEBUG    Submodule: extensions-builtin/sd-extension-system-info / main
14:02:15-357676 DEBUG    Submodule: extensions-builtin/sd-webui-agent-scheduler / main
14:02:16-072569 DEBUG    Submodule: extensions-builtin/sdnext-modernui / main
14:02:16-790788 DEBUG    Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
14:02:17-530774 DEBUG    Submodule: modules/k-diffusion / master
14:02:18-210753 DEBUG    Submodule: wiki / master
14:02:19-120654 DEBUG    Register paths
14:02:19-192121 DEBUG    Installed packages: 253
14:02:19-193624 DEBUG    Extensions all: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-images-browser',
                         'stable-diffusion-webui-rembg']
14:02:19-941647 DEBUG    Submodule: extensions-builtin\sd-extension-chainner / main
14:02:20-893403 DEBUG    Submodule: extensions-builtin\sd-extension-system-info / main
14:02:21-637186 DEBUG    Submodule: extensions-builtin\sd-webui-agent-scheduler / main
14:02:22-286093 DEBUG    Running extension installer:
                         D:\automatic\extensions-builtin\sd-webui-agent-scheduler\install.py
14:02:22-661879 DEBUG    Submodule: extensions-builtin\sdnext-modernui / main
14:02:23-375886 DEBUG    Submodule: extensions-builtin\stable-diffusion-webui-images-browser / main
14:02:24-039993 DEBUG    Running extension installer:
                         D:\automatic\extensions-builtin\stable-diffusion-webui-images-browser\install.py
14:02:24-406824 DEBUG    Submodule: extensions-builtin\stable-diffusion-webui-rembg / master
14:02:25-057829 DEBUG    Running extension installer:
                         D:\automatic\extensions-builtin\stable-diffusion-webui-rembg\install.py
14:02:25-389303 DEBUG    Extensions all: ['adetailer', 'canvas-zoom', 'sd-webui-infinite-image-browsing',
                         'sd-webui-temporal', 'ultimate-upscale-for-automatic1111']
14:02:25-433597 DEBUG    Submodule: extensions\adetailer / main
14:02:26-126817 DEBUG    Running extension installer: D:\automatic\extensions\adetailer\install.py
14:02:26-531210 DEBUG    Submodule: extensions\canvas-zoom / main
14:02:27-156977 DEBUG    Running extension installer: D:\automatic\extensions\canvas-zoom\install.py
14:02:37-475649 DEBUG    Submodule: extensions\sd-webui-infinite-image-browsing / main
14:02:38-259191 DEBUG    Running extension installer:
                         D:\automatic\extensions\sd-webui-infinite-image-browsing\install.py
14:02:43-355123 DEBUG    Submodule: extensions\sd-webui-temporal / master
14:02:44-129501 DEBUG    Submodule: extensions\ultimate-upscale-for-automatic1111 / master
14:02:44-850112 INFO     Extensions enabled: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-images-browser',
                         'stable-diffusion-webui-rembg', 'adetailer', 'canvas-zoom', 'sd-webui-infinite-image-browsing',
                         'sd-webui-temporal', 'ultimate-upscale-for-automatic1111']
14:02:44-852112 INFO     Verifying requirements
14:02:44-853111 INFO     Updating Wiki
14:02:44-889349 DEBUG    Submodule: D:\automatic\wiki / master
14:02:45-577492 DEBUG    Setup complete without errors: 1717707766
14:02:45-585565 DEBUG    Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}
14:02:45-586575 DEBUG    Starting module: <module 'webui' from 'D:\\automatic\\webui.py'>
14:02:45-587574 INFO     Command line args: ['--debug', '--upgrade', '--share'] share=True upgrade=True debug=True
14:02:45-588576 DEBUG    Env flags: ['SD_MASK_DEBUG=true']
14:02:55-053166 INFO     Load packages: {'torch': '2.2.1+cu121', 'diffusers': '0.28.1', 'gradio': '3.43.2'}
14:02:56-474117 INFO     VRAM: Detected=8.0 GB Optimization=medvram
14:02:56-476122 DEBUG    Read: file="config.json" json=72 bytes=4589 time=0.000
14:02:56-478122 DEBUG    Unknown settings: ['cross_attention_options', 'ad_max_models', 'civitai_link_key',
                         'multiple_tqdm', 'ad_same_seed_for_each_tap', 'mudd_states', 'civitai_folder_lyco',
                         'diffusers_aesthetics_score', 'image_browser_active_tabs', 'ad_extra_models_dir',
                         'canvas_zoom_mask_clear', 'canvas_zoom_draw_staight_lines', 'ad_script_names']
14:02:56-479122 INFO     Engine: backend=Backend.DIFFUSERS compute=cuda device=cuda attention="Dynamic Attention SDP"
                         mode=no_grad
14:02:56-552164 INFO     Device: device=NVIDIA GeForce RTX 3070 n=1 arch=sm_90 cap=(8, 6) cuda=12.1 cudnn=8801
                         driver=552.22
14:02:56-561409 DEBUG    Read: file="html\reference.json" json=40 bytes=23282 time=0.007
14:02:57-377207 TRACE    Trace: MASK
14:02:58-095618 DEBUG    ONNX: version=1.17.1 provider=CUDAExecutionProvider, available=['TensorrtExecutionProvider',
                         'CUDAExecutionProvider', 'CPUExecutionProvider']
14:02:58-281914 DEBUG    Importing LDM
14:02:58-317959 DEBUG    Entering start sequence
14:02:58-320961 DEBUG    Initializing
14:02:58-367461 INFO     Available VAEs: path="D:\Stable Diffusion Files\Models\VAE" items=2
14:02:58-368458 DEBUG    Available UNets: path="D:\Stable Diffusion Files\Models\UNET" items=0
14:02:58-370459 INFO     Disabled extensions: ['sd-webui-controlnet', 'sdnext-modernui']
14:02:58-386028 DEBUG    Read: file="cache.json" json=2 bytes=145811 time=0.012
14:02:58-399134 DEBUG    Read: file="metadata.json" json=644 bytes=1409344 time=0.011
14:02:58-424289 DEBUG    Scanning diffusers cache: folder=D:\Stable Diffusion Files\Models\Diffusers items=2 time=0.00
14:02:58-426289 INFO     Available models: path="D:\Stable Diffusion Files\Models\Checkpoints" items=37 time=0.05
14:02:59-339009 DEBUG    Load extensions
14:02:59-459908 INFO     Extension: script='extensions-builtin\Lora\scripts\lora_script.py'
                         [2;36m14:02:59-454908[0m[2;36m [0m[34mINFO    [0m LoRA networks: [33mavailable[0m=[1;36m68[0m
                         [33mfolders[0m=[1;36m2[0m
14:03:00-367296 INFO     Extension: script='extensions-builtin\sd-webui-agent-scheduler\scripts\task_scheduler.py' Using
                         sqlite file: extensions-builtin\sd-webui-agent-scheduler\task_scheduler.sqlite3
14:03:01-918380 INFO     Extension: script='extensions\adetailer\scripts\!adetailer.py' [-] ADetailer initialized.
                         version: 24.5.1, num models: 20
14:03:02-021260 DEBUG    Extensions init time: 2.68 Lora=0.05 sd-extension-chainner=0.07 sd-webui-agent-scheduler=0.84
                         stable-diffusion-webui-images-browser=0.92 adetailer=0.63 sd-webui-infinite-image-browsing=0.06
14:03:02-050801 DEBUG    Read: file="html/upscalers.json" json=4 bytes=2672 time=0.006
14:03:02-058958 DEBUG    Read: file="extensions-builtin\sd-extension-chainner\models.json" json=24 bytes=2719 time=0.006
14:03:02-062956 DEBUG    chaiNNer models: path="D:\Stable Diffusion Files\Models\chaiNNer" defined=24 discovered=5
                         downloaded=13
14:03:02-066266 DEBUG    Upscaler type=ESRGAN folder="D:\Stable Diffusion Files\Models\ESRGAN"
                         model="4x_foolhardy_Remacri" path="D:\Stable Diffusion
                         Files\Models\ESRGAN\4x_foolhardy_Remacri.pth"
14:03:02-067774 DEBUG    Upscaler type=ESRGAN folder="D:\Stable Diffusion Files\Models\ESRGAN" model="4x_NMKD-Siax_200k"
                         path="D:\Stable Diffusion Files\Models\ESRGAN\4x_NMKD-Siax_200k.pth"
14:03:02-070782 DEBUG    Upscaler type=SwinIR folder="D:\Stable Diffusion Files\Models\SwinIR" model="SwinIR_4x"
                         path="D:\Stable Diffusion Files\Models\SwinIR\SwinIR_4x.pth"
14:03:02-073281 DEBUG    Load upscalers: total=60 downloaded=26 user=8 time=0.05 ['None', 'Lanczos', 'Nearest',
                         'ChaiNNer', 'ESRGAN', 'LDSR', 'RealESRGAN', 'SCUNet', 'SD', 'SwinIR']
14:03:02-648380 DEBUG    Load styles: folder="D:\Stable Diffusion Files\Models\Styles" items=297 time=0.57
14:03:02-653889 DEBUG    Creating UI
14:03:02-655893 DEBUG    UI themes available: type=Standard themes=12
14:03:02-656893 INFO     UI theme: type=Standard name="invoked"
14:03:02-665402 DEBUG    UI theme: css="D:\automatic\javascript\invoked.css" base="sdnext.css" user="None"
14:03:02-668431 DEBUG    UI initialize: txt2img
14:03:02-773009 DEBUG    Extra networks: page='model' items=76 subfolders=4 tab=txt2img folders=['D:\\Stable Diffusion
                         Files\\Models\\Checkpoints', 'D:\\Stable Diffusion Files\\Models\\Diffusers',
                         'models\\Reference'] list=0.05 thumb=0.01 desc=0.01 info=0.06 workers=4 sort=Default
14:03:02-782015 DEBUG    Extra networks: page='lora' items=68 subfolders=1 tab=txt2img folders=['D:\\Stable Diffusion
                         Files\\Models\\Loras', 'D:\\Stable Diffusion Files\\Models\\LyCORIS'] list=0.09 thumb=0.01
                         desc=0.02 info=0.25 workers=4 sort=Default
14:03:02-808568 DEBUG    Extra networks: page='style' items=297 subfolders=1 tab=txt2img folders=['D:\\Stable Diffusion
                         Files\\Models\\Styles', 'html'] list=0.03 thumb=0.00 desc=0.00 info=0.00 workers=4 sort=Default
14:03:02-811570 DEBUG    Extra networks: page='embedding' items=17 subfolders=0 tab=txt2img folders=['D:\\Stable
                         Diffusion Files\\Models\\Embeddings'] list=0.08 thumb=0.00 desc=0.00 info=0.06 workers=4
                         sort=Default
14:03:02-816085 DEBUG    Extra networks: page='vae' items=2 subfolders=0 tab=txt2img folders=['D:\\Stable Diffusion
                         Files\\Models\\VAE'] list=0.01 thumb=0.01 desc=0.00 info=0.00 workers=4 sort=Default
14:03:02-971553 DEBUG    UI initialize: img2img
14:03:03-241388 DEBUG    UI initialize: control models=D:\Stable Diffusion Files\Models\Control
14:03:03-621778 DEBUG    Read: file="ui-config.json" json=129 bytes=8462 time=0.005
14:03:03-927686 DEBUG    UI themes available: type=Standard themes=12
14:03:09-920167 DEBUG    Extension list: processed=353 installed=13 enabled=11 disabled=2 visible=353 hidden=0
14:03:10-397769 DEBUG    Root paths: ['D:\\automatic']
14:03:12-524115 INFO     Local URL: http://127.0.0.1:7860/
14:03:12-525115 INFO     Share URL: https://7497903cc5af784f78.gradio.live
14:03:12-526116 DEBUG    Gradio functions: registered=3888
14:03:12-529116 DEBUG    FastAPI middleware: ['Middleware', 'Middleware']
14:03:12-532623 DEBUG    Creating API
14:03:13-046881 INFO     [AgentScheduler] Task queue is empty
14:03:13-048884 INFO     [AgentScheduler] Registering APIs
IIB Database file has been successfully backed up to the backup folder.
14:03:13-657264 DEBUG    Scripts setup: ['IP Adapters:0.018', 'AnimateDiff:0.009', 'ADetailer:0.251', 'X/Y/Z Grid:0.01',
                         'Face:0.01', 'Image-to-Video:0.007', 'Temporal:0.131', 'Ultimate SD upscale:0.006']
14:03:13-690813 DEBUG    Save: file="metadata.json" json=650 bytes=1383760 time=0.031
14:03:13-692813 INFO     Model metadata saved: file="metadata.json" items=6 time=0.09
14:03:13-694324 DEBUG    Model requested: fn=<lambda>
14:03:13-695328 INFO     Select: model="tzigorealmixxl_v06CVAE [5fb008fc97]"
14:03:13-697331 DEBUG    Load model: existing=False target=D:\Stable Diffusion
                         Files\Models\Checkpoints\tzigorealmixxl_v06CVAE.safetensors info=None
14:03:13-934019 DEBUG    Desired Torch parameters: dtype=FP16 no-half=False no-half-vae=False upscast=False
14:03:13-935018 INFO     Setting Torch parameters: device=cuda dtype=torch.float16 vae=torch.float16 unet=torch.float16
                         context=inference_mode fp16=True bf16=None optimization=Dynamic Attention SDP
14:03:13-936018 DEBUG    Diffusers loading: path="D:\Stable Diffusion
                         Files\Models\Checkpoints\tzigorealmixxl_v06CVAE.safetensors"
14:03:13-937018 INFO     Autodetect: model="Stable Diffusion XL" class=StableDiffusionXLPipeline file="D:\Stable
                         Diffusion Files\Models\Checkpoints\tzigorealmixxl_v06CVAE.safetensors" size=6617MB
Loading pipeline components... 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7/7  [ 0:00:01 < 0:00:00 , 4 C/s ]

14:03:16-808818 DEBUG    Setting model: pipeline=StableDiffusionXLPipeline config={'low_cpu_mem_usage': True,
                         'torch_dtype': torch.float16, 'load_connected_pipeline': True, 'variant': 'fp16',
                         'extract_ema': False, 'config': 'configs/sdxl', 'use_safetensors': True, 'cache_dir':
                         'C:\\Users\\Joshua\\.cache\\huggingface\\hub'}
14:03:20-770679 INFO     Load embeddings: loaded=13 skipped=4 time=3.96
14:03:20-771679 DEBUG    Setting model: enable VAE slicing
14:03:20-772679 DEBUG    Setting model: enable VAE tiling
14:03:20-795086 DEBUG    Setting model: enable model CPU offload
14:03:21-137307 DEBUG    GC: collected=2540 device=cuda {'ram': {'used': 2.08, 'total': 31.9}, 'gpu': {'used': 1.1,
                         'total': 8.0}, 'retries': 0, 'oom': 0} time=0.3
14:03:21-145820 INFO     Load model: time=7.14 load=3.12 embeddings=3.96 move=0.07 native=1024 {'ram': {'used': 2.08,
                         'total': 31.9}, 'gpu': {'used': 1.1, 'total': 8.0}, 'retries': 0, 'oom': 0}
14:03:21-149823 DEBUG    Script callback init time: image_browser.py:ui_tabs=4.47 system-info.py:app_started=0.09
                         task_scheduler.py:app_started=0.93
14:03:21-150820 DEBUG    Save: file="config.json" json=72 bytes=4457 time=0.002
14:03:21-151820 INFO     Startup time: 35.55 torch=6.19 gradio=1.41 diffusers=1.86 libraries=3.23 extensions=2.68
                         models=0.06 face-restore=0.91 upscalers=0.05 networks=0.58 ui-en=0.26 ui-txt2img=0.13
                         ui-img2img=0.23 ui-control=0.23 ui-settings=0.45 ui-extensions=5.88 ui-defaults=0.10
                         launch=2.49 api=0.08 app-started=1.05 checkpoint=7.49
14:03:21-155331 DEBUG    Unused settings: ['cross_attention_options', 'civitai_link_key', 'multiple_tqdm',
                         'mudd_states', 'civitai_folder_lyco', 'diffusers_aesthetics_score']
18:20:32-971021 INFO     MOTD: N/A
18:20:50-932988 DEBUG    UI themes available: type=Standard themes=12
18:22:00-483032 DEBUG    Server: alive=True jobs=1 requests=256 uptime=15544 memory=2.09/31.9 backend=Backend.DIFFUSERS
                         state=idle
18:22:31-391393 INFO     Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64;
                         rv:126.0) Gecko/20100101 Firefox/126.0
18:23:59-522034 DEBUG    Server: alive=True jobs=1 requests=279 uptime=15663 memory=2.09/31.9 backend=Backend.DIFFUSERS
                         state=idle
                         state=idle
19:02:17-143274 DEBUG    Paste prompt: type="current" prompt="(full body photograph) of young lolita girl cla1re,
                         wearing a sweetegl (short skirt) with lolita tights and lolita shoes <lora:cla1re3 (20):1.0>
                         <lora:SweetLolitaXLv4_24-117:1.0> <lora:bell_skirt-PD-1.0:1.0>
                         Steps: 10, Seed: 397600098, Sampler: DPM++ 3M, CFG scale: 5, Size: 896x1152, Parser: Full
                         parser, Model: tzigorealmixxl_v06CVAE, Model hash: 5fb008fc97, Backend: Diffusers, App:
                         SD.Next, Version: 900264a, Operations: upscale; hires; txt2img, Second pass: True, Hires force:
                         True, Hires steps: 45, Hires upscaler: ESRGAN 4x Valar, Hires upscale: 2, Hires resize: 0x0,
                         Hires size: 1792x2304, Denoising strength: 0.5, Hires sampler: DPM++ 3M, Image CFG scale: 5,
                         CFG rescale: 0.7, PAG scale: 5, PAG adaptive: 0.6, Hypertile UNet: 448, ADetailer model:
                         person_yolov8m-seg.pt, ADetailer prompt: "young lolita doll cla1re, sweetegl (short skirt),
                         lolita tights, lolita heels, pink lolita glassy glossy glass doll eyes, (thick inflated pink
                         glossy lips:1.2), fFaceDetail-SDXL EyeDetail-SDXL HairDetail-SDXL SkinDetail-SDXL<lora:cla1re3
                         (20):1.0> <lora:SweetLolitaXLv4_24-117:1.0>", ADetailer negative prompt: "anime, cgi, render",
                         ADetailer confidence: 0.6, ADetailer mask only top k largest: 1, ADetailer dilate erode: 4,
                         ADetailer mask blur: 4, ADetailer denoising strength: 0.5, ADetailer inpaint only masked: True,
                         ADetailer inpaint padding: 32, ADetailer model 2nd: face_yolov8m.pt, ADetailer prompt 2nd:
                         "young lolita doll cla1re, (pink glossy lips:1.2), pink glossy glassy glass doll eyes,
                         fFaceDetail-SDXL EyeDetail-SDXL, <lora:cla1re3 (20):1.0> <lora:SweetLolitaXLv4_24-117:1.0>
                         <lora:bell_skirt-PD-1.0:1.0>", ADetailer negative prompt 2nd: "anime, render, cgi,
                         (mature:1.6)", ADetailer confidence 2nd: 0.75, ADetailer mask only top k largest 2nd: 1,
                         ADetailer dilate erode 2nd: 4, ADetailer mask blur 2nd: 4, ADetailer denoising strength 2nd:
                         0.5, ADetailer inpaint only masked 2nd: True, ADetailer inpaint padding 2nd: 32, ADetailer
                         model 3rd: Eyeful_v1.pt, ADetailer prompt 3rd: "pink glossy (glass doll) eyes, EyeDetail-SDXL",
                         ADetailer negative prompt 3rd: "anime, render, cgi", ADetailer confidence 3rd: 0.5, ADetailer
                         mask only top k largest 3rd: 2, ADetailer dilate erode 3rd: 4, ADetailer mask merge invert 3rd:
                         Merge, ADetailer mask blur 3rd: 4, ADetailer denoising strength 3rd: 0.45, ADetailer inpaint
                         only masked 3rd: True, ADetailer inpaint padding 3rd: 32, ADetailer version: 24.5.1, Lora
                         hashes: "cla1re3 (20): be178959, SweetLolitaXLv4_24-117: 96e2cca9, bell_skirt-PD-1.0:
                         2733656b", Sampler options: dpmsolver++/order 2/low order, Pipeline:
                         StableDiffusionXLPAGPipeline"
19:02:24-682150 DEBUG    Gallery: folder="D:\Stable Diffusion Files\Outputs\text" files=63 time=0.004
19:02:33-695605 DEBUG    Paste prompt: type="current" prompt="(full body photograph) of young lolita girl cla1re,
                         wearing a sweetegl (short skirt) with lolita tights and lolita shoes <lora:cla1re3 (20):1.0>
                         <lora:SweetLolitaXLv4_24-117:1.0> <lora:bell_skirt-PD-1.0:1.0>
                         Steps: 10, Seed: 397600098, Sampler: DPM++ 3M, CFG scale: 5, Size: 896x1152, Parser: Full
                         parser, Model: tzigorealmixxl_v06CVAE, Model hash: 5fb008fc97, Backend: Diffusers, App:
                         SD.Next, Version: 900264a, Operations: upscale; hires; txt2img, Second pass: True, Hires force:
                         True, Hires steps: 45, Hires upscaler: ESRGAN 4x Valar, Hires upscale: 2, Hires resize: 0x0,
                         Hires size: 1792x2304, Denoising strength: 0.5, Hires sampler: DPM++ 3M, Image CFG scale: 5,
                         CFG rescale: 0.7, PAG scale: 5, PAG adaptive: 0.6, Hypertile UNet: 448, ADetailer model:
                         person_yolov8m-seg.pt, ADetailer prompt: "young lolita doll cla1re, sweetegl (short skirt),
                         lolita tights, lolita heels, pink lolita glassy glossy glass doll eyes, (thick inflated pink
                         glossy lips:1.2), fFaceDetail-SDXL EyeDetail-SDXL HairDetail-SDXL SkinDetail-SDXL<lora:cla1re3
                         (20):1.0> <lora:SweetLolitaXLv4_24-117:1.0>", ADetailer n