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 421 forks source link

[Issue]: SDNext Face restore saving iterative images to output/save (when it shouldn't be). #3069

Closed jdknetts closed 6 months ago

jdknetts commented 6 months ago

Issue Description

Face Restore (built-in) is saving iterations/outputs to /outputs/save when not instructed to do so (for example, if there are five faces that get "restored", then it will save five files to /outputs/save). This behavior has been replicated in the dev branch running in Windows, and Ubuntu 22.04 on WSL2.

Version Platform Description

17:20:29-280204 INFO     Starting SD.Next
17:20:29-292660 INFO     Logger: file="F:\Vladmandic\dev\sdnext.log" level=DEBUG size=65 mode=create
17:20:29-294167 INFO     Python 3.10.11 on Windows
17:20:29-654396 INFO     Version: app=sd.next updated=2024-04-20 hash=6e79d5bb branch=dev
                         url=https://github.com/vladmandic/automatic.git/tree/dev
17:20:30-055087 INFO     Latest published version: 7ecc1d7d9a98172326aaa16088039439dcebb02d 2024-04-09T07:14:34Z
17:20:30-087140 INFO     Platform: arch=AMD64 cpu=AMD64 Family 25 Model 33 Stepping 2, AuthenticAMD system=Windows
                         release=Windows-10-10.0.22631-SP0 python=3.10.11
17:20:30-097927 DEBUG    Setting environment tuning
17:20:30-099436 DEBUG    HF cache folder: C:\Users\barro\.cache\huggingface\hub
17:20:30-100435 DEBUG    Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False
17:20:30-101432 DEBUG    Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True
17:20:30-104949 INFO     nVidia CUDA toolkit detected: nvidia-smi present
17:20:30-299412 DEBUG    Repository update time: Sat Apr 20 09:04:52 2024
17:20:30-300412 INFO     Startup: standard
17:20:30-301914 INFO     Verifying requirements
17:20:30-312924 INFO     Verifying packages
17:20:30-314938 INFO     Verifying submodules
17:20:34-922572 DEBUG    Submodule: extensions-builtin/sd-extension-chainner / main
17:20:35-102828 DEBUG    Submodule: extensions-builtin/sd-extension-system-info / main
17:20:35-282995 DEBUG    Submodule: extensions-builtin/sd-webui-agent-scheduler / main
17:20:35-466899 DEBUG    Submodule: extensions-builtin/stable-diffusion-webui-rembg / master
17:20:35-645794 DEBUG    Submodule: modules/k-diffusion / master
17:20:35-827062 DEBUG    Submodule: wiki / master
17:20:35-928772 DEBUG    Register paths
17:20:36-069198 DEBUG    Installed packages: 202
17:20:36-071199 DEBUG    Extensions all: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'stable-diffusion-webui-rembg']
17:20:36-351251 DEBUG    Running extension installer:
                         F:\Vladmandic\dev\extensions-builtin\sd-extension-system-info\install.py
17:20:36-921587 DEBUG    Running extension installer:
                         F:\Vladmandic\dev\extensions-builtin\sd-webui-agent-scheduler\install.py
17:20:37-474390 DEBUG    Running extension installer:
                         F:\Vladmandic\dev\extensions-builtin\stable-diffusion-webui-rembg\install.py
17:20:38-028204 DEBUG    Extensions all: []
17:20:38-029702 INFO     Extensions enabled: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'stable-diffusion-webui-rembg']
17:20:38-030702 INFO     Verifying requirements
17:20:38-040714 DEBUG    Setup complete without errors: 1713658838
17:20:38-047224 DEBUG    Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}
17:20:38-048723 DEBUG    Starting module: <module 'webui' from 'F:\\Vladmandic\\dev\\webui.py'>
17:20:38-050224 INFO     Command line args: ['--debug'] debug=True
17:20:38-051226 DEBUG    Env flags: []
17:20:43-894912 INFO     Load packages: {'torch': '2.2.2+cu121', 'diffusers': '0.27.2', 'gradio': '3.43.2'}
17:20:44-889381 DEBUG    Read: file="config.json" json=48 bytes=2209 time=0.000
17:20:44-892887 INFO     Engine: backend=Backend.DIFFUSERS compute=cuda device=cuda attention="Scaled-Dot-Product"
                         mode=no_grad
