-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: TypeError: kill() missing 1 required positional argument: 'self' #494
Comments
This issue occurred after I updated the extensions |
Did you solve it? Same problem |
same |
Same problem File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/scripts_postprocessing.py", line 113, in setup_ui |
Did anyone resolve it ? |
I faced the same issue with stable_diffusion_1_5_webui_colab stable colab, and I changed |
Very useful. Thank you. |
What happened?
Requirement already satisfied: networkx>=2.2 in /usr/local/lib/python3.10/dist-packages (from scikit-image->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (3.2.1)
Requirement already satisfied: imageio>=2.4.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (2.31.6)
Requirement already satisfied: tifffile>=2019.7.26 in /usr/local/lib/python3.10/dist-packages (from scikit-image->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (2023.12.9)
Requirement already satisfied: PyWavelets>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (1.5.0)
Requirement already satisfied: humanfriendly>=9.1 in /usr/local/lib/python3.10/dist-packages (from coloredlogs->onnxruntime==1.15.0->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 3)) (10.0)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (1.2.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (4.46.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (1.4.5)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (3.1.1)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (2.8.2)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.10/dist-packages (from prettytable->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (0.2.12)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.10/dist-packages (from requests->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (1.26.18)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (2023.11.17)
Requirement already satisfied: joblib>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-learn->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (1.3.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (3.2.0)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->onnxruntime==1.15.0->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 3)) (1.3.0)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib->insightface==0.7.3->-r /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-roop/requirements.txt (line 1)) (1.16.0)
Building wheels for collected packages: insightface
Building wheel for insightface (pyproject.toml): started
Building wheel for insightface (pyproject.toml): finished with status 'done'
Created wheel for insightface: filename=insightface-0.7.3-cp310-cp310-linux_x86_64.whl size=1054328 sha256=5737c6526edef65c9edd9705c38f5110da31b8b9aec3778d50b2bed0c16a8e53
Stored in directory: /root/.cache/pip/wheels/e3/d0/80/e3773fb8b6d1cca87ea1d33d9b1f20a223a6493c896da249b5
Successfully built insightface
Installing collected packages: opencv-python, onnx, onnxruntime, ifnude, insightface
Attempting uninstall: opencv-python
Found existing installation: opencv-python 4.8.0.76
Uninstalling opencv-python-4.8.0.76:
Successfully uninstalled opencv-python-4.8.0.76
Attempting uninstall: onnx
Found existing installation: onnx 1.15.0
Uninstalling onnx-1.15.0:
Successfully uninstalled onnx-1.15.0
Attempting uninstall: onnxruntime
Found existing installation: onnxruntime 1.16.3
Uninstalling onnxruntime-1.16.3:
Successfully uninstalled onnxruntime-1.16.3
Successfully installed ifnude-0.0.3 insightface-0.7.3 onnx-1.14.0 onnxruntime-1.15.0 opencv-python-4.7.0.72
Requirement already satisfied: onnxruntime-gpu in /usr/local/lib/python3.10/dist-packages (1.12.1)
Collecting onnxruntime-gpu
Downloading onnxruntime_gpu-1.16.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (157.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.1/157.1 MB 7.2 MB/s eta 0:00:00
Requirement already satisfied: coloredlogs in /usr/local/lib/python3.10/dist-packages (from onnxruntime-gpu) (15.0.1)
Requirement already satisfied: flatbuffers in /usr/local/lib/python3.10/dist-packages (from onnxruntime-gpu) (23.5.26)
Requirement already satisfied: numpy>=1.21.6 in /usr/local/lib/python3.10/dist-packages (from onnxruntime-gpu) (1.23.3)
Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from onnxruntime-gpu) (23.2)
Requirement already satisfied: protobuf in /usr/local/lib/python3.10/dist-packages (from onnxruntime-gpu) (3.20.3)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from onnxruntime-gpu) (1.12)
Requirement already satisfied: humanfriendly>=9.1 in /usr/local/lib/python3.10/dist-packages (from coloredlogs->onnxruntime-gpu) (10.0)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->onnxruntime-gpu) (1.3.0)
Installing collected packages: onnxruntime-gpu
Attempting uninstall: onnxruntime-gpu
Found existing installation: onnxruntime-gpu 1.12.1
Uninstalling onnxruntime-gpu-1.12.1:
Successfully uninstalled onnxruntime-gpu-1.12.1
Successfully installed onnxruntime-gpu-1.16.3
ReActor preheating... Device: CUDA
Faceswaplab : Use GPU requirements
Checking faceswaplab requirements
0.7960847240001385
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --clip-models-path /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/CLIP --ckpt-dir /content/fused-models --lora-dir /content/fused-lora --multiple
2023-12-20 08:29:11.779914: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-12-20 08:29:11.780033: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-12-20 08:29:11.899624: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-12-20 08:29:14.209698: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
/usr/local/lib/python3.10/dist-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
Error loading script: ddetailerutils.py
Traceback (most recent call last):
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-deepface-1111/scripts/ddetailerutils.py", line 78, in
import mmcv
ModuleNotFoundError: No module named 'mmcv'
Error loading script: deepfacelive.py
Traceback (most recent call last):
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-deepface-1111/scripts/deepfacelive.py", line 24, in
from scripts.ddetailerutils import DetectionDetailerScript, preload_ddetailer_model
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-deepface-1111/scripts/ddetailerutils.py", line 78, in
import mmcv
ModuleNotFoundError: No module named 'mmcv'
[AddNet] Updating model hashes...
100% 1/1 [00:00<00:00, 1.34it/s]
[AddNet] Updating model hashes...
100% 1/1 [00:00<00:00, 198.09it/s]
dirname: /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/localizations
localizations: {'zh_CN': '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/localizations/zh_CN.json', 'zh-Hans (Stable) [vladmandic]': '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/stable-diffusion-webui-localization-zh_Hans/localizations/zh-Hans (Stable) [vladmandic].json', 'zh-Hans (Stable)': '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/stable-diffusion-webui-localization-zh_Hans-master/localizations/zh-Hans (Stable).json', 'zh-Hans (Testing) [vladmandic]': '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/stable-diffusion-webui-localization-zh_Hans/localizations/zh-Hans (Testing) [vladmandic].json', 'zh-Hans (Testing)': '/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/stable-diffusion-webui-localization-zh_Hans-master/localizations/zh-Hans (Testing).json'}
ControlNet preprocessor location: /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
Warning: ControlNet failed to load SGM - will use LDM instead.
2023-12-20 08:32:02,303 - ControlNet - INFO - ControlNet v1.1.423
2023-12-20 08:32:28,375 - ControlNet - INFO - ControlNet v1.1.423
Warning: ControlNet failed to load SGM - will use LDM instead.
2023-12-20 08:32:39,285 - FaceSwapLab - WARNING - Errors may occur with gradio versions lower than 3.32.0. Your version : 3.23.0
08:33:14 - ReActor - STATUS - Running v0.6.0-a4
Downloading the detection model to /root/.ifnude/detector.onnx
Downloading: 139MB [00:01, 140MB/s]
Downloading the classes list to /root/.ifnude/classes
Downloading: 16.0kB [00:00, 61.3kB/s]
2023-12-20 08:33:20,497 - roop - INFO - roop v0.0.2
2023-12-20 08:33:20,601 - roop - INFO - roop v0.0.2
all detected, remote.moe trying to connect...
Warning: Permanently added 'localhost.run' (RSA) to the list of known hosts.
all detected, cloudflared trying to connect...
Download cloudflared...: 100% 34.8M/34.8M [00:00<00:00, 398MB/s]
Loading weights [ef76aa2332] from /content/fused-models/realisticVisionV51_v51VAE.safetensors
Creating model from config: /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
vocab.json: 100% 961k/961k [00:00<00:00, 1.94MB/s]
merges.txt: 100% 525k/525k [00:00<00:00, 1.09MB/s]
special_tokens_map.json: 100% 389/389 [00:00<00:00, 1.79MB/s]
tokenizer_config.json: 100% 905/905 [00:00<00:00, 5.38MB/s]
config.json: 100% 4.52k/4.52k [00:00<00:00, 21.0MB/s]
Applying xformers cross attention optimization.
No Image data blocks found.
No Image data blocks found.
No Image data blocks found.
Textual inversion embeddings loaded(10): badhandv4, ng_deepnegative_v1_75t, verybadimagenegative_v1.3, bad-artist, bad-image-v2-39000, EasyNegative, bad-hands-5, bad_prompt_version2, EasyNegativeV2, bad-artist-anime
Model loaded in 208.8s (load weights from disk: 104.3s, create model: 7.2s, apply weights to model: 43.3s, load textual inversion embeddings: 53.0s, scripts callbacks: 0.9s).
Error calling: /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-reactor/scripts/reactor_faceswap.py/ui
Traceback (most recent call last):
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/scripts.py", line 270, in wrap_call
res = func(*args, **kwargs)
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-reactor/scripts/reactor_faceswap.py", line 44, in ui
with ui_components.InputAccordion(False, label=f"{app_title}") as enable:
AttributeError: module 'modules.ui_components' has no attribute 'InputAccordion'
Error calling: /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-reactor/scripts/reactor_faceswap.py/ui
Traceback (most recent call last):
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/scripts.py", line 270, in wrap_call
res = func(*args, **kwargs)
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-reactor/scripts/reactor_faceswap.py", line 44, in ui
with ui_components.InputAccordion(False, label=f"{app_title}") as enable:
AttributeError: module 'modules.ui_components' has no attribute 'InputAccordion'
calling /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-reactor/scripts/reactor_faceswap.py/ui: AttributeError
Traceback (most recent call last):
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/scripts_postprocessing.py", line 53, in wrap_call
res = func(*args, **kwargs)
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/extensions/sd-webui-reactor/scripts/reactor_faceswap.py", line 414, in ui
with ui_components.InputAccordion(False, label=f"{app_title}") as enable:
AttributeError: module 'modules.ui_components' has no attribute 'InputAccordion'
Traceback (most recent call last):
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/launch.py", line 357, in
start()
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/launch.py", line 351, in start
webui.webui()
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/webui.py", line 243, in webui
shared.demo = modules.ui.create_ui()
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/ui.py", line 967, in create_ui
ui_postprocessing.create_ui()
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/ui_postprocessing.py", line 25, in create_ui
script_inputs = scripts.scripts_postproc.setup_ui()
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/scripts_postprocessing.py", line 113, in setup_ui
self.create_script_ui(script, inputs)
File "/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/modules/scripts_postprocessing.py", line 84, in create_script_ui
for control in script.controls.values():
AttributeError: 'NoneType' object has no attribute 'values'
Exception ignored in atexit callback: <function kill at 0x7d0ac8801090>
TypeError: kill() missing 1 required positional argument: 'self'
Colab cell output
Which colab and model(s) were you using when the error occurred?
https://github.com/camenduru/stable-diffusion-webui-colab
Which Public WebUI Colab URL were you using when the error occurred?
remote.moe
If you used HiRes mode when the error occurred, please provide the Hires info
No response
The text was updated successfully, but these errors were encountered: