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.68k stars 422 forks source link

[Issue]: Restore button causes error during rendering in second pass #3353

Closed Tillerz closed 2 months ago

Tillerz commented 3 months ago

Issue Description

When I empty the PROMPT field and click the RESTORE button above it and start a render including Second Pass ON, the second pass always fails with an UnboundLocalError.

I can have a working prompt that renders, save it via "Set New Defaults". After reloading it via RESTORE, the Second Pass breaks.

Version Platform Description

WSL2/Win11, MASTER ( a874b27 ) + DEV ( b50a8601 ) branch

Relevant log output

Activate python venv: /home/tillerz/master/venv
Launch: venv/bin/python3
14:11:23-086714 INFO     Starting SD.Next
14:11:23-088400 INFO     Logger: file="/home/tillerz/master/sdnext.log" level=DEBUG size=64 mode=create
14:11:23-088973 INFO     Python version=3.10.12 platform=Linux bin="/home/tillerz/master/venv/bin/python3" venv="/home/tillerz/master/venv"
14:11:23-114299 INFO     Version: app=sd.next updated=2024-07-24 hash=a874b27 branch=master url=https://github.com/vladmandic/automatic.git/tree/master ui=main
14:11:23-455496 INFO     Platform: arch=x86_64 cpu=x86_64 system=Linux release=5.15.153.1-microsoft-standard-WSL2 python=3.10.12
14:11:23-456680 DEBUG    Setting environment tuning
14:11:23-457420 INFO     HF cache folder: /home/tillerz/.cache/huggingface/hub
14:11:23-458169 DEBUG    Torch allocator: "garbage_collection_threshold:0.80,max_split_size_mb:512"
14:11:23-458848 DEBUG    Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False
14:11:23-459662 DEBUG    Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True
14:11:23-461025 INFO     nVidia CUDA toolkit detected: nvidia-smi present
14:11:23-504379 INFO     Verifying requirements
14:11:23-508082 INFO     Verifying packages
14:11:23-508910 INFO     Startup: standard
14:11:23-509586 INFO     Verifying submodules
14:11:23-965674 DEBUG    Submodule: extensions-builtin/sd-extension-chainner / main
14:11:24-337087 DEBUG    Submodule: extensions-builtin/sd-extension-system-info / main
14:11:24-714907 DEBUG    Submodule: extensions-builtin/sd-webui-agent-scheduler / main
14:11:25-138463 DEBUG    Git detached head detected: folder="extensions-builtin/sdnext-modernui" reattach=main
14:11:25-139410 DEBUG    Submodule: extensions-builtin/sdnext-modernui / main
14:11:25-523917 DEBUG    Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
14:11:25-903352 DEBUG    Submodule: modules/k-diffusion / master
14:11:26-322454 DEBUG    Git detached head detected: folder="wiki" reattach=master
14:11:26-323588 DEBUG    Submodule: wiki / master
14:11:26-743246 DEBUG    Register paths
14:11:26-767382 DEBUG    Installed packages: 229
14:11:26-768436 DEBUG    Extensions all: ['sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-extension-chainner', 'sdnext-modernui',
                         'stable-diffusion-webui-rembg', 'Lora']
14:11:26-769459 DEBUG    Submodule: extensions-builtin/sd-extension-system-info / main
14:11:26-792961 DEBUG    Submodule: extensions-builtin/sd-webui-agent-scheduler / main
14:11:26-793805 DEBUG    Running extension installer: /home/tillerz/master/extensions-builtin/sd-webui-agent-scheduler/install.py
14:11:26-898177 DEBUG    Submodule: extensions-builtin/sd-extension-chainner / main
14:11:26-911549 DEBUG    Git detached head detected: folder="extensions-builtin/sdnext-modernui" reattach=main
14:11:26-912093 DEBUG    Submodule: extensions-builtin/sdnext-modernui / main
14:11:26-924909 DEBUG    Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
14:11:26-925416 DEBUG    Running extension installer: /home/tillerz/master/extensions-builtin/stable-diffusion-webui-rembg/install.py
14:11:27-388105 DEBUG    Extensions all: ['stable-diffusion-webui-promptgen', 'adetailer']
14:11:27-397183 DEBUG    Submodule: extensions/stable-diffusion-webui-promptgen / master
14:11:27-833869 DEBUG    Submodule: extensions/adetailer / main
14:11:28-219384 DEBUG    Running extension installer: /home/tillerz/master/extensions/adetailer/install.py
14:11:28-334787 INFO     Extensions enabled: ['sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-extension-chainner', 'sdnext-modernui',
                         'stable-diffusion-webui-rembg', 'Lora', 'stable-diffusion-webui-promptgen', 'adetailer']
14:11:28-335550 INFO     Verifying requirements
14:11:28-335977 INFO     Updating Wiki
14:11:28-341724 DEBUG    Submodule: /home/tillerz/master/wiki / master
14:11:28-742077 DEBUG    Setup complete without errors: 1722514289
14:11:28-744198 DEBUG    Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}
14:11:28-745150 DEBUG    Starting module: <module 'webui' from '/home/tillerz/master/webui.py'>
14:11:28-746017 INFO     Command line args: ['--debug', '--upgrade', '--port', '7870'] port=7870 upgrade=True debug=True
14:11:28-746858 DEBUG    Env flags: []
14:11:30-983804 INFO     Load packages: {'torch': '2.3.0+cu121', 'diffusers': '0.29.1', 'gradio': '3.43.2'}
14:11:31-581645 INFO     VRAM: Detected=23.99 GB Optimization=none
14:11:31-583219 DEBUG    Read: file="config.json" json=84 bytes=3583 time=0.000
14:11:31-583956 DEBUG    Unknown settings: ['queue_paused', 'queue_keyboard_shortcut', 'ad_max_models', 'aesthetic_scorer_enabled',
                         'aesthetic_scorer_clip_model']
14:11:31-584978 INFO     Engine: backend=Backend.DIFFUSERS compute=cuda device=cuda attention="Scaled-Dot-Product" mode=no_grad
14:11:31-612707 INFO     Device: device=NVIDIA GeForce RTX 4090 n=1 arch=sm_90 cap=(8, 9) cuda=12.1 cudnn=8902 driver=560.70
14:11:31-613899 DEBUG    Read: file="html/reference.json" json=45 bytes=25676 time=0.000
14:11:31-717501 DEBUG    ONNX: version=1.18.0 provider=CUDAExecutionProvider, available=['AzureExecutionProvider', 'CPUExecutionProvider']
14:11:31-781555 DEBUG    Importing LDM
14:11:31-785218 DEBUG    Entering start sequence
14:11:31-785836 DEBUG    Initializing
14:11:31-791947 INFO     Available VAEs: path="/home/tillerz/models/VAE" items=3
14:11:31-792498 DEBUG    Available UNets: path="/home/tillerz/models/UNET" items=0
14:11:31-793077 INFO     Disabled extensions: []
14:11:31-793842 DEBUG    Read: file="cache.json" json=2 bytes=11828 time=0.000
14:11:31-795617 DEBUG    Read: file="metadata.json" json=222 bytes=519760 time=0.001
14:11:31-797258 DEBUG    Scanning diffusers cache: folder=/home/tillerz/models/Diffusers items=3 time=0.00
14:11:31-797816 INFO     Available models: path="/home/tillerz/models/Stable-diffusion" items=58 time=0.00
14:11:31-879475 DEBUG    Load extensions
14:11:31-907632 INFO     LoRA networks: available=173 folders=2
14:11:32-212821 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:11:32-531254 INFO     Extension: script='extensions/adetailer/scripts/!adetailer.py' [-] ADetailer initialized. version: 24.6.0, num models: 14
14:11:32-538003 DEBUG    Extensions init time: 0.66 sd-webui-agent-scheduler=0.30 adetailer=0.32
14:11:32-542516 DEBUG    Read: file="html/upscalers.json" json=4 bytes=2640 time=0.000
14:11:32-543265 DEBUG    Read: file="extensions-builtin/sd-extension-chainner/models.json" json=24 bytes=2693 time=0.000
14:11:32-544183 DEBUG    chaiNNer models: path="/home/tillerz/models/chaiNNer" defined=24 discovered=0 downloaded=2
14:11:32-545177 DEBUG    Upscaler type=ESRGAN folder="/home/tillerz/models/ESRGAN" model="8x_NMKD-Superscale_150000_G"
                         path="/home/tillerz/models/ESRGAN/8x_NMKD-Superscale_150000_G.pth"
14:11:32-545987 DEBUG    Upscaler type=SwinIR folder="/home/tillerz/models/SwinIR" model="SwinIR_4x" path="/home/tillerz/models/SwinIR/SwinIR_4x.pth"
14:11:32-546717 DEBUG    Load upscalers: total=55 downloaded=16 user=2 time=0.01 ['None', 'Lanczos', 'Nearest', 'ChaiNNer', 'RealESRGAN', 'SCUNet', 'ESRGAN',
                         'LDSR', 'SwinIR', 'AuraSR', 'SD']
14:11:32-583508 DEBUG    Load styles: folder="/home/tillerz/models/styles" items=356 time=0.04
14:11:32-585064 DEBUG    Creating UI
14:11:32-585848 DEBUG    UI themes available: type=Modern themes=32
14:11:32-586479 INFO     UI theme: type=Modern name="Eoan-Cyan"
14:11:32-588106 DEBUG    UI theme: css="extensions-builtin/sdnext-modernui/themes/Eoan-Cyan.css" base="base.css" user="user.css"
14:11:32-589625 DEBUG    UI initialize: txt2img
14:11:32-785383 DEBUG    Networks: page='lora' items=173 subfolders=6 tab=txt2img folders=['/home/tillerz/models/Lora', '/home/tillerz/models/LyCORIS']
                         list=0.18 thumb=0.00 desc=0.03 info=0.48 workers=4 sort=Name [A-Z]
14:11:32-787961 DEBUG    Networks: page='embedding' items=11 subfolders=0 tab=txt2img folders=['/home/tillerz/models/embeddings'] list=0.10 thumb=0.03 desc=0.00
                         info=0.04 workers=4 sort=Name [A-Z]
14:11:32-812171 DEBUG    Networks: page='style' items=356 subfolders=3 tab=txt2img folders=['/home/tillerz/models/styles', 'html'] list=0.12 thumb=0.11
                         desc=0.00 info=0.00 workers=4 sort=Name [A-Z]
14:11:32-821777 DEBUG    Networks: page='model' items=102 subfolders=4 tab=txt2img folders=['/home/tillerz/models/Stable-diffusion',
                         '/home/tillerz/models/Diffusers', 'models/Reference'] list=0.16 thumb=0.09 desc=0.00 info=0.00 workers=4 sort=Name [A-Z]
14:11:32-909465 DEBUG    UI initialize: img2img
14:11:33-018707 DEBUG    UI initialize: control models=/home/tillerz/models/control
14:11:33-359671 DEBUG    Read: file="ui-config.json" json=78 bytes=4464 time=0.000
14:11:33-448357 DEBUG    UI themes available: type=Modern themes=32
14:11:33-867983 DEBUG    Extension list: processed=360 installed=8 enabled=8 disabled=0 visible=360 hidden=0
14:11:33-953091 DEBUG    Root paths: ['/home/tillerz/master']
14:11:33-996546 INFO     Local URL: http://127.0.0.1:7870/
14:11:33-997280 DEBUG    Gradio functions: registered=2085
14:11:33-997941 DEBUG    FastAPI middleware: ['Middleware', 'Middleware']
14:11:33-999635 DEBUG    Creating API
14:11:34-091504 INFO     [AgentScheduler] Runner is paused
14:11:34-092232 INFO     [AgentScheduler] Registering APIs
14:11:34-397293 DEBUG    Scripts setup: ['IP Adapters:0.021', 'AnimateDiff:0.01', 'ADetailer:0.065', 'X/Y/Z Grid:0.011', 'Face:0.013', 'Image-to-Video:0.006']
14:11:34-398252 DEBUG    Model metadata: file="metadata.json" no changes
14:11:34-398835 DEBUG    Torch mode: deterministic=False
14:11:34-418716 DEBUG    Desired Torch parameters: dtype=FP16 no-half=False no-half-vae=False upscast=False
14:11:34-419810 INFO     Setting Torch parameters: device=cuda dtype=torch.float16 vae=torch.float16 unet=torch.float16 context=no_grad fp16=True bf16=None
                         optimization=Scaled-Dot-Product
14:11:34-420955 DEBUG    Model requested: fn=<lambda>
14:11:34-421793 INFO     Select: model="SD15/zo4-ra-art-if-noo-fcb3 [e5ee81f4ce]"
14:11:34-422976 DEBUG    Load model: existing=False target=/home/tillerz/models/Stable-diffusion/SD15/zo4-ra-art-if-noo-fcb3.safetensors info=None
14:11:34-423905 DEBUG    Diffusers loading: path="/home/tillerz/models/Stable-diffusion/SD15/zo4-ra-art-if-noo-fcb3.safetensors"
14:11:34-424376 ERROR    Error loading diffusers pipeline: model=/home/tillerz/models/Stable-diffusion/SD15/zo4-ra-art-if-noo-fcb3.safetensors 'NoneType' object
                         has no attribute '__name__'
14:11:34-424912 WARNING  Autodetect: pipeline not recognized: SD15/zo4-ra-art-if-noo-fcb3-rcr-rpg [cc948ecdc4]:
                         model=/home/tillerz/models/Stable-diffusion/SD15/zo4-ra-art-if-noo-fcb3.safetensors size=3918
Fetching 11 files: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████| 11/11 [00:00<00:00, 40938.19it/s]
Loading pipeline components... 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6/6  [ 0:00:00 < 0:00:00 , 52 C/s ]

14:11:35-244144 DEBUG    Setting model: pipeline=StableDiffusionPipeline config={'low_cpu_mem_usage': True, 'torch_dtype': torch.float16,
                         'load_connected_pipeline': True, 'extract_ema': False, 'use_safetensors': True, 'cache_dir': '/home/tillerz/.cache/huggingface/hub'}
14:11:35-887375 INFO     Load embeddings: loaded=10 skipped=1 time=0.64
14:11:35-888233 DEBUG    Setting model: enable VAE slicing
14:11:36-542187 DEBUG    GC: utilization={'gpu': 15, 'ram': 3, 'threshold': 80} gc={'collected': 270, 'saved': 0.0} before={'gpu': 3.63, 'ram': 1.17}
                         after={'gpu': 3.63, 'ram': 1.17, 'retries': 0, 'oom': 0} device=cuda fn=load_diffuser time=0.25
14:11:36-545949 INFO     Load model: time=1.87 load=0.82 embeddings=0.64 move=0.40 native=512 {'ram': {'used': 1.17, 'total': 39.18}, 'gpu': {'used': 3.63,
                         'total': 23.99}, 'retries': 0, 'oom': 0}
14:11:36-547633 DEBUG    Script callback init time: task_scheduler.py:app_started=0.31
14:11:36-548498 INFO     Startup time: 7.79 torch=1.66 gradio=0.46 diffusers=0.11 libraries=0.80 extensions=0.66 face-restore=0.08 ui-en=0.31 ui-txt2img=0.07
                         ui-img2img=0.08 ui-control=0.11 ui-models=0.13 ui-settings=0.39 ui-extensions=0.13 launch=0.08 app-started=0.35 checkpoint=2.15