17:20:44-995039 INFO     Device: device=NVIDIA GeForce RTX 3090 Ti n=1 arch=sm_90 cap=(8, 6) cuda=12.1 cudnn=8801
                         driver=552.22
17:20:44-997038 DEBUG    Read: file="html\reference.json" json=38 bytes=22313 time=0.000
17:20:45-494987 DEBUG    ONNX: version=1.17.3 provider=CUDAExecutionProvider, available=['AzureExecutionProvider',
                         'CPUExecutionProvider']
17:20:45-751966 DEBUG    Importing LDM
17:20:45-776061 DEBUG    Entering start sequence
17:20:45-799602 DEBUG    Initializing
17:20:45-837153 INFO     Available VAEs: path="F:\MachineLearning\Models\VAE" items=5
17:20:45-839153 INFO     Disabled extensions: []
17:20:45-852670 DEBUG    Read: file="cache.json" json=2 bytes=3755 time=0.000
17:20:45-857184 DEBUG    Read: file="metadata.json" json=187 bytes=426968 time=0.002
17:20:45-870709 DEBUG    Scanning diffusers cache: folder=F:\MachineLearning\Models\Diffusers items=1 time=0.00
17:20:45-872210 INFO     Available models: path="F:\MachineLearning\Models\Stable-diffusion" items=88 time=0.03
17:20:46-130318 DEBUG    Load extensions
17:20:46-205017 INFO     Extension: script='extensions-builtin\Lora\scripts\lora_script.py' [2;36m17:20:46-198506[0m[2;36m
                         [0m[34mINFO    [0m LoRA networks: [33mavailable[0m=[1;36m88[0m [33mfolders[0m=[1;36m3[0m
17:20:46-615271 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
17:20:46-634352 DEBUG    Extensions init time: 0.50 sd-webui-agent-scheduler=0.37
17:20:46-648864 DEBUG    Read: file="html/upscalers.json" json=4 bytes=2672 time=0.000
17:20:46-651364 DEBUG    Read: file="extensions-builtin\sd-extension-chainner\models.json" json=24 bytes=2719 time=0.001
17:20:46-653874 DEBUG    chaiNNer models: path="F:\MachineLearning\Models\chaiNNer" defined=24 discovered=0 downloaded=1
17:20:46-658380 DEBUG    Load upscalers: total=52 downloaded=4 user=0 time=0.02 ['None', 'Lanczos', 'Nearest', 'ChaiNNer',
                         'ESRGAN', 'LDSR', 'RealESRGAN', 'SCUNet', 'SD', 'SwinIR']
17:20:46-684431 DEBUG    Load styles: folder="F:\MachineLearning\Models\styles" items=288 time=0.02
17:20:46-688930 DEBUG    Creating UI
17:20:46-689930 DEBUG    UI themes available: type=Standard themes=12
17:20:46-691941 INFO     UI theme: type=Standard name="black-teal" style=Auto
17:20:46-701951 DEBUG    UI theme: css="F:\Vladmandic\dev\javascript\black-teal.css" base="sdnext.css" user="None"
17:20:46-704965 DEBUG    UI initialize: txt2img
17:20:47-024112 DEBUG    Extra networks: page='model' items=126 subfolders=42 tab=txt2img
                         folders=['F:\\MachineLearning\\Models\\Stable-diffusion', 'F:\\MachineLearning\\Models\\Diffusers',
                         'models\\Reference'] list=0.27 thumb=0.04 desc=0.15 info=0.27 workers=4 sort=Default
17:20:47-068716 DEBUG    Extra networks: page='style' items=288 subfolders=1 tab=txt2img
                         folders=['F:\\MachineLearning\\Models\\styles', 'html'] list=0.22 thumb=0.00 desc=0.00 info=0.00
                         workers=4 sort=Default
17:20:47-074225 DEBUG    Extra networks: page='embedding' items=22 subfolders=0 tab=txt2img
                         folders=['F:\\MachineLearning\\Models\\embeddings'] list=0.20 thumb=0.04 desc=0.03 info=0.06
                         workers=4 sort=Default
17:20:47-077224 DEBUG    Extra networks: page='hypernetwork' items=0 subfolders=0 tab=txt2img
                         folders=['F:\\MachineLearning\\Models\\hypernetworks'] list=0.00 thumb=0.00 desc=0.00 info=0.00
                         workers=4 sort=Default
17:20:47-081223 DEBUG    Extra networks: page='vae' items=5 subfolders=0 tab=txt2img
                         folders=['F:\\MachineLearning\\Models\\VAE'] list=0.16 thumb=0.12 desc=0.01 info=0.01 workers=4
                         sort=Default
17:20:47-098267 DEBUG    Extra networks: page='lora' items=88 subfolders=6 tab=txt2img
                         folders=['F:\\MachineLearning\\Models\\Lora', 'F:\\MachineLearning\\Models\\LyCORIS'] list=0.22
                         thumb=0.02 desc=0.08 info=0.36 workers=4 sort=Default
17:20:47-164857 DEBUG    UI initialize: img2img
17:20:47-253981 DEBUG    UI initialize: control models=F:\MachineLearning\Models\control
17:20:47-842215 DEBUG    Read: file="ui-config.json" json=0 bytes=2 time=0.000
17:20:47-928892 DEBUG    UI themes available: type=Standard themes=12
17:20:48-034554 DEBUG    Reading failed: F:\Vladmandic\dev\html\extensions.json [Errno 2] No such file or directory:
                         'F:\\Vladmandic\\dev\\html\\extensions.json'
17:20:48-036558 INFO     Extension list is empty: refresh required
17:20:49-004690 DEBUG    Extension list: processed=5 installed=5 enabled=5 disabled=0 visible=5 hidden=0
17:20:49-118661 DEBUG    Root paths: ['F:\\Vladmandic\\dev']
17:20:49-240873 INFO     Local URL: http://127.0.0.1:7860/
17:20:49-242372 DEBUG    Gradio functions: registered=1606
17:20:49-244884 DEBUG    FastAPI middleware: ['Middleware', 'Middleware']
17:20:49-248389 DEBUG    Creating API
17:20:49-595975 INFO     [AgentScheduler] Task queue is empty
17:20:49-597477 INFO     [AgentScheduler] Registering APIs
17:20:49-774739 DEBUG    Scripts setup: ['IP Adapters:0.017', 'AnimateDiff:0.009', 'X/Y/Z Grid:0.011', 'Face:0.011',
                         'Image-to-Video:0.006', 'LEdits++:0.169', 'Stable Video Diffusion:0.005']
17:20:49-776239 DEBUG    Model metadata: file="metadata.json" no changes
17:20:49-778739 DEBUG    Model requested: fn=<lambda>
17:20:49-780236 INFO     Select: model="IndigoMix\indigoFurryMix_v110Realistic [e0ba240086]"
17:20:49-782235 DEBUG    Load model: existing=False
                         target=F:\MachineLearning\Models\Stable-diffusion\IndigoMix\indigoFurryMix_v110Realistic.safetensor
                         s info=None
17:20:49-811295 DEBUG    Desired Torch parameters: dtype=FP16 no-half=False no-half-vae=False upscast=False
17:20:49-812795 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
17:20:49-815305 INFO     Loading VAE: model=F:\MachineLearning\Models\VAE\furception_vae_1-0.safetensors source=settings
17:20:49-816305 DEBUG    Diffusers VAE load config: {'low_cpu_mem_usage': False, 'torch_dtype': torch.float16,
                         'use_safetensors': True, 'variant': 'fp16'}
17:20:49-818305 INFO     Autodetect: vae="Stable Diffusion" class=StableDiffusionPipeline
                         file="F:\MachineLearning\Models\Stable-diffusion\IndigoMix\indigoFurryMix_v110Realistic.safetensors
                         " size=2034MB
17:20:49-969801 DEBUG    Diffusers loading:
                         path="F:\MachineLearning\Models\Stable-diffusion\IndigoMix\indigoFurryMix_v110Realistic.safetensors
                         "
17:20:49-972301 INFO     Autodetect: model="Stable Diffusion" class=StableDiffusionPipeline
                         file="F:\MachineLearning\Models\Stable-diffusion\IndigoMix\indigoFurryMix_v110Realistic.safetensors
                         " size=2034MB
17:20:51-405176 DEBUG    Setting model: pipeline=StableDiffusionPipeline config={'low_cpu_mem_usage': True, 'torch_dtype':
                         torch.float16, 'load_connected_pipeline': True, 'extract_ema': True, 'original_config_file':
                         'configs/v1-inference.yaml', 'use_safetensors': True}
17:20:51-407176 DEBUG    Setting model VAE: name=furception_vae_1-0.safetensors
17:20:51-408673 DEBUG    Setting model: enable VAE slicing
17:20:51-432525 INFO     MOTD: N/A
17:20:52-385644 INFO     Load embeddings: loaded=14 skipped=8 time=0.08
17:20:52-607589 DEBUG    GC: collected=7577 device=cuda {'ram': {'used': 1.09, 'total': 63.92}, 'gpu': {'used': 3.4,
                         'total': 23.99}, 'retries': 0, 'oom': 0} time=0.22
17:20:52-612589 INFO     Load model: time=2.60 load=2.60 native=512 {'ram': {'used': 1.09, 'total': 63.92}, 'gpu': {'used':
                         3.4, 'total': 23.99}, 'retries': 0, 'oom': 0}
17:20:52-615600 DEBUG    Script callback init time: system-info.py:app_started=0.26 task_scheduler.py:app_started=0.19
17:20:52-617102 INFO     Startup time: 14.56 torch=4.77 gradio=1.03 diffusers=0.05 libraries=1.86 samplers=0.05
                         extensions=0.50 face-restore=0.26 ui-en=0.49 ui-img2img=0.06 ui-control=0.26 ui-models=0.22
                         ui-settings=0.19 ui-extensions=1.01 ui-defaults=0.06 launch=0.17 api=0.08 app-started=0.45
                         checkpoint=2.84
17:20:52-619102 DEBUG    Save: file="config.json" json=48 bytes=2137 time=0.004

### Relevant log output

```shell
17:27:59-952805 DEBUG    Server: alive=True jobs=1 requests=164 uptime=436 memory=1.11/63.92 backend=Backend.DIFFUSERS
                         state=idle
17:28:00-861125 INFO     Applying free-u: b1=1.2 b2=1.4 s1=0.9 s2=0.2
17:28:00-863125 INFO     Applying hypertile: unet=384
17:28:00-887808 INFO     Base: class=StableDiffusionPipeline
17:28:00-892808 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': True, 'final_sigmas_type': 'zero',
                         'timestep_spacing': 'leading'}
17:28:01-252931 DEBUG    Diffuser pipeline: StableDiffusionPipeline task=DiffusersTaskType.TEXT_2_IMAGE
                         set={'prompt_embeds': torch.Size([1, 77, 768]), 'negative_prompt_embeds': torch.Size([1, 77, 768]),
                         'guidance_scale': 7.5, 'generator': device(type='cuda'), 'num_inference_steps': 35, 'eta': 1.0,
                         'guidance_rescale': 0.7, 'output_type': 'latent', 'width': 768, 'height': 1024, 'parser': 'Full
                         parser'}
Progress  1.61it/s █▉                                   6% 2/35 00:01 00:20 Base17:28:02-837332 DEBUG    VAE load: type=approximate model=F:\MachineLearning\Models\VAE-approx\model.pt
Progress  6.68it/s █████████████████████████████████ 100% 35/35 00:05 00:00 Base
17:28:08-364088 INFO     Loading: type=FaceHires model=F:\MachineLearning\Models\yolo\yolov8n-face.pt
17:28:10-371214 DEBUG    Face HiRes: faces=[{'score': 0.7705078, 'box': [706, 426, 734, 465], 'mask': <PIL.Image.Image image
                         mode=L size=768x1024 at 0x2489E6C7E80>, 'size': 0.0013885498046875}, {'score': 0.59277344, 'box':
                         [348, 154, 430, 253], 'mask': <PIL.Image.Image image mode=L size=768x1024 at 0x2489E6C42B0>,
                         'size': 0.01032257080078125}, {'score': 0.5756836, 'box': [576, 474, 593, 499], 'mask':
                         <PIL.Image.Image image mode=L size=768x1024 at 0x2489E6C5210>, 'size': 0.0005404154459635416},
                         {'score': 0.5390625, 'box': [575, 458, 602, 496], 'mask': <PIL.Image.Image image mode=L
                         size=768x1024 at 0x2489E506080>, 'size': 0.00130462646484375}] strength=0.4 blur=10 padding=15
                         steps=20
17:28:10-376628 DEBUG    Pipeline class change: original=StableDiffusionPipeline target=StableDiffusionInpaintPipeline
                         device=cuda:0 fn=init
17:28:10-392680 DEBUG    Mask: size=768x1024 masked=9368px area=0.01 auto=None blur=0.052 erode=0.01 dilate=0.078125
                         type=Grayscale time=0.01
17:28:10-528890 INFO     Base: class=StableDiffusionInpaintPipeline
17:28:10-530891 DEBUG    Sampler: sampler="DDIM" config={'num_train_timesteps': 1000, 'beta_start': 0.00085, 'beta_end':
                         0.012, 'beta_schedule': 'scaled_linear', 'prediction_type': 'epsilon', 'clip_sample': False,
                         'set_alpha_to_one': True, 'steps_offset': 1, 'clip_sample_range': 1.0, 'sample_max_value': 1.0,
                         'timestep_spacing': 'leading', 'rescale_betas_zero_snr': False}
17:28:10-626640 DEBUG    Diffuser pipeline: StableDiffusionInpaintPipeline task=DiffusersTaskType.INPAINTING
                         set={'prompt_embeds': torch.Size([1, 77, 768]), 'negative_prompt_embeds': torch.Size([1, 77, 768]),
                         'guidance_scale': 7.0, 'generator': device(type='cuda'), 'num_inference_steps': 50, 'eta': 1.0,
                         'output_type': 'latent', 'image': [<PIL.Image.Image image mode=RGB size=512x512 at 0x2489E6C49A0>],
                         'mask_image': <PIL.Image.Image image mode=L size=512x512 at 0x2489E6C6140>, 'strength': 0.4,
                         'height': 512, 'width': 512, 'parser': 'Full parser'}
Progress  9.67it/s █████████████████████████████████ 100% 20/20 00:02 00:00 Base
17:28:13-685458 DEBUG    Applying color correction: correction=(512, 512, 3) image=<PIL.Image.Image image mode=RGB
                         size=512x512 at 0x2489E6C4F40>
17:28:14-272233 INFO     Saving: image="F:\outputs\save\2024-04-20\00090-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.png" type=PNG resolution=768x1024 size=0
17:28:14-278748 INFO     Saving: text="F:\outputs\save\2024-04-20\00090-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.txt" len=848
17:28:14-493148 INFO     Processed: images=1 time=4.12 its=4.86 memory={'ram': {'used': 2.12, 'total': 63.92}, 'gpu':
                         {'used': 3.51, 'total': 23.99}, 'retries': 0, 'oom': 0}
17:28:14-517696 DEBUG    Mask: size=768x1024 masked=24352px area=0.03 auto=None blur=0.052 erode=0.01 dilate=0.078125
                         type=Grayscale time=0.01
17:28:14-570305 INFO     Base: class=StableDiffusionInpaintPipeline
17:28:14-571806 DEBUG    Sampler: sampler="DDIM" config={'num_train_timesteps': 1000, 'beta_start': 0.00085, 'beta_end':
                         0.012, 'beta_schedule': 'scaled_linear', 'prediction_type': 'epsilon', 'clip_sample': False,
                         'set_alpha_to_one': True, 'steps_offset': 1, 'clip_sample_range': 1.0, 'sample_max_value': 1.0,
                         'timestep_spacing': 'leading', 'rescale_betas_zero_snr': False}
17:28:14-661767 DEBUG    Diffuser pipeline: StableDiffusionInpaintPipeline task=DiffusersTaskType.INPAINTING
                         set={'prompt_embeds': torch.Size([1, 77, 768]), 'negative_prompt_embeds': torch.Size([1, 77, 768]),
                         'guidance_scale': 7.0, 'generator': device(type='cuda'), 'num_inference_steps': 50, 'eta': 1.0,
                         'output_type': 'latent', 'image': [<PIL.Image.Image image mode=RGB size=512x512 at 0x2489E6ABB20>],
                         'mask_image': <PIL.Image.Image image mode=L size=512x512 at 0x2489E6AA860>, 'strength': 0.4,
                         'height': 512, 'width': 512, 'parser': 'Full parser'}
Progress 19.00it/s █████████████████████████████████ 100% 20/20 00:01 00:00 Base
17:28:15-858751 DEBUG    Applying color correction: correction=(512, 512, 3) image=<PIL.Image.Image image mode=RGB
                         size=512x512 at 0x2489E565CF0>
17:28:16-242599 INFO     Saving: image="F:\outputs\save\2024-04-20\00091-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.png" type=PNG resolution=768x1024 size=0
17:28:16-248609 INFO     Saving: text="F:\outputs\save\2024-04-20\00091-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.txt" len=848
17:28:16-469177 INFO     Processed: images=1 time=1.96 its=10.18 memory={'ram': {'used': 2.12, 'total': 63.92}, 'gpu':
                         {'used': 4.28, 'total': 23.99}, 'retries': 0, 'oom': 0}
17:28:16-492696 DEBUG    Mask: size=768x1024 masked=7068px area=0.01 auto=None blur=0.052 erode=0.01 dilate=0.078125
                         type=Grayscale time=0.01
17:28:16-538294 INFO     Base: class=StableDiffusionInpaintPipeline
17:28:16-540292 DEBUG    Sampler: sampler="DDIM" config={'num_train_timesteps': 1000, 'beta_start': 0.00085, 'beta_end':
                         0.012, 'beta_schedule': 'scaled_linear', 'prediction_type': 'epsilon', 'clip_sample': False,
                         'set_alpha_to_one': True, 'steps_offset': 1, 'clip_sample_range': 1.0, 'sample_max_value': 1.0,
                         'timestep_spacing': 'leading', 'rescale_betas_zero_snr': False}
17:28:16-638051 DEBUG    Diffuser pipeline: StableDiffusionInpaintPipeline task=DiffusersTaskType.INPAINTING
                         set={'prompt_embeds': torch.Size([1, 77, 768]), 'negative_prompt_embeds': torch.Size([1, 77, 768]),
                         'guidance_scale': 7.0, 'generator': device(type='cuda'), 'num_inference_steps': 50, 'eta': 1.0,
                         'output_type': 'latent', 'image': [<PIL.Image.Image image mode=RGB size=512x512 at 0x2489E2C89D0>],
                         'mask_image': <PIL.Image.Image image mode=L size=512x512 at 0x2489E25FC70>, 'strength': 0.4,
                         'height': 512, 'width': 512, 'parser': 'Full parser'}
Progress 18.87it/s █████████████████████████████████ 100% 20/20 00:01 00:00 Base
17:28:17-837643 DEBUG    Applying color correction: correction=(512, 512, 3) image=<PIL.Image.Image image mode=RGB
                         size=512x512 at 0x2489E6770A0>
17:28:18-612280 INFO     Saving: image="F:\outputs\save\2024-04-20\00092-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.png" type=PNG resolution=768x1024 size=0
17:28:18-617796 INFO     Saving: text="F:\outputs\save\2024-04-20\00092-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.txt" len=848
17:28:18-835625 INFO     Processed: images=1 time=2.36 its=8.49 memory={'ram': {'used': 2.12, 'total': 63.92}, 'gpu':
                         {'used': 4.28, 'total': 23.99}, 'retries': 0, 'oom': 0}
17:28:18-859145 DEBUG    Mask: size=768x1024 masked=9256px area=0.01 auto=None blur=0.052 erode=0.01 dilate=0.078125
                         type=Grayscale time=0.01
17:28:18-902203 INFO     Base: class=StableDiffusionInpaintPipeline
17:28:18-903702 DEBUG    Sampler: sampler="DDIM" config={'num_train_timesteps': 1000, 'beta_start': 0.00085, 'beta_end':
                         0.012, 'beta_schedule': 'scaled_linear', 'prediction_type': 'epsilon', 'clip_sample': False,
                         'set_alpha_to_one': True, 'steps_offset': 1, 'clip_sample_range': 1.0, 'sample_max_value': 1.0,
                         'timestep_spacing': 'leading', 'rescale_betas_zero_snr': False}
17:28:18-996460 DEBUG    Diffuser pipeline: StableDiffusionInpaintPipeline task=DiffusersTaskType.INPAINTING
                         set={'prompt_embeds': torch.Size([1, 77, 768]), 'negative_prompt_embeds': torch.Size([1, 77, 768]),
                         'guidance_scale': 7.0, 'generator': device(type='cuda'), 'num_inference_steps': 50, 'eta': 1.0,
                         'output_type': 'latent', 'image': [<PIL.Image.Image image mode=RGB size=512x512 at 0x2489E2A18D0>],
                         'mask_image': <PIL.Image.Image image mode=L size=512x512 at 0x2489E23CEB0>, 'strength': 0.4,
                         'height': 512, 'width': 512, 'parser': 'Full parser'}
Progress 18.66it/s █████████████████████████████████ 100% 20/20 00:01 00:00 Base
17:28:20-208800 DEBUG    Applying color correction: correction=(512, 512, 3) image=<PIL.Image.Image image mode=RGB
                         size=512x512 at 0x2489E565C90>
17:28:20-939958 INFO     Saving: image="F:\outputs\save\2024-04-20\00093-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.png" type=PNG resolution=768x1024 size=0
17:28:20-945478 INFO     Saving: text="F:\outputs\save\2024-04-20\00093-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.txt" len=848
17:28:21-160877 INFO     Processed: images=1 time=2.31 its=8.64 memory={'ram': {'used': 2.12, 'total': 63.92}, 'gpu':
                         {'used': 4.28, 'total': 23.99}, 'retries': 0, 'oom': 0}
17:28:21-179906 INFO     Saving: image="F:\outputs\text\2024-04-20\00073-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.png" type=PNG resolution=768x1024 size=0
17:28:21-185416 INFO     Saving: text="F:\outputs\text\2024-04-20\00073-indigoFurryMix_v110Realistic-best quality solo slim
                         male anthro red fox.txt" len=790
17:28:21-402138 INFO     Processed: images=1 time=20.53 its=1.70 memory={'ram': {'used': 2.11, 'total': 63.92}, 'gpu':
                         {'used': 4.28, 'total': 23.99}, 'retries': 0, 'oom': 0}

Backend

Diffusers

Branch

Dev

Model

SD 1.5

Acknowledgements

vladmandic commented 6 months ago

fixed.