fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

faststablediffusion

Open xiahongyu939 opened this issue 1 year ago • 12 comments

@TheLastBen Great God, when I was running this, the following code appeared when I generated the picture, which prevented me from generating the picture. Warning: unknown mime-type for "outputs/txt2img-images" -- using "application/octet-stream" Error: no "view" mailcap rules found for type "application/octet-stream" /usr/bin/xdg-open: 882: www-browser: not found /usr/bin/xdg-open: 882: links2: not found /usr/bin/xdg-open: 882: elinks: not found /usr/bin/xdg-open: 882: links: not found /usr/bin/xdg-open: 882: lynx: not found /usr/bin/xdg-open: 882: w3m: not found xdg-open: no method available for opening 'outputs/txt2img-images' 100% 50/50 [00:12<00:00, 3.97it/s]

xiahongyu939 avatar Feb 02 '25 02:02 xiahongyu939

do not click 📂button. it does not work in colab. if not, check your extensions.

Ineman avatar Feb 02 '25 05:02 Ineman

I didn't click the folder button, but I still couldn't generate it when I generated it.

xiahongyu939 avatar Feb 02 '25 07:02 xiahongyu939

Then what can I do to make the picture come out and find the solution steps?

xiahongyu939 avatar Feb 02 '25 07:02 xiahongyu939

do not click 📂button. it does not work in colab. if not, check your extensions.

Then what should I do?

xiahongyu939 avatar Feb 02 '25 11:02 xiahongyu939

do not click 📂button. it does not work in colab. if not, check your extensions.

Although there is no error in the code, I still can't generate a picture.

xiahongyu939 avatar Feb 02 '25 15:02 xiahongyu939

do not click 📂button. it does not work in colab. if not, check your extensions.

@TheLastBen I found a problem. If I input the prompt and adjust the precision, the picture can't be generated, but if I don't input the prompt, the picture can be generated. This has a big problem (error), and I checked my extensions and found that several of them have no time or branches (that is, several plug-ins have no time or branches), which may be the reason.

xiahongyu939 avatar Feb 02 '25 16:02 xiahongyu939

@TheLastBen Why can't I generate a picture when I enter a prompt word, but I can generate it without entering a prompt word?

xiahongyu939 avatar Feb 03 '25 02:02 xiahongyu939

