AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.09k stars 26.97k forks source link

[Bug]: using any tool on the extras tab strips all image generation data from the png #10396

Open Raivshard opened 1 year ago

Raivshard commented 1 year ago

Is there an existing issue for this?

What happened?

I sent an image to extras. I used the face fixer. I uploaded the result to civitAI, which informed me that it was missing image generation data. I double checked the file sizes, and sure enough, the one in the extras tab is smaller

Steps to reproduce the problem

do anything in te extas tab. it will remove all image generation data

What should have happened?

it should not do that. this is utterly idiotic behaviour

Commit where the problem happens

I have no idea where to find that information. Since you're requesting it, you should probably also make this a clear and easy thing for people to find within the UI.

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

--opt-sdp-attention --medvram --opt-split-attention --api --opt-channelslast --cors-allow-origins http://localhost:5173 --gradio-img2img-tool color-sketch

also a buch of custom paths, but you don't need that

List of extensions

Abysz-LAB-Ext https://github.com/AbyszOne/Abysz-LAB-Ext.git deff0d4b (Sat Apr 15 04:28:34 2023) unknown Cozy-Nest https://github.com/Nevysha/Cozy-Nest.git 0bf3ed9e (Sat May 6 09:10:08 2023) unknown Stable-Diffusion-Webui-Civitai-Helper
UnivAICharGen https://github.com/Klokinator/UnivAICharGen.git 42cb859f (Mon Feb 27 13:51:58 2023) unknown a1111-sd-webui-lycoris https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git 514511d7 (Thu May 4 16:31:40 2023) unknown a1111-sd-webui-tagcomplete https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git 5d5db7ba (Sun May 7 18:45:20 2023) unknown batch-face-swap https://github.com/kex0/batch-face-swap.git caecdecd (Sat May 6 06:50:54 2023) unknown depthmap2mask https://github.com/Extraltodeus/depthmap2mask.git 377e9224 (Thu Apr 13 04:10:08 2023) unknown multidiffusion-upscaler-for-automatic1111 https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git f54a8fc5 (Sat May 6 10:31:08 2023) unknown openOutpaint-webUI-extension https://github.com/zero01101/openOutpaint-webUI-extension 5e84d6d5 (Mon Apr 10 23:01:41 2023) unknown openpose-editor unknown sd-dynamic-prompts https://github.com/adieyal/sd-dynamic-prompts a53adac9 (Sun Apr 23 13:28:49 2023) unknown sd-dynamic-thresholding https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git 5d3465c4 (Wed Apr 12 12:39:43 2023) unknown sd-web-ui-quickcss https://github.com/Gerschel/sd-web-ui-quickcss c7a7d097 (Wed Apr 26 18:17:08 2023) unknown sd-webui-3d-open-pose-editor https://github.com/nonnonstop/sd-webui-3d-open-pose-editor.git f2d5aac5 (Sat Apr 15 13:21:06 2023) unknown sd-webui-ar https://github.com/alemelis/sd-webui-ar.git 9df49dc2 (Wed Apr 12 09:23:17 2023) unknown sd-webui-aspect-ratio-helper https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git b03cce20 (Mon Apr 10 21:17:00 2023) unknown sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet.git c9c8ca6e (Sun May 7 17:15:00 2023) unknown sd-webui-infinite-image-browsing https://github.com/zanllp/sd-webui-infinite-image-browsing.git c1eac249 (Sun May 7 14:07:34 2023) unknown sd-webui-llul https://github.com/hnmr293/sd-webui-llul.git aa47b3ee (Thu May 4 16:14:34 2023) unknown sd-webui-lora-block-weight https://github.com/hako-mikan/sd-webui-lora-block-weight.git d5df7612 (Tue May 2 15:16:30 2023) unknown sd-webui-regional-prompter https://github.com/hako-mikan/sd-webui-regional-prompter.git a5fd8533 (Sun May 7 09:00:58 2023) unknown sd-webui-supermerger https://github.com/hako-mikan/sd-webui-supermerger.git 2c004060 (Tue May 2 10:00:48 2023) unknown sd_save_intermediate_images https://github.com/AlUlkesh/sd_save_intermediate_images 8115a847 (Mon Mar 27 13:58:26 2023) unknown sdweb-merge-block-weighted-gui https://github.com/bbc-mc/sdweb-merge-block-weighted-gui.git 8a62a753 (Thu Jan 19 21:31:06 2023) unknown stable-diffusion-webui-aesthetic-gradients https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients.git 2624e5dd (Fri Jan 6 10:59:30 2023) unknown stable-diffusion-webui-anti-burn https://github.com/klimaleksus/stable-diffusion-webui-anti-burn.git 4d678f1f (Sun Feb 19 19:22:44 2023) unknown stable-diffusion-webui-composable-lora https://github.com/opparco/stable-diffusion-webui-composable-lora.git d4963e48 (Mon Feb 27 17:40:08 2023) unknown stable-diffusion-webui-model-toolkit https://github.com/arenatemp/stable-diffusion-webui-model-toolkit aa22150a (Wed Apr 12 10:35:33 2023) unknown stable-diffusion-webui-sonar https://github.com/Kahsolt/stable-diffusion-webui-sonar.git 6cf2cf3f (Thu Mar 9 11:50:57 2023) unknown stable-diffusion-webui-state https://github.com/ilian6806/stable-diffusion-webui-state.git 4cc8fa3c (Tue Apr 11 10:25:08 2023) unknown stable-diffusion-webui-two-shot https://github.com/opparco/stable-diffusion-webui-two-shot.git 9936c52e (Sun Feb 19 08:40:41 2023) unknown ultimate-upscale-for-automatic1111 https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git 756bb505 (Fri May 5 00:22:21 2023) unknown LDSR built-in
Lora built-in
ScuNET built-in
SwinIR built-in
prompt-bracket-checker built-in

Console logs

there are no console errors.

Additional information

This has ben an existing issue for a very long time. Why is it still a problem?

Raivshard commented 1 year ago

And yes, I understand that if someone wants to rules-lawyer it, this can easily be considered an oversight instead of a bug. No user will care about that nitpick, and it needs fixing either way.

missionfloyd commented 1 year ago

Is "face fixer" an extension? The included extras scripts (postprocessing_*.py) do preserve generation data.

Check this image in PNG Info. It's been scaled to 2x using "Single Image" on the extras tab. 00000

Raivshard commented 1 year ago

No. This is the included codeformer and GFPGAN code