14:11:36-549539 DEBUG    Save: file="config.json" json=84 bytes=3583 time=0.002
14:11:36-551675 DEBUG    Unused settings: ['aesthetic_scorer_enabled', 'aesthetic_scorer_clip_model']
14:11:43-763965 INFO     MOTD: N/A
14:11:45-877317 DEBUG    UI themes available: type=Modern themes=32
14:11:46-086212 INFO     Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
                         Chrome/127.0.0.0 Safari/537.36
14:11:59-585237 DEBUG    Server: alive=True jobs=1 requests=59 uptime=28 memory=1.22/39.18 backend=Backend.DIFFUSERS state=idle
14:12:04-643450 DEBUG    Paste prompt: type="params" prompt="fast car
                         Negative prompt: boring
                         Steps: 10, Seed: 1969013612, Sampler: DPM++ 2M, CFG scale: 3.5, Size: 512x768, Parser: Full parser, Model: zo4-ra-art-if-noo-fcb3,
                         Model hash: e5ee81f4ce, Backend: Diffusers, App: SD.Next, Version: a874b27, Operations: upscale; hires; txt2img, Pipeline:
                         StableDiffusionPipeline, T5: T5 FP16, Second pass: True, Hires force: True, Hires steps: 20, Hires upscaler: ESRGAN 4x Remacri, Hires
                         upscale: 2, Hires size: 1024x1536, Denoising strength: 0.8, Hires sampler: Same as primary, Image CFG scale: 3, CFG rescale: 0.7, Size
                         before: 512x768, Size mode before: 1, Size scale before: 1, Size name before: ESRGAN 4x Remacri, Size after: 512x768, Size mode after:
                         1, Size scale after: 1, Size name after: ESRGAN 4x Remacri, Size mask: 512x768, Size mode mask: 1, Size scale mask: 1, Size name mask:
                         ESRGAN 4x Remacri, ToDo: 0.5, FreeU: b1=1.2 b2=1.4 s1=0.9 s2=0.2, Sampler options: sde-dpmsolver++/order 2/low order"
14:12:08-289135 DEBUG    Control process unit: i=1 process=None
14:12:08-291955 INFO     Applying ToDo: ratio=0.5
14:12:08-292642 INFO     Applying free-u: b1=1.2 b2=1.4 s1=0.9 s2=0.2
14:12:08-304753 INFO     Base: class=StableDiffusionPipeline
14:12:08-306252 DEBUG    Sampler: sampler="DPM++ 2M" config={'num_train_timesteps': 1000, 'beta_start': 0.00085, 'beta_end': 0.012, 'beta_schedule':
                         'scaled_linear', 'prediction_type': 'epsilon', 'thresholding': False, 'sample_max_value': 1.0, 'algorithm_type': 'sde-dpmsolver++',
                         'solver_type': 'midpoint', 'lower_order_final': True, 'use_karras_sigmas': False, 'final_sigmas_type': 'zero', 'timestep_spacing':
                         'linspace', 'solver_order': 2}
14:12:08-307571 DEBUG    Sampler: steps=10 timesteps=[999, 850, 736, 645, 545, 455, 343, 233, 124, 24]
14:12:08-444796 DEBUG    Torch generator: device=cuda seeds=[1969013612]
14:12:08-445638 DEBUG    Diffuser pipeline: StableDiffusionPipeline task=DiffusersTaskType.TEXT_2_IMAGE batch=1/1x1 set={'timesteps': [999, 850, 736, 645, 545,
                         455, 343, 233, 124, 24], 'prompt_embeds': torch.Size([1, 77, 768]), 'negative_prompt_embeds': torch.Size([1, 77, 768]),
                         'guidance_scale': 3.5, 'num_inference_steps': 10, 'eta': 1.0, 'guidance_rescale': 0.7, 'output_type': 'latent', 'width': 512, 'height':
                         768, 'parser': 'Full parser'}
Progress 10.81it/s ███████████████████████████▏        80% 8/10 00:01 00:00 Base14:12:09-599915 DEBUG    VAE load: type=taesd model=/home/tillerz/models/TAESD/taesd_decoder.pth
Progress  8.66it/s █████████████████████████████████ 100% 10/10 00:01 00:00 Base
14:12:09-822428 DEBUG    Control hires: upscaler="ESRGAN 4x Remacri" upscale=2 size=1024x1536
14:12:09-823516 INFO     Upscale: upscaler="ESRGAN 4x Remacri" resize=0x0 upscale=1024x1536
14:12:10-420106 INFO     Upscaler loaded: type=ESRGAN model=/home/tillerz/models/ESRGAN/ESRGAN-Remacri-4x.pth
Upscaling ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 0:00:01
14:12:11-654713 DEBUG    Pipeline class change: original=StableDiffusionPipeline target=StableDiffusionImg2ImgPipeline device=cuda:0 fn=process_diffusers
14:12:11-655730 INFO     HiRes: class=StableDiffusionImg2ImgPipeline sampler="Same as primary"
14:12:11-664845 DEBUG    Sampler: steps=10 timesteps=[999, 850, 736, 645, 545, 455, 343, 233, 124, 24]
14:12:11-665808 DEBUG    Torch generator: device=cuda seeds=[1969013612]
14:12:11-666444 DEBUG    Diffuser pipeline: StableDiffusionImg2ImgPipeline task=DiffusersTaskType.IMAGE_2_IMAGE batch=1/1x1 set={'timesteps': [999, 850, 736,
                         645, 545, 455, 343, 233, 124, 24], 'prompt_embeds': torch.Size([1, 77, 768]), 'negative_prompt_embeds': torch.Size([1, 77, 768]),
                         'guidance_scale': 3, 'num_inference_steps': 67, 'eta': 1.0, 'output_type': 'latent', 'image': [<PIL.Image.Image image mode=RGB
                         size=1024x1536 at 0x7FE46A1548E0>], 'strength': 0.3, 'parser': 'Full parser'}
Progress  2.64it/s ██████████████████████████████████ 100% 3/3 00:01 00:00 Hires
14:12:15-606268 INFO     Processed: images=1 time=7.31 its=1.37 memory={'ram': {'used': 2.3, 'total': 39.18}, 'gpu': {'used': 4.52, 'total': 23.99}, 'retries':
                         0, 'oom': 0}