@TheLastBen , Hello Ben, first of all, thank you very much for your notebook for Google Colab, as I use it a lot. I have a problem with the installation of the Reactor extension. This installation had been removed from GitHub due to deepfakes, but it has been uploaded again. When I try to install it, I get this error. Can you help me solve it? *** Error loading script: console_log_patch.py Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 515, in load_scripts script_module = script_loading.load_module(scriptfile.path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-reactor-sfw/scripts/console_log_patch.py", line 4, in import insightface File "/usr/local/lib/python3.11/dist-packages/insightface/init.py", line 18, in from . import app File "/usr/local/lib/python3.11/dist-packages/insightface/app/init.py", line 2, in from .mask_renderer import * File "/usr/local/lib/python3.11/dist-packages/insightface/app/mask_renderer.py", line 4, in import albumentations as A File "/usr/local/lib/python3.11/dist-packages/albumentations/init.py", line 3, in from .augmentations import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/init.py", line 5, in from .domain_adaptation import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/domain_adaptation/init.py", line 1, in from .functional import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/domain_adaptation/functional.py", line 13, in from albumentations.augmentations.utils import PCA ImportError: cannot import name 'PCA' from 'albumentations.augmentations.utils' (/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/utils.py)


*** Error loading script: reactor_api.py Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 515, in load_scripts script_module = script_loading.load_module(scriptfile.path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-reactor-sfw/scripts/reactor_api.py", line 28, in from scripts.reactor_swapper import EnhancementOptions, blend_faces, swap_face, DetectionOptions File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-reactor-sfw/scripts/reactor_swapper.py", line 11, in import insightface File "/usr/local/lib/python3.11/dist-packages/insightface/init.py", line 18, in from . import app File "/usr/local/lib/python3.11/dist-packages/insightface/app/init.py", line 2, in from .mask_renderer import * File "/usr/local/lib/python3.11/dist-packages/insightface/app/mask_renderer.py", line 4, in import albumentations as A File "/usr/local/lib/python3.11/dist-packages/albumentations/init.py", line 3, in from .augmentations import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/init.py", line 5, in from .domain_adaptation import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/domain_adaptation/init.py", line 1, in from .functional import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/domain_adaptation/functional.py", line 13, in from albumentations.augmentations.utils import PCA ImportError: cannot import name 'PCA' from 'albumentations.augmentations.utils' (/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/utils.py)


*** Error loading script: reactor_faceswap.py Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 515, in load_scripts script_module = script_loading.load_module(scriptfile.path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-reactor-sfw/scripts/reactor_faceswap.py", line 18, in from reactor_ui import ( File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-reactor-sfw/reactor_ui/init.py", line 2, in import reactor_ui.reactor_tools_ui as ui_tools File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-reactor-sfw/reactor_ui/reactor_tools_ui.py", line 2, in from scripts.reactor_swapper import build_face_model, blend_faces File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-reactor-sfw/scripts/reactor_swapper.py", line 11, in import insightface File "/usr/local/lib/python3.11/dist-packages/insightface/init.py", line 18, in from . import app File "/usr/local/lib/python3.11/dist-packages/insightface/app/init.py", line 2, in from .mask_renderer import * File "/usr/local/lib/python3.11/dist-packages/insightface/app/mask_renderer.py", line 4, in import albumentations as A File "/usr/local/lib/python3.11/dist-packages/albumentations/init.py", line 3, in from .augmentations import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/init.py", line 5, in from .domain_adaptation import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/domain_adaptation/init.py", line 1, in from .functional import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/domain_adaptation/functional.py", line 13, in from albumentations.augmentations.utils import PCA ImportError: cannot import name 'PCA' from 'albumentations.augmentations.utils' (/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/utils.py)


*** Error loading script: reactor_swapper.py Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 515, in load_scripts script_module = script_loading.load_module(scriptfile.path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-reactor-sfw/scripts/reactor_swapper.py", line 11, in import insightface File "/usr/local/lib/python3.11/dist-packages/insightface/init.py", line 18, in from . import app File "/usr/local/lib/python3.11/dist-packages/insightface/app/init.py", line 2, in from .mask_renderer import * File "/usr/local/lib/python3.11/dist-packages/insightface/app/mask_renderer.py", line 4, in import albumentations as A File "/usr/local/lib/python3.11/dist-packages/albumentations/init.py", line 3, in from .augmentations import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/init.py", line 5, in from .domain_adaptation import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/domain_adaptation/init.py", line 1, in from .functional import * File "/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/domain_adaptation/functional.py", line 13, in from albumentations.augmentations.utils import PCA ImportError: cannot import name 'PCA' from 'albumentations.augmentations.utils' (/usr/local/lib/python3.11/dist-packages/albumentations/augmentations/utils.py)


01:42:04 - ReActor - STATUS - Running v0.7.1-b3 on Device: CUDA Loading weights [ec41bd2a82] from /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/photon_v1.safetensors Creating model from config: /content/gdrive/MyDrive/sd/stable-diffusion-webui/configs/v1-inference.yaml Running on public URL: https://aaebe935990104dd82.gradio.live/ ✔ Connected Startup time: 14.8s (import torch: 5.1s, import gradio: 1.5s, setup paths: 1.2s, initialize shared: 0.1s, other imports: 0.8s, list SD models: 1.8s, load scripts: 1.5s, create ui: 0.6s, gradio launch: 1.5s, add APIs: 0.5s). Applying attention optimization: xformers... done. Model loaded in 3.9s (load weights from disk: 0.3s, create model: 0.9s, apply weights to model: 2.1s, calculate empty prompt: 0.3s).

When I start the notebook, the Reactor extension is not available. Thanks in advance, best regards and thank you very much!

RelbacSD avatar Feb 04 '25 01:02 RelbacSD

sd-webui-reactor-sfw

are you using the latest notebook ? because from albumentations.augmentations.utils import PCA works without an issue

TheLastBen avatar Feb 04 '25 18:02 TheLastBen

504 gateway time-out

xiahongyu939 avatar Feb 05 '25 04:02 xiahongyu939

I am experiencing the same issue. I ran "Start Stable-Diffusion" and clicked on the gradio.live URL, but it displayed "504 Gateway Time-out." I also tried launching a new notebook, but the result was the same. Do you know what might be causing this?

key-key123 avatar Feb 05 '25 05:02 key-key123

sd-webui-reactor-sfw

are you using the latest notebook ? because from albumentations.augmentations.utils import PCA works without an issue

@TheLastBen , yes, i'm using the latest notebook. I think that is a problem with the extension, but Idk how to solve it. Can you help me? Thank you in advance...

RelbacSD avatar Feb 05 '25 21:02 RelbacSD