14:12:15-616786 ERROR    Control pipeline failed: type=controlnet units=0 error=local variable 'res' referenced before assignment
14:12:15-617965 ERROR    Control: UnboundLocalError
╭───────────────────────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────────────────────────╮
│ /home/tillerz/master/modules/control/run.py:649 in control_run                                                                                               │
│                                                                                                                                                              │
│   648 │   │   │   │   │   │   │   │   debug(f'Control resize: op=after image={output_image} width={width_after} height={height_after} mode={resize_mode_afte │
│ ❱ 649 │   │   │   │   │   │   │   │   output_image = images.resize_image(resize_mode_after, output_image, width_after, height_after, resize_name_after)      │
│   650                                                                                                                                                        │
│                                                                                                                                                              │
│ /home/tillerz/master/modules/images.py:305 in resize_image                                                                                                   │
│                                                                                                                                                              │
│   304 │   │   return np.array(res)                                                                                                                           │
│ ❱ 305 │   return res                                                                                                                                         │
│   306                                                                                                                                                        │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
UnboundLocalError: local variable 'res' referenced before assignment

Backend

Diffusers

UI

ModernUI

Branch

Master

Model

StableDiffusion 1.5

Acknowledgements

vladmandic commented 2 months ago

i cannot reproduce this. issue seems to be that resize_mode_after is somehow set to invalid value. i've added extra check in dev branch to capture this.

can you try to reproduce with environment variable SD_CONTROL_DEBUG=true?

Tillerz commented 2 months ago

Ok, reproduced. It's still doing that.

Result is first rendered horizontally, and then resized to vertical: image

PART ONE

2024-08-28 16:40:11,824 | sd | INFO | launch | Starting SD.Next
2024-08-28 16:40:11,825 | sd | INFO | installer | Logger: file="/home/tillerz/dev/sdnext.log" level=DEBUG size=64 mode=create
2024-08-28 16:40:11,826 | sd | INFO | installer | Python version=3.10.12 platform=Linux bin="/home/tillerz/dev/venv/bin/python3" venv="/home/tillerz/dev/venv"
2024-08-28 16:40:11,837 | sd | INFO | installer | Version: app=sd.next updated=2024-08-28 hash=65c137a branch=dev url=https://github.com/vladmandic/automatic.git/tree/dev ui=dev
2024-08-28 16:40:12,185 | sd | INFO | installer | Updating main repository
2024-08-28 16:40:12,561 | sd | INFO | installer | Upgraded to version: 65c137a Wed Aug 28 10:22:46 2024 -0400
2024-08-28 16:40:12,563 | sd | INFO | launch | Platform: arch=x86_64 cpu=x86_64 system=Linux release=5.15.153.1-microsoft-standard-WSL2 python=3.10.12
2024-08-28 16:40:12,564 | sd | DEBUG | installer | Setting environment tuning
2024-08-28 16:40:12,565 | sd | INFO | installer | HF cache folder: /home/tillerz/.cache/huggingface/hub
2024-08-28 16:40:12,566 | sd | DEBUG | installer | Torch allocator: "garbage_collection_threshold:0.80,max_split_size_mb:512"
2024-08-28 16:40:12,613 | sd | DEBUG | installer | Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False
2024-08-28 16:40:12,614 | sd | DEBUG | installer | Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True
2024-08-28 16:40:12,615 | sd | INFO | installer | nVidia CUDA toolkit detected: nvidia-smi present
2024-08-28 16:40:12,647 | sd | INFO | installer | Verifying requirements
2024-08-28 16:40:12,650 | sd | INFO | installer | Verifying packages
2024-08-28 16:40:12,651 | sd | INFO | launch | Startup: standard
2024-08-28 16:40:12,651 | sd | INFO | installer | Verifying submodules
2024-08-28 16:40:12,795 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-extension-chainner / main
2024-08-28 16:40:13,146 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-extension-system-info / main
2024-08-28 16:40:13,492 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-webui-agent-scheduler / main
2024-08-28 16:40:13,872 | sd | DEBUG | installer | Submodule: extensions-builtin/sdnext-modernui / dev
2024-08-28 16:40:14,244 | sd | DEBUG | installer | Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
2024-08-28 16:40:14,607 | sd | DEBUG | installer | Submodule: modules/k-diffusion / master
2024-08-28 16:40:14,951 | sd | DEBUG | installer | Submodule: wiki / master
2024-08-28 16:40:15,350 | sd | DEBUG | paths | Register paths
2024-08-28 16:40:15,362 | sd | DEBUG | installer | Installed packages: 199
2024-08-28 16:40:15,362 | sd | DEBUG | installer | Extensions all: ['sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-extension-chainner', 'sdnext-modernui', 'stable-diffusion-webui-rembg', 'Lora']
2024-08-28 16:40:15,363 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-extension-system-info / main
2024-08-28 16:40:15,374 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-webui-agent-scheduler / main
2024-08-28 16:40:15,374 | sd | DEBUG | installer | Running extension installer: /home/tillerz/dev/extensions-builtin/sd-webui-agent-scheduler/install.py
2024-08-28 16:40:15,446 | sd | DEBUG | installer | Submodule: extensions-builtin/sd-extension-chainner / main
2024-08-28 16:40:15,457 | sd | DEBUG | installer | Submodule: extensions-builtin/sdnext-modernui / dev
2024-08-28 16:40:15,469 | sd | DEBUG | installer | Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
2024-08-28 16:40:15,469 | sd | DEBUG | installer | Running extension installer: /home/tillerz/dev/extensions-builtin/stable-diffusion-webui-rembg/install.py
2024-08-28 16:40:15,908 | sd | DEBUG | installer | Extensions all: ['sd-extension-aesthetic-scorer', 'sd-extension-promptgen', 'adetailer']
2024-08-28 16:40:15,912 | sd | DEBUG | installer | Submodule: extensions/sd-extension-aesthetic-scorer / main
2024-08-28 16:40:16,295 | sd | DEBUG | installer | Submodule: extensions/sd-extension-promptgen / master
2024-08-28 16:40:16,676 | sd | DEBUG | installer | Submodule: extensions/adetailer / main
2024-08-28 16:40:17,050 | sd | DEBUG | installer | Running extension installer: /home/tillerz/dev/extensions/adetailer/install.py
2024-08-28 16:40:17,167 | sd | INFO | installer | Extensions enabled: ['sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-extension-chainner', 'sdnext-modernui', 'stable-diffusion-webui-rembg', 'Lora', 'sd-extension-aesthetic-scorer', 'sd-extension-promptgen', 'adetailer']
2024-08-28 16:40:17,168 | sd | INFO | installer | Verifying requirements
2024-08-28 16:40:17,168 | sd | INFO | installer | Updating Wiki
2024-08-28 16:40:17,170 | sd | DEBUG | installer | Submodule: /home/tillerz/dev/wiki / master
2024-08-28 16:40:17,545 | sd | DEBUG | launch | Setup complete without errors: 1724856018
2024-08-28 16:40:17,547 | sd | DEBUG | installer | Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}
2024-08-28 16:40:17,548 | sd | DEBUG | launch | Starting module: <module 'webui' from '/home/tillerz/dev/webui.py'>
2024-08-28 16:40:17,549 | sd | INFO | launch | Command line args: ['--upgrade', '--port', '7870'] port=7870 upgrade=True
2024-08-28 16:40:17,549 | sd | DEBUG | launch | Env flags: ['SD_PROCESS_DEBUG=true', 'SD_DEBUG=true', 'SD_CONTROL_DEBUG=true']
2024-08-28 16:40:19,576 | sd | INFO | loader | Load packages: {'torch': '2.4.0+cu121', 'diffusers': '0.30.1', 'gradio': '3.43.2'}
2024-08-28 16:40:20,469 | sd | INFO | shared | VRAM: Detected=23.99 GB Optimization=none
2024-08-28 16:40:20,471 | sd | DEBUG | shared | Read: file="config.json" json=83 bytes=3511 time=0.000
2024-08-28 16:40:20,472 | sd | DEBUG | shared | Unknown settings: ['queue_paused', 'queue_keyboard_shortcut', 'ad_max_models', 'aesthetic_scorer_enabled', 'aesthetic_scorer_clip_model']
2024-08-28 16:40:20,473 | sd | INFO | shared | Engine: backend=Backend.DIFFUSERS compute=cuda device=cuda attention="Scaled-Dot-Product" mode=no_grad
2024-08-28 16:40:20,496 | sd | INFO | shared | Device: device=NVIDIA GeForce RTX 4090 n=1 arch=sm_90 cap=(8, 9) cuda=12.1 cudnn=90100 driver=560.94
2024-08-28 16:40:20,497 | sd | DEBUG | shared | Read: file="html/reference.json" json=51 bytes=28336 time=0.000
2024-08-28 16:40:20,557 | sd | TRACE | processing | Trace: PROCESS
2024-08-28 16:40:20,588 | sd | DEBUG | __init__ | ONNX: version=1.19.0 provider=CUDAExecutionProvider, available=['AzureExecutionProvider', 'CPUExecutionProvider']
2024-08-28 16:40:20,649 | sd | TRACE | txt2img | Trace: PROCESS
2024-08-28 16:40:20,650 | sd | TRACE | img2img | Trace: PROCESS
2024-08-28 16:40:20,652 | sd | DEBUG | sd_hijack | Importing LDM
2024-08-28 16:40:20,655 | sd | DEBUG | webui | Entering start sequence
2024-08-28 16:40:20,655 | sd | DEBUG | webui | Initializing
2024-08-28 16:40:20,662 | sd | INFO | sd_vae | Available VAEs: path="/home/tillerz/models/VAE" items=3
2024-08-28 16:40:20,663 | sd | DEBUG | sd_unet | Available UNets: path="/home/tillerz/models/UNET" items=0
2024-08-28 16:40:20,663 | sd | INFO | extensions | Disabled extensions: []
2024-08-28 16:40:20,664 | sd | DEBUG | shared | Read: file="cache.json" json=2 bytes=2478 time=0.000
2024-08-28 16:40:20,666 | sd | DEBUG | shared | Read: file="metadata.json" json=225 bytes=526027 time=0.001
2024-08-28 16:40:20,667 | sd | DEBUG | modelloader | Scanning diffusers cache: folder=/home/tillerz/models/Diffusers items=4 time=0.00
2024-08-28 16:40:20,668 | sd | INFO | sd_models | Available models: path="/home/tillerz/models/Stable-diffusion" items=61 time=0.00
2024-08-28 16:40:20,916 | sd | DEBUG | webui | Load extensions
2024-08-28 16:40:20,944 | sd | INFO | networks | LoRA networks: available=174 folders=2
2024-08-28 16:40:20,999 | sd | TRACE | processors | Trace: CONTROL
2024-08-28 16:40:21,000 | sd | TRACE | controlnet | Trace: CONTROL
2024-08-28 16:40:21,002 | sd | TRACE | xs | Trace: CONTROL
2024-08-28 16:40:21,003 | sd | TRACE | lite | Trace: CONTROL
2024-08-28 16:40:21,004 | sd | TRACE | t2iadapter | Trace: CONTROL
2024-08-28 16:40:21,005 | sd | TRACE | run | Trace: CONTROL
2024-08-28 16:40:21,086 | sd | INFO | script_loading | Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' 16:40:20-999903 TRACE    Trace: CONTROL
2024-08-28 16:40:21,087 | sd | INFO | script_loading | Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' 16:40:21-000628 TRACE    Trace: CONTROL
2024-08-28 16:40:21,087 | sd | INFO | script_loading | Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' 16:40:21-002528 TRACE    Trace: CONTROL
2024-08-28 16:40:21,088 | sd | INFO | script_loading | Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' 16:40:21-003095 TRACE    Trace: CONTROL
2024-08-28 16:40:21,088 | sd | INFO | script_loading | Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' 16:40:21-004923 TRACE    Trace: CONTROL
2024-08-28 16:40:21,089 | sd | INFO | script_loading | Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' 16:40:21-005474 TRACE    Trace: CONTROL
2024-08-28 16:40:21,089 | sd | INFO | script_loading | Extension: script='extensions-builtin/sd-webui-agent-scheduler/scripts/task_scheduler.py' Using sqlite file: extensions-builtin/sd-webui-agent-scheduler/task_scheduler.sqlite3
2024-08-28 16:40:21,405 | sd | INFO | script_loading | Extension: script='extensions/adetailer/scripts/!adetailer.py' [-] ADetailer initialized. version: 24.8.0, num models: 14
2024-08-28 16:40:21,479 | sd | DEBUG | webui | Extensions init time: 0.56 sd-webui-agent-scheduler=0.14 adetailer=0.31 sd-extension-aesthetic-scorer=0.07
2024-08-28 16:40:21,484 | sd | DEBUG | shared | Read: file="html/upscalers.json" json=4 bytes=2640 time=0.000
2024-08-28 16:40:21,485 | sd | DEBUG | shared | Read: file="extensions-builtin/sd-extension-chainner/models.json" json=24 bytes=2693 time=0.000
2024-08-28 16:40:21,486 | sd | DEBUG | chainner_model | chaiNNer models: path="/home/tillerz/models/chaiNNer" defined=24 discovered=0 downloaded=2
2024-08-28 16:40:21,487 | sd | DEBUG | upscaler | Upscaler type=ESRGAN folder="/home/tillerz/models/ESRGAN" model="8x_NMKD-Superscale_150000_G" path="/home/tillerz/models/ESRGAN/8x_NMKD-Superscale_150000_G.pth"
2024-08-28 16:40:21,488 | sd | DEBUG | upscaler | Upscaler type=SwinIR folder="/home/tillerz/models/SwinIR" model="SwinIR_4x" path="/home/tillerz/models/SwinIR/SwinIR_4x.pth"
2024-08-28 16:40:21,488 | sd | DEBUG | modelloader | Load upscalers: total=55 downloaded=16 user=2 time=0.01 ['None', 'Lanczos', 'Nearest', 'ChaiNNer', 'RealESRGAN', 'SCUNet', 'ESRGAN', 'LDSR', 'SwinIR', 'AuraSR', 'SD']
2024-08-28 16:40:21,527 | sd | DEBUG | styles | Load styles: folder="/home/tillerz/models/styles" items=356 time=0.04
2024-08-28 16:40:21,529 | sd | DEBUG | webui | Creating UI
2024-08-28 16:40:21,529 | sd | DEBUG | theme | UI themes available: type=Modern themes=32
2024-08-28 16:40:21,530 | sd | INFO | theme | UI theme: type=Modern name="Eoan-Cyan"
2024-08-28 16:40:21,532 | sd | DEBUG | ui_javascript | UI theme: css="extensions-builtin/sdnext-modernui/themes/Eoan-Cyan.css" base="base.css" user="user.css"
2024-08-28 16:40:21,534 | sd | DEBUG | ui_txt2img | UI initialize: txt2img
2024-08-28 16:40:21,729 | sd | DEBUG | ui_extra_networks | Networks: page='lora' items=174 subfolders=6 tab=txt2img folders=['/home/tillerz/models/Lora', '/home/tillerz/models/LyCORIS'] list=0.18 thumb=0.00 desc=0.03 info=0.49 workers=4 sort=Name [A-Z]
2024-08-28 16:40:21,731 | sd | DEBUG | ui_extra_networks | Networks: page='embedding' items=11 subfolders=0 tab=txt2img folders=['/home/tillerz/models/embeddings'] list=0.10 thumb=0.01 desc=0.00 info=0.03 workers=4 sort=Name [A-Z]
2024-08-28 16:40:21,753 | sd | DEBUG | ui_extra_networks | Networks: page='style' items=356 subfolders=3 tab=txt2img folders=['/home/tillerz/models/styles', 'html'] list=0.13 thumb=0.11 desc=0.00 info=0.00 workers=4 sort=Name [A-Z]
2024-08-28 16:40:21,763 | sd | DEBUG | ui_extra_networks | Networks: page='model' items=111 subfolders=4 tab=txt2img folders=['/home/tillerz/models/Stable-diffusion', '/home/tillerz/models/Diffusers', 'models/Reference'] list=0.17 thumb=0.10 desc=0.00 info=0.00 workers=4 sort=Name [A-Z]
2024-08-28 16:40:21,850 | sd | DEBUG | ui_img2img | UI initialize: img2img
2024-08-28 16:40:21,958 | sd | TRACE | ui_control_helpers | Trace: CONTROL
2024-08-28 16:40:21,959 | sd | TRACE | ui_control | Trace: CONTROL
2024-08-28 16:40:21,960 | sd | DEBUG | ui_control_helpers | UI initialize: control models=/home/tillerz/models/control
2024-08-28 16:40:22,002 | sd | TRACE | processors | Control list processors: path=/home/tillerz/models/control/processor models=['None', 'OpenPose', 'DWPose', 'MediaPipe Face', 'Canny', 'Edge', 'LineArt Realistic', 'LineArt Anime', 'HED', 'PidiNet', 'Midas Depth Hybrid', 'Leres Depth', 'Zoe Depth', 'Marigold Depth', 'Normal Bae', 'SegmentAnything', 'MLSD', 'Shuffle', 'DPT Depth Hybrid', 'GLPN Depth', 'Depth Anything']
2024-08-28 16:40:22,004 | sd | TRACE | controlnet | Control list ControlNet: path=/home/tillerz/models/control/controlnet models=['None']
2024-08-28 16:40:22,013 | sd | TRACE | t2iadapter | Control list T2I-Adapter: path=/home/tillerz/models/control/adapter models=['None']
2024-08-28 16:40:22,020 | sd | TRACE | xs | Control list ControlNet-XS: path=/home/tillerz/models/control/xs models=['None']
2024-08-28 16:40:22,029 | sd | TRACE | lite | Control list ControlLLLite: path=/home/tillerz/models/control/lite models=['None']
2024-08-28 16:40:22,290 | sd | DEBUG | shared | Read: file="ui-config.json" json=78 bytes=4886 time=0.000
2024-08-28 16:40:22,592 | sd | DEBUG | theme | UI themes available: type=Modern themes=32
2024-08-28 16:40:22,715 | sd | DEBUG | shared | Reading failed: /home/tillerz/dev/html/extensions.json [Errno 2] No such file or directory: '/home/tillerz/dev/html/extensions.json'
2024-08-28 16:40:22,716 | sd | INFO | ui_extensions | Extension list is empty: refresh required
2024-08-28 16:40:22,775 | sd | DEBUG | ui_extensions | Extension list: processed=9 installed=9 enabled=9 disabled=0 visible=9 hidden=0
2024-08-28 16:40:22,857 | sd | DEBUG | webui | Root paths: ['/home/tillerz/dev']
2024-08-28 16:40:22,895 | sd | INFO | webui | Local URL: http://127.0.0.1:7870/
2024-08-28 16:40:22,896 | sd | DEBUG | webui | Gradio functions: registered=2105
2024-08-28 16:40:22,896 | sd | DEBUG | middleware | FastAPI middleware: ['Middleware', 'Middleware']
2024-08-28 16:40:22,898 | sd | DEBUG | webui | Creating API
2024-08-28 16:40:22,991 | sd | INFO | task_runner | [AgentScheduler] Runner is paused
2024-08-28 16:40:22,992 | sd | INFO | api | [AgentScheduler] Registering APIs
2024-08-28 16:40:23,308 | sd | DEBUG | webui | Scripts setup: ['IP Adapters:0.021', 'AnimateDiff:0.009', 'ADetailer:0.065', 'X/Y/Z Grid:0.011', 'Face:0.014', 'Image-to-Video:0.006', 'Stable Video Diffusion:0.005']
2024-08-28 16:40:23,309 | sd | DEBUG | sd_models | Model metadata: file="metadata.json" no changes
2024-08-28 16:40:23,309 | sd | DEBUG | devices | Torch mode: deterministic=False
2024-08-28 16:40:23,330 | sd | DEBUG | devices | Desired Torch parameters: dtype=FP16 no-half=False no-half-vae=False upscast=False
2024-08-28 16:40:23,330 | sd | INFO | devices | Setting Torch parameters: device=cuda dtype=torch.float16 vae=torch.float16 unet=torch.float16 context=no_grad fp16=True bf16=None optimization=Scaled-Dot-Product
2024-08-28 16:40:23,331 | sd | DEBUG | modeldata | Model requested: fn=<lambda>
2024-08-28 16:40:23,332 | sd | INFO | sd_models | Select: model="SD15/zo4-ra-art-if-noo-fcb3-rcr [0512113be6]"
2024-08-28 16:40:23,333 | sd | DEBUG | sd_models | Load model: existing=False target=/home/tillerz/models/Stable-diffusion/SD15/zo4-ra-art-if-noo-fcb3-rcr.safetensors info=None
2024-08-28 16:40:23,334 | sd | DEBUG | sd_models | Diffusers loading: path="/home/tillerz/models/Stable-diffusion/SD15/zo4-ra-art-if-noo-fcb3-rcr.safetensors"
2024-08-28 16:40:23,335 | sd | INFO | sd_models | Autodetect: model="Stable Diffusion" class=StableDiffusionPipeline file="/home/tillerz/models/Stable-diffusion/SD15/zo4-ra-art-if-noo-fcb3-rcr.safetensors" size=3918MB
2024-08-28 16:40:23,475 | sd | DEBUG | sd_models | Setting model: pipeline=StableDiffusionPipeline config={'low_cpu_mem_usage': True, 'torch_dtype': torch.float16, 'load_connected_pipeline': True, 'extract_ema': False, 'config': 'configs/sd15', 'use_safetensors': True, 'cache_dir': '/home/tillerz/.cache/huggingface/hub'}
2024-08-28 16:40:24,142 | sd | INFO | textual_inversion | Load embeddings: loaded=10 skipped=1 time=0.66
2024-08-28 16:40:24,142 | sd | DEBUG | sd_models | Setting model: enable VAE slicing
2024-08-28 16:40:24,865 | sd | DEBUG | devices | GC: utilization={'gpu': 15, 'ram': 3, 'threshold': 80} gc={'collected': 2824, 'saved': 0.0} before={'gpu': 3.66, 'ram': 1.11} after={'gpu': 3.66, 'ram': 1.11, 'retries': 0, 'oom': 0} device=cuda fn=load_diffuser time=0.27
2024-08-28 16:40:24,869 | sd | INFO | sd_models | Load model: time=1.26 load=0.14 embeddings=0.67 move=0.45 native=512 {'ram': {'used': 1.11, 'total': 39.18}, 'gpu': {'used': 3.66, 'total': 23.99}, 'retries': 0, 'oom': 0}
2024-08-28 16:40:24,871 | sd | DEBUG | script_callbacks | Script callback init time: task_scheduler.py:app_started=0.32
2024-08-28 16:40:24,872 | sd | INFO | webui | Startup time: 7.32 torch=1.49 gradio=0.41 diffusers=0.11 libraries=1.08 extensions=0.56 face-restore=0.25 ui-en=0.31 ui-txt2img=0.07 ui-img2img=0.08 ui-control=0.12 ui-models=0.12 ui-settings=0.41 ui-extensions=0.09 launch=0.07 app-started=0.36 checkpoint=1.56
2024-08-28 16:40:24,875 | sd | DEBUG | shared | Save: file="config.json" json=83 bytes=3511 time=0.004

PART TWO

2024-08-28 16:40:39,131 | sd | INFO | server | MOTD: N/A
2024-08-28 16:40:41,535 | sd | DEBUG | theme | UI themes available: type=Modern themes=32
2024-08-28 16:40:41,738 | sd | INFO | api | Browser session: user=None client=127.0.0.1 agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
2024-08-28 16:40:56,648 | sd | TRACE | ui_control | Control: tab="controlnet " job=task(yt9uistx3laivtp) args=(0, 'watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>', 'child, loli, nude, topless', [], 30, 5, -1.0, -1.0, 0, 0, 0, 3.5, 1, 3, 0.7, 0, 0.5, 1, True, False, False, True, 0, 0, 0, 0, False, 4, 0.95, False, 0.6, 1, '#000000', 0, 1, 'ESRGAN 4x Remacri', 512, 768, 1, 0, 1, 'ESRGAN 4x Remacri', 512, 768, 1, 0, 1, 'ESRGAN 4x Remacri', 512, 768, 1, 0, 0.8, 1, 1, True, 11, 0.3, 'ESRGAN 4x Remacri', True, 20, 2, 0, 0, 10, 0, '', '', 0, 'None', 2, True, 1, 0, 0, 1, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None, None, None, 0, 0, 0, 0, 1, 1, 1, 1, None, None, None, None, False, '', 'None', 16, 'None', 1, True, 'None', 2, True, 1, 0, True, 'none', 3, 4, 0.25, 0.25, False, False, {'ad_model': 'deepfashion2_yolov8s-seg.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, {'ad_model': 'female_breast-v4.2.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, '', '', 0.5, True, 1, False, 'None', None, 'None', 16, 'None', 2, True, 1, 0, 'none', 3, 4, 0.25, 0.25, 0.5, 0.5, 0.1, 1, True, '', 0.5, 0.9, '', 0.5, 0.9, 4, 0.5, 'Linear', 'None', 'OpenGVLab/InternVL-14B-224px', '<span>&nbsp Outpainting</span><br>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<span>&nbsp SD Upscale</span><br>', 64, 0, 2, 'SVD 1.0', 14, True, 1, 3, 6, 0.5, 0.1, 'None', 2, True, 1, 0, 0, '', [], 0, '', [], 0, '', [], False, True, False, False, False, False, 0, 'None', [], 'FaceID Base', True, True, 1, 1, 1, 0.5, True, 'person', 1, 0.5, True)
2024-08-28 16:40:56,656 | sd | TRACE | run | Control: type=controlnet  input=None init=None type=0
2024-08-28 16:40:56,656 | sd | TRACE | run | Control unit: i=1 type=controlnet enabled=True
2024-08-28 16:40:56,657 | sd | DEBUG | run | Control process unit: i=1 process=None
2024-08-28 16:40:56,657 | sd | TRACE | run | Control unit: i=2 type=controlnet enabled=False
2024-08-28 16:40:56,658 | sd | TRACE | run | Control unit: i=3 type=controlnet enabled=False
2024-08-28 16:40:56,658 | sd | TRACE | run | Control unit: i=4 type=controlnet enabled=False
2024-08-28 16:40:56,659 | sd | TRACE | run | Control active: process=0 model=0
2024-08-28 16:40:56,659 | sd | TRACE | run | Control: run type=controlnet models=False pipe=StableDiffusionPipeline
2024-08-28 16:40:56,660 | sd | TRACE | run | Control pipeline: class=StableDiffusionPipeline args={'outpath_samples': '/home/tillerz/images', 'outpath_grids': '/home/tillerz/images', 'prompt': 'watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>', 'prompt_for_display': None, 'negative_prompt': 'child, loli, nude, topless', 'styles': [], 'seed': -1.0, 'subseed': -1.0, 'subseed_strength': 0, 'seed_resize_from_h': 0, 'seed_resize_from_w': 0, 'sampler_name': 'DPM++ 2M', 'hr_sampler_name': 'Same as primary', 'batch_size': 1, 'n_iter': 1, 'steps': 30, 'hr_second_pass_steps': 20, 'cfg_scale': 3.5, 'scale_by': 1, 'image_cfg_scale': 3, 'diffusers_guidance_rescale': 0.7, 'pag_scale': 0, 'pag_adaptive': 0.5, 'cfg_end': 1, 'width': 512, 'height': 768, 'full_quality': True, 'restore_faces': False, 'tiling': False, 'hidiffusion': True, 'do_not_save_samples': False, 'do_not_save_grid': False, 'extra_generation_params': {}, 'overlay_images': None, 'eta': None, 'do_not_reload_embeddings': False, 'paste_to': None, 'color_corrections': None, 'denoising_strength': 0.8, 'override_settings': {}, 'override_settings_restore_afterwards': True, 'is_using_inpainting_conditioning': False, 'disable_extra_networks': False, 'per_script_args': {}, 'all_prompts': None, 'all_negative_prompts': None, 'all_seeds': None, 'all_subseeds': None, 'clip_skip': 1, 'iteration': 0, 'is_control': False, 'is_hr_pass': False, 'is_refiner_pass': False, 'hr_force': True, 'enable_hr': True, 'hr_scale': 2, 'hr_upscaler': 'ESRGAN 4x Remacri', 'hr_resize_x': 0, 'hr_resize_y': 0, 'hr_upscale_to_x': 1024, 'hr_upscale_to_y': 1536, 'truncate_x': 0, 'truncate_y': 0, 'applied_old_hires_behavior_to': None, 'refiner_steps': 10, 'refiner_start': 0, 'refiner_prompt': '', 'refiner_negative': '', 'ops': [], 'resize_mode': 1, 'resize_name': 'ESRGAN 4x Remacri', 'ddim_discretize': 'uniform', 's_min_uncond': 0.0, 's_churn': 0.0, 's_noise': 1.0, 's_min': 0.0, 's_max': 0.0, 's_tmin': 0.0, 's_tmax': inf, 'task_args': {}, 'batch_index': 0, 'refiner_switch_at': 0, 'hr_prompt': '', 'all_hr_prompts': [], 'hr_negative_prompt': '', 'all_hr_negative_prompts': [], 'comments': {}, 'is_api': False, 'scripts_value': None, 'script_args_value': [], 'scripts_setup_complete': Field(name=None,type=None,default=False,default_factory=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,init=False,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,_field_type=None), 'ip_adapter_names': [], 'ip_adapter_scales': [0.0], 'ip_adapter_images': [], 'ip_adapter_starts': [0.0], 'ip_adapter_ends': [1.0], 'hdr_mode': 0, 'hdr_brightness': 0, 'hdr_color': 0, 'hdr_sharpen': 0, 'hdr_clamp': False, 'hdr_boundary': 4, 'hdr_threshold': 0.95, 'hdr_maximize': False, 'hdr_max_center': 0.6, 'hdr_max_boundry': 1, 'hdr_color_picker': '#000000', 'hdr_tint_ratio': 0, 'scheduled_prompt': False, 'prompt_embeds': [], 'positive_pooleds': [], 'negative_embeds': [], 'negative_pooleds': [], 'init_images': None, 'hr_denoising_strength': 0.3, 'init_latent': None, 'image_mask': None, 'latent_mask': None, 'mask_for_overlay': None, 'mask_blur_x': 4, 'mask_blur_y': 4, 'mask_blur': 4, 'inpainting_fill': 1, 'inpaint_full_res': False, 'inpaint_full_res_padding': 0, 'inpainting_mask_invert': 0, 'initial_noise_multiplier': 1.0, 'mask': None, 'nmask': None, 'image_conditioning': None, 'is_batch': False, 'sampler': None, 'strength': 1.0, 'adapter_conditioning_scale': None, 'adapter_conditioning_factor': 1.0, 'guess_mode': None, 'controlnet_conditioning_scale': None, 'control_guidance_start': None, 'control_guidance_end': None, 'reference_attn': None, 'reference_adain': None, 'attention_auto_machine_weight': None, 'gn_auto_machine_weight': None, 'style_fidelity': None, 'ref_image': None, 'image': None, 'query_weight': None, 'adain_weight': None, 'attention': 'Attention', 'fidelity': 0.5, 'mask_image': None, 'override': None, 'resize_mode_before': 1, 'resize_name_before': 'ESRGAN 4x Remacri', 'width_before': 512, 'height_before': 768, 'scale_by_before': 1, 'selected_scale_tab_before': 0, 'resize_mode_after': 1, 'resize_name_after': 'ESRGAN 4x Remacri', 'width_after': 512, 'height_after': 768, 'scale_by_after': 1, 'selected_scale_tab_after': 0, 'resize_mode_mask': 1, 'resize_name_mask': 'ESRGAN 4x Remacri', 'width_mask': 512, 'height_mask': 768, 'scale_by_mask': 1, 'selected_scale_tab_mask': 0}
2024-08-28 16:40:56,668 | sd | TRACE | run | Control Control image: 1 of 1
2024-08-28 16:40:56,668 | sd | TRACE | run | Control Init image: none
2024-08-28 16:40:56,669 | sd | TRACE | run | Control processed: 0
2024-08-28 16:40:56,669 | sd | TRACE | run | Control processed: using input direct
2024-08-28 16:40:56,669 | sd | TRACE | run | Control yield: process | 1 of 1 | Image None
2024-08-28 16:40:56,670 | sd | TRACE | ui_control | Control received: type=<class 'tuple'> (None, None, 'Control process | 1 of 1 | Image None')
2024-08-28 16:40:56,671 | sd | TRACE | run | Control exec pipeline: task=DiffusersTaskType.TEXT_2_IMAGE class=<class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion.StableDiffusionPipeline'>
2024-08-28 16:40:56,672 | sd | TRACE | processing | Process images: {'outpath_samples': '/home/tillerz/images', 'outpath_grids': '/home/tillerz/images', 'prompt': 'watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>', 'prompt_for_display': None, 'negative_prompt': 'child, loli, nude, topless', 'styles': [], 'seed': -1.0, 'subseed': -1.0, 'subseed_strength': 0, 'seed_resize_from_h': 0, 'seed_resize_from_w': 0, 'sampler_name': 'DPM++ 2M', 'hr_sampler_name': 'Same as primary', 'batch_size': 1, 'n_iter': 1, 'steps': 30, 'hr_second_pass_steps': 20, 'cfg_scale': 3.5, 'scale_by': 1, 'image_cfg_scale': 3, 'diffusers_guidance_rescale': 0.7, 'pag_scale': 0, 'pag_adaptive': 0.5, 'cfg_end': 1, 'width': 512, 'height': 768, 'full_quality': True, 'restore_faces': False, 'tiling': False, 'hidiffusion': True, 'do_not_save_samples': False, 'do_not_save_grid': False, 'extra_generation_params': {}, 'overlay_images': None, 'eta': None, 'do_not_reload_embeddings': False, 'paste_to': None, 'color_corrections': None, 'denoising_strength': 0.8, 'override_settings': {}, 'override_settings_restore_afterwards': True, 'is_using_inpainting_conditioning': False, 'disable_extra_networks': False, 'per_script_args': {}, 'all_prompts': None, 'all_negative_prompts': None, 'all_seeds': None, 'all_subseeds': None, 'clip_skip': 1, 'iteration': 0, 'is_control': False, 'is_hr_pass': False, 'is_refiner_pass': False, 'hr_force': True, 'enable_hr': True, 'hr_scale': 2, 'hr_upscaler': 'ESRGAN 4x Remacri', 'hr_resize_x': 0, 'hr_resize_y': 0, 'hr_upscale_to_x': 1024, 'hr_upscale_to_y': 1536, 'truncate_x': 0, 'truncate_y': 0, 'applied_old_hires_behavior_to': None, 'refiner_steps': 10, 'refiner_start': 0, 'refiner_prompt': '', 'refiner_negative': '', 'ops': [], 'resize_mode': 1, 'resize_name': 'ESRGAN 4x Remacri', 'ddim_discretize': 'uniform', 's_min_uncond': 0.0, 's_churn': 0.0, 's_noise': 1.0, 's_min': 0.0, 's_max': 0.0, 's_tmin': 0.0, 's_tmax': inf, 'task_args': {}, 'batch_index': 0, 'refiner_switch_at': 0, 'hr_prompt': '', 'all_hr_prompts': [], 'hr_negative_prompt': '', 'all_hr_negative_prompts': [], 'comments': {}, 'is_api': False, 'scripts_value': <modules.scripts.ScriptRunner object at 0x7fd448c28430>, 'script_args_value': (0, 1, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None, None, None, 0, 0, 0, 0, 1, 1, 1, 1, None, None, None, None, False, '', 'None', 16, 'None', 1, True, 'None', 2, True, 1, 0, True, 'none', 3, 4, 0.25, 0.25, False, False, {'ad_model': 'deepfashion2_yolov8s-seg.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, {'ad_model': 'female_breast-v4.2.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, '', '', 0.5, True, 1, False, 'None', None, 'None', 16, 'None', 2, True, 1, 0, 'none', 3, 4, 0.25, 0.25, 0.5, 0.5, 0.1, 1, True, '', 0.5, 0.9, '', 0.5, 0.9, 4, 0.5, 'Linear', 'None', 'OpenGVLab/InternVL-14B-224px', '<span>&nbsp Outpainting</span><br>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<span>&nbsp SD Upscale</span><br>', 64, 0, 2, 'SVD 1.0', 14, True, 1, 3, 6, 0.5, 0.1, 'None', 2, True, 1, 0, 0, '', [], 0, '', [], 0, '', [], False, True, False, False, False, False, 0, 'None', [], 'FaceID Base', True, True, 1, 1, 1, 0.5, True, 'person', 1, 0.5, True), 'scripts_setup_complete': Field(name=None,type=None,default=False,default_factory=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,init=False,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,_field_type=None), 'ip_adapter_names': [], 'ip_adapter_scales': [0.0], 'ip_adapter_images': [], 'ip_adapter_starts': [0.0], 'ip_adapter_ends': [1.0], 'hdr_mode': 0, 'hdr_brightness': 0, 'hdr_color': 0, 'hdr_sharpen': 0, 'hdr_clamp': False, 'hdr_boundary': 4, 'hdr_threshold': 0.95, 'hdr_maximize': False, 'hdr_max_center': 0.6, 'hdr_max_boundry': 1, 'hdr_color_picker': '#000000', 'hdr_tint_ratio': 0, 'scheduled_prompt': False, 'prompt_embeds': [], 'positive_pooleds': [], 'negative_embeds': [], 'negative_pooleds': [], 'hr_denoising_strength': 0.3, 'init_latent': None, 'image_mask': None, 'latent_mask': None, 'mask_for_overlay': None, 'mask_blur_x': 4, 'mask_blur_y': 4, 'mask_blur': 4, 'inpainting_fill': 1, 'inpaint_full_res': False, 'inpaint_full_res_padding': 0, 'inpainting_mask_invert': 0, 'initial_noise_multiplier': 1.0, 'mask': None, 'nmask': None, 'image_conditioning': None, 'is_batch': False, 'sampler': None, 'strength': 1.0, 'adapter_conditioning_scale': None, 'adapter_conditioning_factor': 1.0, 'guess_mode': None, 'controlnet_conditioning_scale': None, 'control_guidance_start': None, 'control_guidance_end': None, 'reference_attn': None, 'reference_adain': None, 'attention_auto_machine_weight': None, 'gn_auto_machine_weight': None, 'style_fidelity': None, 'ref_image': None, 'image': None, 'query_weight': None, 'adain_weight': None, 'attention': 'Attention', 'fidelity': 0.5, 'mask_image': None, 'override': None, 'resize_mode_before': 1, 'resize_name_before': 'ESRGAN 4x Remacri', 'width_before': 512, 'height_before': 768, 'scale_by_before': 1, 'selected_scale_tab_before': 0, 'resize_mode_after': 1, 'resize_name_after': 'ESRGAN 4x Remacri', 'width_after': 512, 'height_after': 768, 'scale_by_after': 1, 'selected_scale_tab_after': 0, 'resize_mode_mask': 1, 'resize_name_mask': 'ESRGAN 4x Remacri', 'width_mask': 512, 'height_mask': 768, 'scale_by_mask': 1, 'selected_scale_tab_mask': 0}
2024-08-28 16:40:56,682 | sd | INFO | sd_models | Applying ToDo: ratio=0.5
2024-08-28 16:40:56,683 | sd | INFO | sd_hijack_freeu | Applying free-u: b1=1.2 b2=1.4 s1=0.9 s2=0.2
2024-08-28 16:40:56,684 | sd | TRACE | processing | Processing inner: args={'outpath_samples': '/home/tillerz/images', 'outpath_grids': '/home/tillerz/images', 'prompt': 'watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>', 'prompt_for_display': None, 'negative_prompt': 'child, loli, nude, topless', 'styles': [], 'seed': -1.0, 'subseed': -1.0, 'subseed_strength': 0, 'seed_resize_from_h': 0, 'seed_resize_from_w': 0, 'sampler_name': 'DPM++ 2M', 'hr_sampler_name': 'Same as primary', 'batch_size': 1, 'n_iter': 1, 'steps': 30, 'hr_second_pass_steps': 20, 'cfg_scale': 3.5, 'scale_by': 1, 'image_cfg_scale': 3, 'diffusers_guidance_rescale': 0.7, 'pag_scale': 0, 'pag_adaptive': 0.5, 'cfg_end': 1, 'width': 512, 'height': 768, 'full_quality': True, 'restore_faces': False, 'tiling': False, 'hidiffusion': True, 'do_not_save_samples': False, 'do_not_save_grid': False, 'extra_generation_params': {'FreeU': 'b1=1.2 b2=1.4 s1=0.9 s2=0.2'}, 'overlay_images': None, 'eta': None, 'do_not_reload_embeddings': False, 'paste_to': None, 'color_corrections': [], 'denoising_strength': 0.8, 'override_settings': {}, 'override_settings_restore_afterwards': True, 'is_using_inpainting_conditioning': False, 'disable_extra_networks': False, 'per_script_args': {}, 'all_prompts': ['watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>'], 'all_negative_prompts': ['child, loli, nude, topless'], 'all_seeds': [1113846852], 'all_subseeds': [3051933274], 'clip_skip': 1, 'iteration': 0, 'is_control': False, 'is_hr_pass': False, 'is_refiner_pass': False, 'hr_force': True, 'enable_hr': True, 'hr_scale': 2, 'hr_upscaler': 'ESRGAN 4x Remacri', 'hr_resize_x': 0, 'hr_resize_y': 0, 'hr_upscale_to_x': 1024, 'hr_upscale_to_y': 1536, 'truncate_x': 0, 'truncate_y': 0, 'applied_old_hires_behavior_to': None, 'refiner_steps': 10, 'refiner_start': 0, 'refiner_prompt': '', 'refiner_negative': '', 'ops': [], 'resize_mode': 1, 'resize_name': 'ESRGAN 4x Remacri', 'ddim_discretize': 'uniform', 's_min_uncond': 0.0, 's_churn': 0.0, 's_noise': 1.0, 's_min': 0.0, 's_max': 0.0, 's_tmin': 0.0, 's_tmax': inf, 'task_args': {}, 'batch_index': 0, 'refiner_switch_at': 0, 'hr_prompt': '', 'all_hr_prompts': [], 'hr_negative_prompt': '', 'all_hr_negative_prompts': [], 'comments': {}, 'is_api': False, 'scripts_value': <modules.scripts.ScriptRunner object at 0x7fd448c28430>, 'script_args_value': (0, 1, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None, None, None, 0, 0, 0, 0, 1, 1, 1, 1, None, None, None, None, False, '', 'None', 16, 'None', 1, True, 'None', 2, True, 1, 0, True, 'none', 3, 4, 0.25, 0.25, False, False, {'ad_model': 'deepfashion2_yolov8s-seg.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, {'ad_model': 'female_breast-v4.2.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, '', '', 0.5, True, 1, False, 'None', None, 'None', 16, 'None', 2, True, 1, 0, 'none', 3, 4, 0.25, 0.25, 0.5, 0.5, 0.1, 1, True, '', 0.5, 0.9, '', 0.5, 0.9, 4, 0.5, 'Linear', 'None', 'OpenGVLab/InternVL-14B-224px', '<span>&nbsp Outpainting</span><br>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<span>&nbsp SD Upscale</span><br>', 64, 0, 2, 'SVD 1.0', 14, True, 1, 3, 6, 0.5, 0.1, 'None', 2, True, 1, 0, 0, '', [], 0, '', [], 0, '', [], False, True, False, False, False, False, 0, 'None', [], 'FaceID Base', True, True, 1, 1, 1, 0.5, True, 'person', 1, 0.5, True), 'scripts_setup_complete': Field(name=None,type=None,default=False,default_factory=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,init=False,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,_field_type=None), 'ip_adapter_names': ['None'], 'ip_adapter_scales': [0.5], 'ip_adapter_images': [None], 'ip_adapter_starts': [0], 'ip_adapter_ends': [1], 'hdr_mode': 0, 'hdr_brightness': 0, 'hdr_color': 0, 'hdr_sharpen': 0, 'hdr_clamp': False, 'hdr_boundary': 4, 'hdr_threshold': 0.95, 'hdr_maximize': False, 'hdr_max_center': 0.6, 'hdr_max_boundry': 1, 'hdr_color_picker': '#000000', 'hdr_tint_ratio': 0, 'scheduled_prompt': False, 'prompt_embeds': [], 'positive_pooleds': [], 'negative_embeds': [], 'negative_pooleds': [], 'hr_denoising_strength': 0.3, 'init_latent': None, 'image_mask': None, 'latent_mask': None, 'mask_for_overlay': None, 'mask_blur_x': 4, 'mask_blur_y': 4, 'mask_blur': 4, 'inpainting_fill': 1, 'inpaint_full_res': False, 'inpaint_full_res_padding': 0, 'inpainting_mask_invert': 0, 'initial_noise_multiplier': 1.0, 'mask': None, 'nmask': None, 'image_conditioning': None, 'is_batch': False, 'sampler': None, 'strength': 1.0, 'adapter_conditioning_scale': None, 'adapter_conditioning_factor': 1.0, 'guess_mode': None, 'controlnet_conditioning_scale': None, 'control_guidance_start': None, 'control_guidance_end': None, 'reference_attn': None, 'reference_adain': None, 'attention_auto_machine_weight': None, 'gn_auto_machine_weight': None, 'style_fidelity': None, 'ref_image': None, 'image': None, 'query_weight': None, 'adain_weight': None, 'attention': 'Attention', 'fidelity': 0.5, 'mask_image': None, 'override': None, 'resize_mode_before': 1, 'resize_name_before': 'ESRGAN 4x Remacri', 'width_before': 512, 'height_before': 768, 'scale_by_before': 1, 'selected_scale_tab_before': 0, 'resize_mode_after': 1, 'resize_name_after': 'ESRGAN 4x Remacri', 'width_after': 512, 'height_after': 768, 'scale_by_after': 1, 'selected_scale_tab_after': 0, 'resize_mode_mask': 1, 'resize_name_mask': 'ESRGAN 4x Remacri', 'width_mask': 512, 'height_mask': 768, 'scale_by_mask': 1, 'selected_scale_tab_mask': 0, 'ip_adapter_masks': [], '_ad_disabled': True}
2024-08-28 16:40:56,694 | sd | TRACE | processing | Processing inner: iteration=1/1
2024-08-28 16:40:57,105 | sd | INFO | extra_networks_lora | LoRA apply: ['add_detail', 'watercolorV1', 'breastsizeslideroffset'] patch=0.00 load=0.41
2024-08-28 16:40:57,107 | sd | INFO | processing_diffusers | Base: class=StableDiffusionPipeline
2024-08-28 16:40:57,109 | sd | DEBUG | sd_samplers | Sampler: sampler="DPM++ 2M" config={'num_train_timesteps': 1000, 'beta_start': 0.00085, 'beta_end': 0.012, 'beta_schedule': 'scaled_linear', 'prediction_type': 'epsilon', 'thresholding': False, 'sample_max_value': 1.0, 'algorithm_type': 'sde-dpmsolver++', 'solver_type': 'midpoint', 'lower_order_final': True, 'use_karras_sigmas': False, 'final_sigmas_type': 'zero', 'timestep_spacing': 'leading', 'solver_order': 2}
2024-08-28 16:40:57,110 | sd | DEBUG | processing_args | Sampler: steps=10 timesteps=[999, 850, 736, 645, 545, 455, 343, 233, 124, 24]
2024-08-28 16:40:57,414 | sd | DEBUG | processing_helpers | Torch generator: device=cuda seeds=[1113846852]
2024-08-28 16:40:57,415 | sd | DEBUG | processing_args | Diffuser pipeline: StableDiffusionPipeline task=DiffusersTaskType.TEXT_2_IMAGE batch=1/1x1 set={'timesteps': [999, 850, 736, 645, 545, 455, 343, 233, 124, 24], 'prompt_embeds': torch.Size([1, 154, 768]), 'negative_prompt_embeds': torch.Size([1, 154, 768]), 'guidance_scale': 3.5, 'num_inference_steps': 30, 'eta': 1.0, 'guidance_rescale': 0.7, 'output_type': 'latent', 'width': 512, 'height': 768, 'parser': 'Full parser'}
2024-08-28 16:40:57,448 | sd | DEBUG | __init__ | HiDiffusion apply: raunet=True attn=True aggressive=True:8 t1=0.2 t2=0.1 time=0.00 type=sd width=512 height=768
2024-08-28 16:40:58,940 | sd | DEBUG | sd_vae_taesd | VAE load: type=taesd model=/home/tillerz/models/TAESD/taesd_decoder.pth
2024-08-28 16:41:00,204 | sd | DEBUG | processing_class | Control hires: upscaler="ESRGAN 4x Remacri" upscale=2 size=1024x1536
2024-08-28 16:41:00,205 | sd | INFO | processing_diffusers | Upscale: upscaler="ESRGAN 4x Remacri" resize=0x0 upscale=1024x1536
2024-08-28 16:41:02,252 | sd | INFO | esrgan_model | Upscaler loaded: type=ESRGAN model=/home/tillerz/models/ESRGAN/ESRGAN-Remacri-4x.pth
2024-08-28 16:41:04,246 | sd | DEBUG | sd_models | Pipeline class change: original=StableDiffusionPipeline target=StableDiffusionImg2ImgPipeline device=cuda:0 fn=process_diffusers
2024-08-28 16:41:04,247 | sd | INFO | processing_diffusers | HiRes: class=StableDiffusionImg2ImgPipeline sampler="Same as primary"
2024-08-28 16:41:04,249 | sd | DEBUG | processing_args | Sampler: steps=10 timesteps=[999, 850, 736, 645, 545, 455, 343, 233, 124, 24]
2024-08-28 16:41:04,250 | sd | DEBUG | processing_helpers | Torch generator: device=cuda seeds=[1113846852]
2024-08-28 16:41:04,251 | sd | DEBUG | processing_args | Diffuser pipeline: StableDiffusionImg2ImgPipeline task=DiffusersTaskType.IMAGE_2_IMAGE batch=1/1x1 set={'timesteps': [999, 850, 736, 645, 545, 455, 343, 233, 124, 24], 'prompt_embeds': torch.Size([1, 154, 768]), 'negative_prompt_embeds': torch.Size([1, 154, 768]), 'guidance_scale': 3, 'num_inference_steps': 67, 'eta': 1.0, 'output_type': 'latent', 'image': [<PIL.Image.Image image mode=RGB size=1024x1536 at 0x7FD4193DC9D0>], 'strength': 0.3, 'parser': 'Full parser'}
2024-08-28 16:41:09,268 | sd | TRACE | processing | Processing result: index=1/1 iteration=1/1
2024-08-28 16:41:09,290 | sd | INFO | processing | Processed: images=1 time=12.61 its=0.79 memory={'ram': {'used': 4.14, 'total': 39.18}, 'gpu': {'used': 4.62, 'total': 23.99}, 'retries': 0, 'oom': 0}
2024-08-28 16:41:09,301 | sd | TRACE | run | Control resize: op=after image=<PIL.Image.Image image mode=RGB size=1024x1536 at 0x7FD4194AD660> width=512 height=768 mode=1 name=ESRGAN 4x Remacri
2024-08-28 16:41:09,317 | sd | TRACE | ui_control | Control received: type=<class 'tuple'> (<PIL.Image.Image image mode=RGB size=512x768 at 0x7FD41B81FAC0>, None, 'Control output | 1 of 1 | Image 512x768')
2024-08-28 16:41:09,559 | sd | DEBUG | gr_tempdir | Save temp: image="/home/tillerz/images_temp/tmpgfx9x4ow.png" resolution=512x768 size=481856
2024-08-28 16:41:09,586 | sd | INFO | run | Control: pipeline units=0 process=0 time=12.64 init=0.01 proc=0.00 ctrl=12.63 outputs=1
2024-08-28 16:41:09,592 | sd | TRACE | run | Ready: | Time 12.94s | Images 1 | Size 512x768
2024-08-28 16:41:09,593 | sd | TRACE | ui_control | Control received: type=<class 'tuple'> ([<PIL.Image.Image image mode=RGB size=512x768 at 0x7FD41B81FAC0>], None, '<p>Ready | Time 12.94s | Images 1 | Size 512x768</p><p><b>Prompt:</b> watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), &lt;lora:add_detail:0.3&gt; &lt;lora:watercolorV1:0.4&gt; &lt;lora:breastsizeslideroffset:0.05&gt;</p><p><b>Negative:</b> child, loli, nude, topless</p><p><b>Parameters:</b> Steps: 10| Seed: 1113846852| Sampler: DPM++ 2M| CFG scale: 3.5| Size: 512x768| Parser: Full parser| Model: zo4-ra-art-if-noo-fcb3-rcr| Model hash: 0512113be6| Backend: Diffusers| App: SD.Next| Version: 65c137a| Operations: hires; upscale; txt2img| Pipeline: StableDiffusionPipeline| T5: T5 FP16| Second pass: True| Hires force: True| Hires steps: 20| Hires upscaler: ESRGAN 4x Remacri| Hires upscale: 2| Hires size: 1024x1536| Denoising strength: 0.8| Hires sampler: Same as primary| Image CFG scale: 3| CFG rescale: 0.7| Size before: 512x768| Size mode before: 1| Size scale before: 1| Size name before: ESRGAN 4x Remacri| Size after: 512x768| Size mode after: 1| Size scale after: 1| Size name after: ESRGAN 4x Remacri| Size mask: 512x768| Size mode mask: 1| Size scale mask: 1| Size name mask: ESRGAN 4x Remacri| ToDo: 0.5| FreeU: b1=1.2 b2=1.4 s1=0.9 s2=0.2| Lora hashes: add_detail: 7c6bad76, watercolorV1: 04e3354d, breastsizeslideroffset: ca4f2f9f| Sampler options: sde-dpmsolver++/order 2/low order| HiDiffusion Ratios: 0.2/0.1| HiDiffusion: True/True/True:8| Size-1: 512| Size-2: 768| Hires size-1: 1024| Hires size-2: 1536| Size before-1: 512| Size before-2: 768| Size after-1: 512| Size after-2: 768| Size mask-1: 512| Size mask-2: 768</p>', None)
2024-08-28 16:41:15,798 | sd | INFO | images | Save: image="/home/tillerz/images/2024-08-28/00122-20240828164114-1113846852.webp" type=WEBP resolution=512x768 size=40280
2024-08-28 16:41:15,872 | sd | INFO | images | Save: json="history.json" records=8929
2024-08-28 16:41:28,429 | sd | TRACE | ui_control | Control: tab="controlnet " job=task(szhir4e68qp3w44) args=(0, 'watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>', 'child, loli, nude, topless', [], 30, 5, -1.0, -1.0, 0, 0, 0, 3.5, 1, 3, 0.7, 0, 0.5, 1, True, False, False, True, 0, 0, 0, 0, False, 4, 0.95, False, 0.6, 1, '#000000', 0, 1, 'ESRGAN 4x Remacri', 768, 512, 1, 0, 1, 'ESRGAN 4x Remacri', 512, 768, 1, 0, 1, 'ESRGAN 4x Remacri', 512, 768, 1, 0, 0.8, 1, 1, True, 11, 0.3, 'ESRGAN 4x Remacri', True, 20, 2, 0, 0, 10, 0, '', '', 0, 'None', 2, True, 1, 0, 0, 1, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None, None, None, 0, 0, 0, 0, 1, 1, 1, 1, None, None, None, None, False, '', 'None', 16, 'None', 1, True, 'None', 2, True, 1, 0, True, 'none', 3, 4, 0.25, 0.25, False, False, {'ad_model': 'deepfashion2_yolov8s-seg.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, {'ad_model': 'female_breast-v4.2.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, '', '', 0.5, True, 1, False, 'None', None, 'None', 16, 'None', 2, True, 1, 0, 'none', 3, 4, 0.25, 0.25, 0.5, 0.5, 0.1, 1, True, '', 0.5, 0.9, '', 0.5, 0.9, 4, 0.5, 'Linear', 'None', 'OpenGVLab/InternVL-14B-224px', '<span>&nbsp Outpainting</span><br>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<span>&nbsp SD Upscale</span><br>', 64, 0, 2, 'SVD 1.0', 14, True, 1, 3, 6, 0.5, 0.1, 'None', 2, True, 1, 0, 0, '', [], 0, '', [], 0, '', [], False, True, False, False, False, False, 0, 'None', [], 'FaceID Base', True, True, 1, 1, 1, 0.5, True, 'person', 1, 0.5, True)
2024-08-28 16:41:28,437 | sd | TRACE | run | Control: type=controlnet  input=None init=None type=0
2024-08-28 16:41:28,438 | sd | TRACE | run | Control unit: i=1 type=controlnet enabled=True
2024-08-28 16:41:28,438 | sd | DEBUG | run | Control process unit: i=1 process=None
2024-08-28 16:41:28,439 | sd | TRACE | run | Control unit: i=2 type=controlnet enabled=False
2024-08-28 16:41:28,439 | sd | TRACE | run | Control unit: i=3 type=controlnet enabled=False
2024-08-28 16:41:28,440 | sd | TRACE | run | Control unit: i=4 type=controlnet enabled=False
2024-08-28 16:41:28,440 | sd | TRACE | run | Control active: process=0 model=0
2024-08-28 16:41:28,441 | sd | TRACE | run | Control: run type=controlnet models=False pipe=StableDiffusionPipeline
2024-08-28 16:41:28,442 | sd | TRACE | run | Control pipeline: class=StableDiffusionPipeline args={'outpath_samples': '/home/tillerz/images', 'outpath_grids': '/home/tillerz/images', 'prompt': 'watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>', 'prompt_for_display': None, 'negative_prompt': 'child, loli, nude, topless', 'styles': [], 'seed': -1.0, 'subseed': -1.0, 'subseed_strength': 0, 'seed_resize_from_h': 0, 'seed_resize_from_w': 0, 'sampler_name': 'DPM++ 2M', 'hr_sampler_name': 'Same as primary', 'batch_size': 1, 'n_iter': 1, 'steps': 30, 'hr_second_pass_steps': 20, 'cfg_scale': 3.5, 'scale_by': 1, 'image_cfg_scale': 3, 'diffusers_guidance_rescale': 0.7, 'pag_scale': 0, 'pag_adaptive': 0.5, 'cfg_end': 1, 'width': 768, 'height': 512, 'full_quality': True, 'restore_faces': False, 'tiling': False, 'hidiffusion': True, 'do_not_save_samples': False, 'do_not_save_grid': False, 'extra_generation_params': {}, 'overlay_images': None, 'eta': None, 'do_not_reload_embeddings': False, 'paste_to': None, 'color_corrections': None, 'denoising_strength': 0.8, 'override_settings': {}, 'override_settings_restore_afterwards': True, 'is_using_inpainting_conditioning': False, 'disable_extra_networks': False, 'per_script_args': {}, 'all_prompts': None, 'all_negative_prompts': None, 'all_seeds': None, 'all_subseeds': None, 'clip_skip': 1, 'iteration': 0, 'is_control': False, 'is_hr_pass': False, 'is_refiner_pass': False, 'hr_force': True, 'enable_hr': True, 'hr_scale': 2, 'hr_upscaler': 'ESRGAN 4x Remacri', 'hr_resize_x': 0, 'hr_resize_y': 0, 'hr_upscale_to_x': 1536, 'hr_upscale_to_y': 1024, 'truncate_x': 0, 'truncate_y': 0, 'applied_old_hires_behavior_to': None, 'refiner_steps': 10, 'refiner_start': 0, 'refiner_prompt': '', 'refiner_negative': '', 'ops': [], 'resize_mode': 1, 'resize_name': 'ESRGAN 4x Remacri', 'ddim_discretize': 'uniform', 's_min_uncond': 0.0, 's_churn': 0.0, 's_noise': 1.0, 's_min': 0.0, 's_max': 0.0, 's_tmin': 0.0, 's_tmax': inf, 'task_args': {}, 'batch_index': 0, 'refiner_switch_at': 0, 'hr_prompt': '', 'all_hr_prompts': [], 'hr_negative_prompt': '', 'all_hr_negative_prompts': [], 'comments': {}, 'is_api': False, 'scripts_value': None, 'script_args_value': [], 'scripts_setup_complete': Field(name=None,type=None,default=False,default_factory=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,init=False,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,_field_type=None), 'ip_adapter_names': [], 'ip_adapter_scales': [0.0], 'ip_adapter_images': [], 'ip_adapter_starts': [0.0], 'ip_adapter_ends': [1.0], 'hdr_mode': 0, 'hdr_brightness': 0, 'hdr_color': 0, 'hdr_sharpen': 0, 'hdr_clamp': False, 'hdr_boundary': 4, 'hdr_threshold': 0.95, 'hdr_maximize': False, 'hdr_max_center': 0.6, 'hdr_max_boundry': 1, 'hdr_color_picker': '#000000', 'hdr_tint_ratio': 0, 'scheduled_prompt': False, 'prompt_embeds': [], 'positive_pooleds': [], 'negative_embeds': [], 'negative_pooleds': [], 'init_images': None, 'hr_denoising_strength': 0.3, 'init_latent': None, 'image_mask': None, 'latent_mask': None, 'mask_for_overlay': None, 'mask_blur_x': 4, 'mask_blur_y': 4, 'mask_blur': 4, 'inpainting_fill': 1, 'inpaint_full_res': False, 'inpaint_full_res_padding': 0, 'inpainting_mask_invert': 0, 'initial_noise_multiplier': 1.0, 'mask': None, 'nmask': None, 'image_conditioning': None, 'is_batch': False, 'sampler': None, 'strength': 1.0, 'adapter_conditioning_scale': None, 'adapter_conditioning_factor': 1.0, 'guess_mode': None, 'controlnet_conditioning_scale': None, 'control_guidance_start': None, 'control_guidance_end': None, 'reference_attn': None, 'reference_adain': None, 'attention_auto_machine_weight': None, 'gn_auto_machine_weight': None, 'style_fidelity': None, 'ref_image': None, 'image': None, 'query_weight': None, 'adain_weight': None, 'attention': 'Attention', 'fidelity': 0.5, 'mask_image': None, 'override': None, 'resize_mode_before': 1, 'resize_name_before': 'ESRGAN 4x Remacri', 'width_before': 768, 'height_before': 512, 'scale_by_before': 1, 'selected_scale_tab_before': 0, 'resize_mode_after': 1, 'resize_name_after': 'ESRGAN 4x Remacri', 'width_after': 512, 'height_after': 768, 'scale_by_after': 1, 'selected_scale_tab_after': 0, 'resize_mode_mask': 1, 'resize_name_mask': 'ESRGAN 4x Remacri', 'width_mask': 512, 'height_mask': 768, 'scale_by_mask': 1, 'selected_scale_tab_mask': 0}
2024-08-28 16:41:28,448 | sd | TRACE | run | Control Control image: 1 of 1
2024-08-28 16:41:28,449 | sd | TRACE | run | Control Init image: none
2024-08-28 16:41:28,449 | sd | TRACE | run | Control processed: 0
2024-08-28 16:41:28,450 | sd | TRACE | run | Control processed: using input direct
2024-08-28 16:41:28,450 | sd | TRACE | run | Control yield: process | 1 of 1 | Image None
2024-08-28 16:41:28,451 | sd | TRACE | ui_control | Control received: type=<class 'tuple'> (None, None, 'Control process | 1 of 1 | Image None')
2024-08-28 16:41:28,452 | sd | TRACE | run | Control exec pipeline: task=DiffusersTaskType.TEXT_2_IMAGE class=<class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion.StableDiffusionPipeline'>
2024-08-28 16:41:28,453 | sd | TRACE | processing | Process images: {'outpath_samples': '/home/tillerz/images', 'outpath_grids': '/home/tillerz/images', 'prompt': 'watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>', 'prompt_for_display': None, 'negative_prompt': 'child, loli, nude, topless', 'styles': [], 'seed': -1.0, 'subseed': -1.0, 'subseed_strength': 0, 'seed_resize_from_h': 0, 'seed_resize_from_w': 0, 'sampler_name': 'DPM++ 2M', 'hr_sampler_name': 'Same as primary', 'batch_size': 1, 'n_iter': 1, 'steps': 30, 'hr_second_pass_steps': 20, 'cfg_scale': 3.5, 'scale_by': 1, 'image_cfg_scale': 3, 'diffusers_guidance_rescale': 0.7, 'pag_scale': 0, 'pag_adaptive': 0.5, 'cfg_end': 1, 'width': 768, 'height': 512, 'full_quality': True, 'restore_faces': False, 'tiling': False, 'hidiffusion': True, 'do_not_save_samples': False, 'do_not_save_grid': False, 'extra_generation_params': {}, 'overlay_images': None, 'eta': None, 'do_not_reload_embeddings': False, 'paste_to': None, 'color_corrections': None, 'denoising_strength': 0.8, 'override_settings': {}, 'override_settings_restore_afterwards': True, 'is_using_inpainting_conditioning': False, 'disable_extra_networks': False, 'per_script_args': {}, 'all_prompts': None, 'all_negative_prompts': None, 'all_seeds': None, 'all_subseeds': None, 'clip_skip': 1, 'iteration': 0, 'is_control': False, 'is_hr_pass': False, 'is_refiner_pass': False, 'hr_force': True, 'enable_hr': True, 'hr_scale': 2, 'hr_upscaler': 'ESRGAN 4x Remacri', 'hr_resize_x': 0, 'hr_resize_y': 0, 'hr_upscale_to_x': 1536, 'hr_upscale_to_y': 1024, 'truncate_x': 0, 'truncate_y': 0, 'applied_old_hires_behavior_to': None, 'refiner_steps': 10, 'refiner_start': 0, 'refiner_prompt': '', 'refiner_negative': '', 'ops': [], 'resize_mode': 1, 'resize_name': 'ESRGAN 4x Remacri', 'ddim_discretize': 'uniform', 's_min_uncond': 0.0, 's_churn': 0.0, 's_noise': 1.0, 's_min': 0.0, 's_max': 0.0, 's_tmin': 0.0, 's_tmax': inf, 'task_args': {}, 'batch_index': 0, 'refiner_switch_at': 0, 'hr_prompt': '', 'all_hr_prompts': [], 'hr_negative_prompt': '', 'all_hr_negative_prompts': [], 'comments': {}, 'is_api': False, 'scripts_value': <modules.scripts.ScriptRunner object at 0x7fd448c28430>, 'script_args_value': (0, 1, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None, None, None, 0, 0, 0, 0, 1, 1, 1, 1, None, None, None, None, False, '', 'None', 16, 'None', 1, True, 'None', 2, True, 1, 0, True, 'none', 3, 4, 0.25, 0.25, False, False, {'ad_model': 'deepfashion2_yolov8s-seg.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, {'ad_model': 'female_breast-v4.2.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, '', '', 0.5, True, 1, False, 'None', None, 'None', 16, 'None', 2, True, 1, 0, 'none', 3, 4, 0.25, 0.25, 0.5, 0.5, 0.1, 1, True, '', 0.5, 0.9, '', 0.5, 0.9, 4, 0.5, 'Linear', 'None', 'OpenGVLab/InternVL-14B-224px', '<span>&nbsp Outpainting</span><br>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<span>&nbsp SD Upscale</span><br>', 64, 0, 2, 'SVD 1.0', 14, True, 1, 3, 6, 0.5, 0.1, 'None', 2, True, 1, 0, 0, '', [], 0, '', [], 0, '', [], False, True, False, False, False, False, 0, 'None', [], 'FaceID Base', True, True, 1, 1, 1, 0.5, True, 'person', 1, 0.5, True), 'scripts_setup_complete': Field(name=None,type=None,default=False,default_factory=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,init=False,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,_field_type=None), 'ip_adapter_names': [], 'ip_adapter_scales': [0.0], 'ip_adapter_images': [], 'ip_adapter_starts': [0.0], 'ip_adapter_ends': [1.0], 'hdr_mode': 0, 'hdr_brightness': 0, 'hdr_color': 0, 'hdr_sharpen': 0, 'hdr_clamp': False, 'hdr_boundary': 4, 'hdr_threshold': 0.95, 'hdr_maximize': False, 'hdr_max_center': 0.6, 'hdr_max_boundry': 1, 'hdr_color_picker': '#000000', 'hdr_tint_ratio': 0, 'scheduled_prompt': False, 'prompt_embeds': [], 'positive_pooleds': [], 'negative_embeds': [], 'negative_pooleds': [], 'hr_denoising_strength': 0.3, 'init_latent': None, 'image_mask': None, 'latent_mask': None, 'mask_for_overlay': None, 'mask_blur_x': 4, 'mask_blur_y': 4, 'mask_blur': 4, 'inpainting_fill': 1, 'inpaint_full_res': False, 'inpaint_full_res_padding': 0, 'inpainting_mask_invert': 0, 'initial_noise_multiplier': 1.0, 'mask': None, 'nmask': None, 'image_conditioning': None, 'is_batch': False, 'sampler': None, 'strength': 1.0, 'adapter_conditioning_scale': None, 'adapter_conditioning_factor': 1.0, 'guess_mode': None, 'controlnet_conditioning_scale': None, 'control_guidance_start': None, 'control_guidance_end': None, 'reference_attn': None, 'reference_adain': None, 'attention_auto_machine_weight': None, 'gn_auto_machine_weight': None, 'style_fidelity': None, 'ref_image': None, 'image': None, 'query_weight': None, 'adain_weight': None, 'attention': 'Attention', 'fidelity': 0.5, 'mask_image': None, 'override': None, 'resize_mode_before': 1, 'resize_name_before': 'ESRGAN 4x Remacri', 'width_before': 768, 'height_before': 512, 'scale_by_before': 1, 'selected_scale_tab_before': 0, 'resize_mode_after': 1, 'resize_name_after': 'ESRGAN 4x Remacri', 'width_after': 512, 'height_after': 768, 'scale_by_after': 1, 'selected_scale_tab_after': 0, 'resize_mode_mask': 1, 'resize_name_mask': 'ESRGAN 4x Remacri', 'width_mask': 512, 'height_mask': 768, 'scale_by_mask': 1, 'selected_scale_tab_mask': 0}
2024-08-28 16:41:28,465 | sd | INFO | sd_models | Applying ToDo: ratio=0.5
2024-08-28 16:41:28,466 | sd | INFO | sd_hijack_freeu | Applying free-u: b1=1.2 b2=1.4 s1=0.9 s2=0.2
2024-08-28 16:41:28,467 | sd | TRACE | processing | Processing inner: args={'outpath_samples': '/home/tillerz/images', 'outpath_grids': '/home/tillerz/images', 'prompt': 'watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>', 'prompt_for_display': None, 'negative_prompt': 'child, loli, nude, topless', 'styles': [], 'seed': -1.0, 'subseed': -1.0, 'subseed_strength': 0, 'seed_resize_from_h': 0, 'seed_resize_from_w': 0, 'sampler_name': 'DPM++ 2M', 'hr_sampler_name': 'Same as primary', 'batch_size': 1, 'n_iter': 1, 'steps': 30, 'hr_second_pass_steps': 20, 'cfg_scale': 3.5, 'scale_by': 1, 'image_cfg_scale': 3, 'diffusers_guidance_rescale': 0.7, 'pag_scale': 0, 'pag_adaptive': 0.5, 'cfg_end': 1, 'width': 768, 'height': 512, 'full_quality': True, 'restore_faces': False, 'tiling': False, 'hidiffusion': True, 'do_not_save_samples': False, 'do_not_save_grid': False, 'extra_generation_params': {'FreeU': 'b1=1.2 b2=1.4 s1=0.9 s2=0.2'}, 'overlay_images': None, 'eta': None, 'do_not_reload_embeddings': False, 'paste_to': None, 'color_corrections': [], 'denoising_strength': 0.8, 'override_settings': {}, 'override_settings_restore_afterwards': True, 'is_using_inpainting_conditioning': False, 'disable_extra_networks': False, 'per_script_args': {}, 'all_prompts': ['watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>'], 'all_negative_prompts': ['child, loli, nude, topless'], 'all_seeds': [3822234658], 'all_subseeds': [1569195032], 'clip_skip': 1, 'iteration': 0, 'is_control': False, 'is_hr_pass': False, 'is_refiner_pass': False, 'hr_force': True, 'enable_hr': True, 'hr_scale': 2, 'hr_upscaler': 'ESRGAN 4x Remacri', 'hr_resize_x': 0, 'hr_resize_y': 0, 'hr_upscale_to_x': 1536, 'hr_upscale_to_y': 1024, 'truncate_x': 0, 'truncate_y': 0, 'applied_old_hires_behavior_to': None, 'refiner_steps': 10, 'refiner_start': 0, 'refiner_prompt': '', 'refiner_negative': '', 'ops': [], 'resize_mode': 1, 'resize_name': 'ESRGAN 4x Remacri', 'ddim_discretize': 'uniform', 's_min_uncond': 0.0, 's_churn': 0.0, 's_noise': 1.0, 's_min': 0.0, 's_max': 0.0, 's_tmin': 0.0, 's_tmax': inf, 'task_args': {}, 'batch_index': 0, 'refiner_switch_at': 0, 'hr_prompt': '', 'all_hr_prompts': [], 'hr_negative_prompt': '', 'all_hr_negative_prompts': [], 'comments': {}, 'is_api': False, 'scripts_value': <modules.scripts.ScriptRunner object at 0x7fd448c28430>, 'script_args_value': (0, 1, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None, None, None, 0, 0, 0, 0, 1, 1, 1, 1, None, None, None, None, False, '', 'None', 16, 'None', 1, True, 'None', 2, True, 1, 0, True, 'none', 3, 4, 0.25, 0.25, False, False, {'ad_model': 'deepfashion2_yolov8s-seg.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, {'ad_model': 'female_breast-v4.2.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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, '', '', 0.5, True, 1, False, 'None', None, 'None', 16, 'None', 2, True, 1, 0, 'none', 3, 4, 0.25, 0.25, 0.5, 0.5, 0.1, 1, True, '', 0.5, 0.9, '', 0.5, 0.9, 4, 0.5, 'Linear', 'None', 'OpenGVLab/InternVL-14B-224px', '<span>&nbsp Outpainting</span><br>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<span>&nbsp SD Upscale</span><br>', 64, 0, 2, 'SVD 1.0', 14, True, 1, 3, 6, 0.5, 0.1, 'None', 2, True, 1, 0, 0, '', [], 0, '', [], 0, '', [], False, True, False, False, False, False, 0, 'None', [], 'FaceID Base', True, True, 1, 1, 1, 0.5, True, 'person', 1, 0.5, True), 'scripts_setup_complete': Field(name=None,type=None,default=False,default_factory=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,init=False,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=<dataclasses._MISSING_TYPE object at 0x7fd56fc022c0>,_field_type=None), 'ip_adapter_names': ['None'], 'ip_adapter_scales': [0.5], 'ip_adapter_images': [None], 'ip_adapter_starts': [0], 'ip_adapter_ends': [1], 'hdr_mode': 0, 'hdr_brightness': 0, 'hdr_color': 0, 'hdr_sharpen': 0, 'hdr_clamp': False, 'hdr_boundary': 4, 'hdr_threshold': 0.95, 'hdr_maximize': False, 'hdr_max_center': 0.6, 'hdr_max_boundry': 1, 'hdr_color_picker': '#000000', 'hdr_tint_ratio': 0, 'scheduled_prompt': False, 'prompt_embeds': [], 'positive_pooleds': [], 'negative_embeds': [], 'negative_pooleds': [], 'hr_denoising_strength': 0.3, 'init_latent': None, 'image_mask': None, 'latent_mask': None, 'mask_for_overlay': None, 'mask_blur_x': 4, 'mask_blur_y': 4, 'mask_blur': 4, 'inpainting_fill': 1, 'inpaint_full_res': False, 'inpaint_full_res_padding': 0, 'inpainting_mask_invert': 0, 'initial_noise_multiplier': 1.0, 'mask': None, 'nmask': None, 'image_conditioning': None, 'is_batch': False, 'sampler': None, 'strength': 1.0, 'adapter_conditioning_scale': None, 'adapter_conditioning_factor': 1.0, 'guess_mode': None, 'controlnet_conditioning_scale': None, 'control_guidance_start': None, 'control_guidance_end': None, 'reference_attn': None, 'reference_adain': None, 'attention_auto_machine_weight': None, 'gn_auto_machine_weight': None, 'style_fidelity': None, 'ref_image': None, 'image': None, 'query_weight': None, 'adain_weight': None, 'attention': 'Attention', 'fidelity': 0.5, 'mask_image': None, 'override': None, 'resize_mode_before': 1, 'resize_name_before': 'ESRGAN 4x Remacri', 'width_before': 768, 'height_before': 512, 'scale_by_before': 1, 'selected_scale_tab_before': 0, 'resize_mode_after': 1, 'resize_name_after': 'ESRGAN 4x Remacri', 'width_after': 512, 'height_after': 768, 'scale_by_after': 1, 'selected_scale_tab_after': 0, 'resize_mode_mask': 1, 'resize_name_mask': 'ESRGAN 4x Remacri', 'width_mask': 512, 'height_mask': 768, 'scale_by_mask': 1, 'selected_scale_tab_mask': 0, 'ip_adapter_masks': [], '_ad_disabled': True}
2024-08-28 16:41:28,478 | sd | TRACE | processing | Processing inner: iteration=1/1
2024-08-28 16:41:28,886 | sd | INFO | extra_networks_lora | LoRA apply: ['add_detail', 'watercolorV1', 'breastsizeslideroffset'] patch=0.00 load=0.40
2024-08-28 16:41:28,888 | sd | INFO | processing_diffusers | Base: class=StableDiffusionPipeline
2024-08-28 16:41:28,889 | sd | DEBUG | sd_samplers | Sampler: sampler="DPM++ 2M" config={'num_train_timesteps': 1000, 'beta_start': 0.00085, 'beta_end': 0.012, 'beta_schedule': 'scaled_linear', 'prediction_type': 'epsilon', 'thresholding': False, 'sample_max_value': 1.0, 'algorithm_type': 'sde-dpmsolver++', 'solver_type': 'midpoint', 'lower_order_final': True, 'use_karras_sigmas': False, 'final_sigmas_type': 'zero', 'timestep_spacing': 'leading', 'solver_order': 2}
2024-08-28 16:41:28,890 | sd | DEBUG | processing_args | Sampler: steps=10 timesteps=[999, 850, 736, 645, 545, 455, 343, 233, 124, 24]
2024-08-28 16:41:28,890 | sd | DEBUG | processing_helpers | Torch generator: device=cuda seeds=[3822234658]
2024-08-28 16:41:28,891 | sd | DEBUG | processing_args | Diffuser pipeline: StableDiffusionPipeline task=DiffusersTaskType.TEXT_2_IMAGE batch=1/1x1 set={'timesteps': [999, 850, 736, 645, 545, 455, 343, 233, 124, 24], 'prompt_embeds': torch.Size([1, 154, 768]), 'negative_prompt_embeds': torch.Size([1, 154, 768]), 'guidance_scale': 3.5, 'num_inference_steps': 30, 'eta': 1.0, 'guidance_rescale': 0.7, 'output_type': 'latent', 'width': 768, 'height': 512, 'parser': 'Full parser'}
2024-08-28 16:41:28,900 | sd | DEBUG | __init__ | HiDiffusion apply: raunet=True attn=True aggressive=True:8 t1=0.2 t2=0.1 time=0.00 type=sd width=768 height=512
2024-08-28 16:41:30,833 | sd | DEBUG | processing_class | Control hires: upscaler="ESRGAN 4x Remacri" upscale=2 size=1536x1024
2024-08-28 16:41:30,835 | sd | INFO | processing_diffusers | Upscale: upscaler="ESRGAN 4x Remacri" resize=0x0 upscale=1536x1024
2024-08-28 16:41:32,852 | sd | DEBUG | esrgan_model | Upscaler cached: type=ESRGAN model=/home/tillerz/models/ESRGAN/ESRGAN-Remacri-4x.pth
2024-08-28 16:41:34,698 | sd | DEBUG | sd_models | Pipeline class change: original=StableDiffusionPipeline target=StableDiffusionImg2ImgPipeline device=cuda:0 fn=process_diffusers
2024-08-28 16:41:34,699 | sd | INFO | processing_diffusers | HiRes: class=StableDiffusionImg2ImgPipeline sampler="Same as primary"
2024-08-28 16:41:34,701 | sd | DEBUG | processing_args | Sampler: steps=10 timesteps=[999, 850, 736, 645, 545, 455, 343, 233, 124, 24]
2024-08-28 16:41:34,702 | sd | DEBUG | processing_helpers | Torch generator: device=cuda seeds=[3822234658]
2024-08-28 16:41:34,702 | sd | DEBUG | processing_args | Diffuser pipeline: StableDiffusionImg2ImgPipeline task=DiffusersTaskType.IMAGE_2_IMAGE batch=1/1x1 set={'timesteps': [999, 850, 736, 645, 545, 455, 343, 233, 124, 24], 'prompt_embeds': torch.Size([1, 154, 768]), 'negative_prompt_embeds': torch.Size([1, 154, 768]), 'guidance_scale': 3, 'num_inference_steps': 67, 'eta': 1.0, 'output_type': 'latent', 'image': [<PIL.Image.Image image mode=RGB size=1536x1024 at 0x7FD4192A0100>], 'strength': 0.3, 'parser': 'Full parser'}
2024-08-28 16:41:39,781 | sd | TRACE | processing | Processing result: index=1/1 iteration=1/1
2024-08-28 16:41:39,798 | sd | INFO | processing | Processed: images=1 time=11.33 its=0.88 memory={'ram': {'used': 5.2, 'total': 39.18}, 'gpu': {'used': 4.63, 'total': 23.99}, 'retries': 0, 'oom': 0}
2024-08-28 16:41:39,809 | sd | TRACE | run | Control resize: op=after image=<PIL.Image.Image image mode=RGB size=1536x1024 at 0x7FD4192A0100> width=512 height=768 mode=1 name=ESRGAN 4x Remacri
2024-08-28 16:41:39,822 | sd | TRACE | ui_control | Control received: type=<class 'tuple'> (<PIL.Image.Image image mode=RGB size=512x768 at 0x7FD418BCD5A0>, None, 'Control output | 1 of 1 | Image 512x768')
2024-08-28 16:41:40,016 | sd | DEBUG | gr_tempdir | Save temp: image="/home/tillerz/images_temp/tmpskjj2kgn.png" resolution=512x768 size=415612
2024-08-28 16:41:40,039 | sd | INFO | run | Control: pipeline units=0 process=0 time=11.37 init=0.01 proc=0.00 ctrl=11.36 outputs=1
2024-08-28 16:41:40,044 | sd | TRACE | run | Ready: | Time 11.61s | Images 1 | Size 512x768
2024-08-28 16:41:40,045 | sd | TRACE | ui_control | Control received: type=<class 'tuple'> ([<PIL.Image.Image image mode=RGB size=512x768 at 0x7FD418BCD5A0>], None, '<p>Ready | Time 11.61s | Images 1 | Size 512x768</p><p><b>Prompt:</b> watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer garnet red polyester and tulle high-low offshoulder dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.1), (very low bulging neckline:1.3), (small bulging boobs), &lt;lora:add_detail:0.3&gt; &lt;lora:watercolorV1:0.4&gt; &lt;lora:breastsizeslideroffset:0.05&gt;</p><p><b>Negative:</b> child, loli, nude, topless</p><p><b>Parameters:</b> Steps: 10| Seed: 3822234658| Sampler: DPM++ 2M| CFG scale: 3.5| Size: 768x512| Parser: Full parser| Model: zo4-ra-art-if-noo-fcb3-rcr| Model hash: 0512113be6| Backend: Diffusers| App: SD.Next| Version: 65c137a| Operations: hires; upscale; txt2img| Pipeline: StableDiffusionPipeline| T5: T5 FP16| Second pass: True| Hires force: True| Hires steps: 20| Hires upscaler: ESRGAN 4x Remacri| Hires upscale: 2| Hires size: 1536x1024| Denoising strength: 0.8| Hires sampler: Same as primary| Image CFG scale: 3| CFG rescale: 0.7| Size before: 768x512| Size mode before: 1| Size scale before: 1| Size name before: ESRGAN 4x Remacri| Size after: 512x768| Size mode after: 1| Size scale after: 1| Size name after: ESRGAN 4x Remacri| Size mask: 512x768| Size mode mask: 1| Size scale mask: 1| Size name mask: ESRGAN 4x Remacri| ToDo: 0.5| FreeU: b1=1.2 b2=1.4 s1=0.9 s2=0.2| Lora hashes: add_detail: 7c6bad76, watercolorV1: 04e3354d, breastsizeslideroffset: ca4f2f9f| Sampler options: sde-dpmsolver++/order 2/low order| HiDiffusion Ratios: 0.2/0.1| HiDiffusion: True/True/True:8| Size-1: 768| Size-2: 512| Hires size-1: 1536| Hires size-2: 1024| Size before-1: 768| Size before-2: 512| Size after-1: 512| Size after-2: 768| Size mask-1: 512| Size mask-2: 768</p>', None)
2024-08-28 16:42:00,012 | sd | DEBUG | launch | Server: alive=True jobs=1 requests=146 uptime=100 memory=5.2/39.18 backend=Backend.DIFFUSERS state=job="Load" 0/-1
2024-08-28 16:44:00,140 | sd | DEBUG | launch | Server: alive=True jobs=1 requests=146 uptime=220 memory=5.21/39.18 backend=Backend.DIFFUSERS state=job="Load" 0/-1
vladmandic commented 2 months ago

ok, but there is no error now - is the issue different than original one? can you write down step-by-step to reproduce? i'm a bit lost.

Tillerz commented 2 months ago

Oh wait. That was wrong. I thought this was the other issue where when, you click the swap x/y resolution button, upscale renders in the old resolution. :-/ Let me check the reload problem.

Tillerz commented 2 months ago

Ok, here is the reload issue. What I did:

The log output is from right after clicking "Restore".

After the error SDNext is broken for me. I can go to the second Control tab and change the Resize value a bit and back to the desired value, but it still throws the error then. No idea how to get rid of the error without restarting SDNext.

Log

19:36:23-858815 TRACE    Control: tab="controlnet " job=task(umdnnwumbuxqkbj) args=(0, 'watercolor style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK,
                         closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer red polyester and tulle
                         offshoulder checkered dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.2), (very low bulging neckline:1.3), (small bulging boobs:1.2),
                         (gorgeous long narrow hips:1.2), <lora:add_detail:0.3> <lora:watercolorV1:0.4> <lora:breastsizeslideroffset:0.05>', 'child, loli, nude, topless, overweight, wide
                         hips, obese, fat', [], 10, 5, 501827587.0, -1.0, 0, 0, 0, 3.5, 1, 3, 0.7, 0, 0.5, 1, True, False, False, True, 0, 0, 0, 0, False, 4, 0.95, False, 0.6, 1,
                         '#000000', 0, None, 'ESRGAN 4x Remacri', 512, 768, 1, 0, None, 'ESRGAN 4x Remacri', 512, 768, 1, 0, None, 'ESRGAN 4x Remacri', 512, 768, 1, 0, 0.8, 1, 1, True,
                         11, 0.3, 'ESRGAN 4x Remacri', True, 20, 2, 0, 0, 10, 0, '', '', 0, 'None', 2, True, 1, 0, 0, 1, 'None', 'None', 'None', 'None', 0.5, 0.5, 0.5, 0.5, None, None,
                         None, None, 0, 0, 0, 0, 1, 1, 1, 1, None, None, None, None, False, '', 'None', 16, 'None', 1, True, 'None', 2, True, 1, 0, True, 'none', 3, 4, 0.25, 0.25, 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.0, 'ad_mask_max_ratio': 1.0, '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.0,
                         'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler':
                         'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0, 'ad_controlnet_guidance_start': 0.0,
                         'ad_controlnet_guidance_end': 1.0}, {'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.0, 'ad_mask_max_ratio': 1.0, '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.0, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False,
                         'ad_sampler': 'Default', 'ad_scheduler': 'Use same scheduler', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1.0, '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.0,
                         'ad_controlnet_guidance_start': 0.0, 'ad_controlnet_guidance_end': 1.0}, '', '', 0.5, True, 1, False, 'None', None, 'None', 16, 'None', 2, True, 1, 0, 'none', 3,
                         4, 0.25, 0.25, 0.5, 0.5, 0.1, 1, True, '', 0.5, 0.9, '', 0.5, 0.9, 4, 0.5, 'Linear', 'None', 'OpenGVLab/InternVL-14B-224px', '<span>&nbsp
                         Outpainting</span><br>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0,
                         False, False, '', '<span>&nbsp SD Upscale</span><br>', 64, 0, 2, 'SVD 1.0', 14, True, 1, 3, 6, 0.5, 0.1, 'None', 2, True, 1, 0, 0, '', [], 0, '', [], 0, '', [],
                         False, True, False, False, False, False, 0, 'None', [], 'FaceID Base', True, True, 1, 1, 1, 0.5, True, 'person', 1, 0.5, True)
19:36:23-868526 TRACE    Control: type=controlnet  input=None init=None type=0
19:36:23-869332 TRACE    Control unit: i=1 type=controlnet enabled=True
19:36:23-869947 TRACE    Control unit: i=2 type=controlnet enabled=False
19:36:23-870520 TRACE    Control unit: i=3 type=controlnet enabled=False
19:36:23-871091 TRACE    Control unit: i=4 type=controlnet enabled=False
19:36:23-871648 TRACE    Control active: process=0 model=0
19:36:23-872191 TRACE    Control: run type=controlnet models=False pipe=StableDiffusionPipeline
19:36:23-872805 TRACE    Control pipeline: class=StableDiffusionPipeline args={'outpath_samples': '/home/tillerz/images', 'outpath_grids': '/home/tillerz/images', 'prompt': 'watercolor
                         style, vivid, colorful, crowded regency era village, victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky
                         boobs, (jet black short curly pixie hair), (very sheer red polyester and tulle offshoulder checkered dress:1.1), beautiful shoulders, detailed eyes, action
                         scene, (nsfw:1.2), (very low bulging neckline:1.3), (small bulging boobs:1.2), (gorgeous long narrow hips:1.2), <lora:add_detail:0.3> <lora:watercolorV1:0.4>
                         <lora:breastsizeslideroffset:0.05>', 'prompt_for_display': None, 'negative_prompt': 'child, loli, nude, topless, overweight, wide hips, obese, fat', 'styles':
                         [], 'seed': 501827587.0, 'subseed': -1.0, 'subseed_strength': 0, 'seed_resize_from_h': 0, 'seed_resize_from_w': 0, 'sampler_name': 'DPM++ 2M', 'hr_sampler_name':
                         'Same as primary', 'batch_size': 1, 'n_iter': 1, 'steps': 10, 'hr_second_pass_steps': 20, 'cfg_scale': 3.5, 'scale_by': 1, 'image_cfg_scale': 3,
                         'diffusers_guidance_rescale': 0.7, 'pag_scale': 0, 'pag_adaptive': 0.5, 'cfg_end': 1, 'width': 512, 'height': 768, 'full_quality': True, 'restore_faces': False,
                         'tiling': False, 'hidiffusion': True, 'do_not_save_samples': False, 'do_not_save_grid': False, 'extra_generation_params': {}, 'overlay_images': None, 'eta':
                         None, 'do_not_reload_embeddings': False, 'paste_to': None, 'color_corrections': None, 'denoising_strength': 0.8, 'override_settings': {},
                         'override_settings_restore_afterwards': True, 'is_using_inpainting_conditioning': False, 'disable_extra_networks': False, 'per_script_args': {}, 'all_prompts':
                         None, 'all_negative_prompts': None, 'all_seeds': None, 'all_subseeds': None, 'clip_skip': 1, 'iteration': 0, 'is_control': False, 'is_hr_pass': False,
                         'is_refiner_pass': False, 'hr_force': True, 'enable_hr': True, 'hr_scale': 2, 'hr_upscaler': 'ESRGAN 4x Remacri', 'hr_resize_x': 0, 'hr_resize_y': 0,
                         'hr_upscale_to_x': 1024, 'hr_upscale_to_y': 1536, 'truncate_x': 0, 'truncate_y': 0, 'applied_old_hires_behavior_to': None, 'refiner_steps': 10, 'refiner_start':
                         0, 'refiner_prompt': '', 'refiner_negative': '', 'ops': [], 'resize_mode': None, 'resize_name': 'ESRGAN 4x Remacri', 'ddim_discretize': 'uniform',
                         's_min_uncond': 0.0, 's_churn': 0.0, 's_noise': 1.0, 's_min': 0.0, 's_max': 0.0, 's_tmin': 0.0, 's_tmax': inf, 'task_args': {}, 'batch_index': 0,
                         'refiner_switch_at': 0, 'hr_prompt': '', 'all_hr_prompts': [], 'hr_negative_prompt': '', 'all_hr_negative_prompts': [], 'comments': {}, 'is_api': False,
                         'scripts_value': None, 'script_args_value': [], 'scripts_setup_complete': Field(name=None,type=None,default=False,default_factory=<dataclasses._MISSING_TYPE
                         object at 0x7f1ac46fe230>,init=False,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=<dataclasses._MISSING_TYPE object at
                         0x7f1ac46fe230>,_field_type=None), 'ip_adapter_names': [], 'ip_adapter_scales': [0.0], 'ip_adapter_images': [], 'ip_adapter_starts': [0.0], 'ip_adapter_ends':
                         [1.0], 'hdr_mode': 0, 'hdr_brightness': 0, 'hdr_color': 0, 'hdr_sharpen': 0, 'hdr_clamp': False, 'hdr_boundary': 4, 'hdr_threshold': 0.95, 'hdr_maximize': False,
                         'hdr_max_center': 0.6, 'hdr_max_boundry': 1, 'hdr_color_picker': '#000000', 'hdr_tint_ratio': 0, 'scheduled_prompt': False, 'prompt_embeds': [],
                         'positive_pooleds': [], 'negative_embeds': [], 'negative_pooleds': [], 'init_images': None, 'hr_denoising_strength': 0.3, 'init_latent': None, 'image_mask':
                         None, 'latent_mask': None, 'mask_for_overlay': None, 'mask_blur_x': 4, 'mask_blur_y': 4, 'mask_blur': 4, 'inpainting_fill': 1, 'inpaint_full_res': False,
                         'inpaint_full_res_padding': 0, 'inpainting_mask_invert': 0, 'initial_noise_multiplier': 1.0, 'mask': None, 'nmask': None, 'image_conditioning': None, 'is_batch':
                         False, 'sampler': None, 'strength': 1.0, 'adapter_conditioning_scale': None, 'adapter_conditioning_factor': 1.0, 'guess_mode': None,
                         'controlnet_conditioning_scale': None, 'control_guidance_start': None, 'control_guidance_end': None, 'reference_attn': None, 'reference_adain': None,
                         'attention_auto_machine_weight': None, 'gn_auto_machine_weight': None, 'style_fidelity': None, 'ref_image': None, 'image': None, 'query_weight': None,
                         'adain_weight': None, 'attention': 'Attention', 'fidelity': 0.5, 'mask_image': None, 'override': None, 'resize_mode_before': None, 'resize_name_before': 'ESRGAN
                         4x Remacri', 'width_before': 512, 'height_before': 768, 'scale_by_before': 1, 'selected_scale_tab_before': 0, 'resize_mode_after': None, 'resize_name_after':
                         'ESRGAN 4x Remacri', 'width_after': 512, 'height_after': 768, 'scale_by_after': 1, 'selected_scale_tab_after': 0, 'resize_mode_mask': None, 'resize_name_mask':
                         'ESRGAN 4x Remacri', 'width_mask': 512, 'height_mask': 768, 'scale_by_mask': 1, 'selected_scale_tab_mask': 0}
19:36:23-879144 TRACE    Control Control image: 1 of 1
19:36:23-879772 TRACE    Control Init image: none
19:36:23-880294 TRACE    Control processed: 0
19:36:23-880821 TRACE    Control processed: using input direct
19:36:23-881346 TRACE    Control yield: process | 1 of 1 | Image None
19:36:23-881940 TRACE    Control received: type=<class 'tuple'> (None, None, 'Control process | 1 of 1 | Image None')
19:36:23-883236 TRACE    Control exec pipeline: task=DiffusersTaskType.TEXT_2_IMAGE class=<class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion.StableDiffusionPipeline'>
19:36:23-884877 INFO     Applying ToDo: ratio=0.5
19:36:23-885495 INFO     Applying free-u: b1=1.2 b2=1.4 s1=0.9 s2=0.2
Loading model: /home/tillerz/models/Lora/FAVES/add_detail.safetensors ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/37.9 MB -:--:--
Loading model: /home/tillerz/models/Lora/FAVES/watercolorV1.safetensors ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/151.1 MB -:--:--
19:36:24-295109 INFO     LoRA apply: ['add_detail', 'watercolorV1', 'breastsizeslideroffset'] patch=0.00 load=0.40
19:36:24-296323 INFO     Base: class=StableDiffusionPipeline
Progress  7.81it/s █████████████████████████████████ 100% 10/10 00:01 00:00 Base
19:36:25-977297 INFO     Upscale: upscaler="ESRGAN 4x Remacri" resize=0x0 upscale=1024x1536
Upscaling ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 0:00:01
19:36:29-810390 INFO     HiRes: class=StableDiffusionImg2ImgPipeline sampler="Same as primary"
Progress  1.85it/s ██████████████████████████████████ 100% 3/3 00:01 00:00 Hires
19:36:34-689380 INFO     Processed: images=1 time=10.80 its=0.93 memory={'ram': {'used': 5.25, 'total': 39.18}, 'gpu': {'used': 4.64, 'total': 23.99}, 'retries': 0, 'oom': 0}
19:36:34-704152 TRACE    Control resize: op=after image=<PIL.Image.Image image mode=RGB size=1024x1536 at 0x7F196927BD00> width=512 height=768 mode=None name=ESRGAN 4x Remacri
19:36:34-705395 ERROR    Control pipeline failed: type=controlnet units=0 error=Invalid resize mode: None
19:36:34-706248 ERROR    Control: ValueError
╭────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────────────╮
│ /home/tillerz/dev/modules/control/run.py:663 in control_run                                                                                                                            │
│                                                                                                                                                                                        │
│   662 │   │   │   │   │   │   │   │   debug(f'Control resize: op=after image={output_image} width={width_after} height={height_after} mode={resize_mode_after} name={resize_name_after │
│ ❱ 663 │   │   │   │   │   │   │   │   output_image = images.resize_image(resize_mode_after, output_image, width_after, height_after, resize_name_after)                                │
│   664                                                                                                                                                                                  │
│                                                                                                                                                                                        │
│ /home/tillerz/dev/modules/images.py:305 in resize_image                                                                                                                                │
│                                                                                                                                                                                        │
│   304 │   │   res = None                                                                                                                                                               │
│ ❱ 305 │   │   raise ValueError(f'Invalid resize mode: {resize_mode}')                                                                                                                  │
│   306 │   if output_type == 'np':                                                                                                                                                      │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: Invalid resize mode: None
19:36:34-800249 TRACE    Ready: | Images None
19:36:34-801097 TRACE    Control received: type=<class 'tuple'> (None, None, '<p>Ready | Images None</p><p><b>Prompt:</b> watercolor style, vivid, colorful, crowded regency era village,
                         victorian, medieval, BREAK, closeup portrait, 20 years old mature dancer Theresa Randall, bulging perky boobs, (jet black short curly pixie hair), (very sheer
                         red polyester and tulle offshoulder checkered dress:1.1), beautiful shoulders, detailed eyes, action scene, (nsfw:1.2), (very low bulging neckline:1.3), (small
                         bulging boobs:1.2), (gorgeous long narrow hips:1.2), &lt;lora:add_detail:0.3&gt; &lt;lora:watercolorV1:0.4&gt;
                         &lt;lora:breastsizeslideroffset:0.05&gt;</p><p><b>Negative:</b> child, loli, nude, topless, overweight, wide hips, obese, fat</p><p><b>Parameters:</b> Steps: 10|
                         Seed: 501827587| Sampler: DPM++ 2M| CFG scale: 3.5| Size: 512x768| Parser: Full parser| Model: zo4-ra-art-if-noo-fcb3-rcr| Model hash: 0512113be6| Backend:
                         Diffusers| App: SD.Next| Version: 65c137a| Operations: txt2img; hires; upscale| Pipeline: StableDiffusionPipeline| T5: T5 FP16| Second pass: True| Hires force:
                         True| Hires steps: 20| Hires upscaler: ESRGAN 4x Remacri| Hires upscale: 2| Hires size: 1024x1536| Denoising strength: 0.8| Hires sampler: Same as primary| Image
                         CFG scale: 3| CFG rescale: 0.7| ToDo: 0.5| FreeU: b1=1.2 b2=1.4 s1=0.9 s2=0.2| Lora hashes: add_detail: 7c6bad76, watercolorV1: 04e3354d, breastsizeslideroffset:
                         ca4f2f9f| Sampler options: sde-dpmsolver++/order 2/low order| HiDiffusion Ratios: 0.2/0.1| HiDiffusion: True/True/True:8| Size-1: 512| Size-2: 768| Hires size-1:
                         1024| Hires size-2: 1536</p>', None)
vladmandic commented 2 months ago

i still cannot reproduce, but this time log did show the additional info i've added this morning, so i've pushed a likely fix just now.

Tillerz commented 2 months ago

I guess it depends on what's in the local settings. I did a fresh checkout of /dev a few days ago and only copied over the settings, history file and 2 or 3 others. So it's probably something with one of those.

Tillerz commented 2 months ago

Ok, I can confirm it's fixed now. :)