Can't make Reactor work #289
Replies: 2 comments 5 replies
-
Hello!
|
Beta Was this translation helpful? Give feedback.
-
Please read the instruction carefully Also, you may have permission errors (like OSError: [Errno 2] No such file or directory - the file literally is "not visible" for execution) if your user doesn't have admin privileges, in this case you should open CMD (and not PowerShell) as Admin |
Beta Was this translation helpful? Give feedback.
-
venv "C:\AI\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Collecting insightface==0.7.3
Using cached insightface-0.7.3.tar.gz (439 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: numpy in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (1.23.5)
Requirement already satisfied: onnx in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (1.15.0)
Requirement already satisfied: tqdm in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (4.66.1)
Requirement already satisfied: requests in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (2.31.0)
Requirement already satisfied: matplotlib in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (3.8.2)
Requirement already satisfied: Pillow in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (9.5.0)
Requirement already satisfied: scipy in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (1.11.4)
Collecting scikit-learn (from insightface==0.7.3)
Using cached scikit_learn-1.3.2-cp310-cp310-win_amd64.whl.metadata (11 kB)
Requirement already satisfied: scikit-image in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from insightface==0.7.3) (0.21.0)
Collecting easydict (from insightface==0.7.3)
Using cached easydict-1.11-py3-none-any.whl
Collecting cython (from insightface==0.7.3)
Using cached Cython-3.0.7-cp310-cp310-win_amd64.whl.metadata (3.2 kB)
Collecting albumentations (from insightface==0.7.3)
Using cached albumentations-1.3.1-py3-none-any.whl.metadata (34 kB)
Collecting prettytable (from insightface==0.7.3)
Using cached prettytable-3.9.0-py3-none-any.whl.metadata (26 kB)
Requirement already satisfied: PyYAML in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from albumentations->insightface==0.7.3) (6.0.1)
Collecting qudida>=0.0.4 (from albumentations->insightface==0.7.3)
Using cached qudida-0.0.4-py3-none-any.whl (3.5 kB)
Collecting opencv-python-headless>=4.1.1 (from albumentations->insightface==0.7.3)
Using cached opencv_python_headless-4.8.1.78-cp37-abi3-win_amd64.whl.metadata (20 kB)
Requirement already satisfied: networkx>=2.8 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (3.2.1)
Requirement already satisfied: imageio>=2.27 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (2.33.1)
Requirement already satisfied: tifffile>=2022.8.12 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (2023.12.9)
Requirement already satisfied: PyWavelets>=1.1.1 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (1.5.0)
Requirement already satisfied: packaging>=21 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (23.2)
Requirement already satisfied: lazy_loader>=0.2 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (0.3)
Requirement already satisfied: contourpy>=1.0.1 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (1.2.0)
Requirement already satisfied: cycler>=0.10 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (4.47.0)
Requirement already satisfied: kiwisolver>=1.3.1 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (1.4.5)
Requirement already satisfied: pyparsing>=2.3.1 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (3.1.1)
Requirement already satisfied: python-dateutil>=2.7 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (2.8.2)
Requirement already satisfied: protobuf>=3.20.2 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from onnx->insightface==0.7.3) (4.25.1)
Requirement already satisfied: wcwidth in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from prettytable->insightface==0.7.3) (0.2.12)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from requests->insightface==0.7.3) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from requests->insightface==0.7.3) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from requests->insightface==0.7.3) (2.1.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from requests->insightface==0.7.3) (2023.11.17)
Collecting joblib>=1.1.1 (from scikit-learn->insightface==0.7.3)
Using cached joblib-1.3.2-py3-none-any.whl.metadata (5.4 kB)
Collecting threadpoolctl>=2.0.0 (from scikit-learn->insightface==0.7.3)
Using cached threadpoolctl-3.2.0-py3-none-any.whl.metadata (10.0 kB)
Requirement already satisfied: colorama in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from tqdm->insightface==0.7.3) (0.4.6)
Requirement already satisfied: six>=1.5 in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from python-dateutil>=2.7->matplotlib->insightface==0.7.3) (1.16.0)
Requirement already satisfied: typing-extensions in c:\ai\stable-diffusion-webui\venv\lib\site-packages (from qudida>=0.0.4->albumentations->insightface==0.7.3) (4.9.0)
Using cached albumentations-1.3.1-py3-none-any.whl (125 kB)
Using cached Cython-3.0.7-cp310-cp310-win_amd64.whl (2.8 MB)
Using cached prettytable-3.9.0-py3-none-any.whl (27 kB)
Using cached scikit_learn-1.3.2-cp310-cp310-win_amd64.whl (9.3 MB)
Using cached joblib-1.3.2-py3-none-any.whl (302 kB)
Using cached opencv_python_headless-4.8.1.78-cp37-abi3-win_amd64.whl (38.0 MB)
Using cached threadpoolctl-3.2.0-py3-none-any.whl (15 kB)
Building wheels for collected packages: insightface
Building wheel for insightface (pyproject.toml): started
Building wheel for insightface (pyproject.toml): finished with status 'error'
Failed to build insightface
ReActor preheating... Device: CUDA
Error: The 'insightface==0.7.3' distribution was not found and is required by the application
Requirement already satisfied: insightface==0.7.3 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from -r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (0.7.3)
Requirement already satisfied: onnx==1.14.0 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from -r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 2)) (1.14.0)
Requirement already satisfied: onnxruntime==1.15.0 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from -r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 3)) (1.15.0)
Requirement already satisfied: opencv-python==4.7.0.72 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from -r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 4)) (4.7.0.72)
Requirement already satisfied: ifnude in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from -r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 5)) (0.0.3)
Requirement already satisfied: cython in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from -r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 6)) (3.0.7)
Requirement already satisfied: numpy in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (1.26.2)
Requirement already satisfied: tqdm in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (4.66.1)
Requirement already satisfied: requests in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (2.31.0)
Requirement already satisfied: matplotlib in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (3.8.2)
Requirement already satisfied: Pillow in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (10.1.0)
Requirement already satisfied: scipy in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (1.11.4)
Requirement already satisfied: scikit-learn in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (1.3.2)
Requirement already satisfied: scikit-image in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (0.22.0)
Requirement already satisfied: easydict in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (1.11)
Requirement already satisfied: albumentations in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (1.3.1)
Requirement already satisfied: prettytable in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (3.9.0)
Requirement already satisfied: protobuf>=3.20.2 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from onnx==1.14.0->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 2)) (4.25.1)
Requirement already satisfied: typing-extensions>=3.6.2.1 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from onnx==1.14.0->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 2)) (4.9.0)
Requirement already satisfied: coloredlogs in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from onnxruntime==1.15.0->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 3)) (15.0.1)
Requirement already satisfied: flatbuffers in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from onnxruntime==1.15.0->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 3)) (23.5.26)
Requirement already satisfied: packaging in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from onnxruntime==1.15.0->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 3)) (23.2)
Requirement already satisfied: sympy in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from onnxruntime==1.15.0->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 3)) (1.12)
Requirement already satisfied: opencv-python-headless>=4.5.1.48 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from ifnude->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 5)) (4.8.1.78)
Requirement already satisfied: PyYAML in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from albumentations->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (6.0.1)
Requirement already satisfied: qudida>=0.0.4 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from albumentations->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (0.0.4)
Requirement already satisfied: networkx>=2.8 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from scikit-image->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (3.2.1)
Requirement already satisfied: imageio>=2.27 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from scikit-image->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (2.33.1)
Requirement already satisfied: tifffile>=2022.8.12 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from scikit-image->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (2023.12.9)
Requirement already satisfied: lazy_loader>=0.3 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from scikit-image->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (0.3)
Requirement already satisfied: humanfriendly>=9.1 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from coloredlogs->onnxruntime==1.15.0->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 3)) (10.0)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (1.2.0)
Requirement already satisfied: cycler>=0.10 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (4.47.0)
Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (1.4.5)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (3.1.1)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from matplotlib->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (2.8.2)
Requirement already satisfied: wcwidth in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from prettytable->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (0.2.12)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from requests->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from requests->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from requests->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (2.1.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from requests->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (2023.11.17)
Requirement already satisfied: joblib>=1.1.1 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (1.3.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (3.2.0)
Requirement already satisfied: mpmath>=0.19 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from sympy->onnxruntime==1.15.0->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 3)) (1.3.0)
Requirement already satisfied: colorama in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from tqdm->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (0.4.6)
Requirement already satisfied: pyreadline3 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime==1.15.0->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 3)) (3.4.1)
Requirement already satisfied: six>=1.5 in c:\users\over\appdata\local\programs\python\python310\lib\site-packages (from python-dateutil>=2.7->matplotlib->insightface==0.7.3->-r C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\requirements.txt (line 1)) (1.16.0)
Launching Web UI with arguments: --xformers --no-half-vae
Style database not found: C:\AI\stable-diffusion-webui\styles.csv
*** Error loading script: console_log_patch.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\console_log_patch.py", line 5, in
from insightface.model_zoo.model_zoo import ModelRouter, PickableInferenceSession
ModuleNotFoundError: No module named 'insightface.model_zoo'
*** Error loading script: reactor_api.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_api.py", line 17, in
from scripts.reactor_swapper import EnhancementOptions, swap_face
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 11, in
from insightface.app.common import Face
ModuleNotFoundError: No module named 'insightface.app'
*** Error loading script: reactor_faceswap.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 18, in
from reactor_ui import ui_main, ui_upscale, ui_tools, ui_settings
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\reactor_ui_init.py", line 2, in
import reactor_ui.reactor_tools_ui as ui_tools
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\reactor_ui\reactor_tools_ui.py", line 2, in
from scripts.reactor_swapper import build_face_model
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 11, in
from insightface.app.common import Face
ModuleNotFoundError: No module named 'insightface.app'
*** Error loading script: reactor_helpers.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_helpers.py", line 10, in
from insightface.app.common import Face
ModuleNotFoundError: No module named 'insightface.app'
*** Error loading script: reactor_logger.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_logger.py", line 7, in
from scripts.reactor_helpers import addLoggingLevel
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_helpers.py", line 10, in
from insightface.app.common import Face
ModuleNotFoundError: No module named 'insightface.app'
*** Error loading script: reactor_swapper.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 11, in
from insightface.app.common import Face
ModuleNotFoundError: No module named 'insightface.app'
*** Error loading script: reactor_version.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_version.py", line 4, in
from scripts.reactor_logger import logger, get_Run, set_Run
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_logger.py", line 7, in
from scripts.reactor_helpers import addLoggingLevel
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-reactor\scripts\reactor_helpers.py", line 10, in
from insightface.app.common import Face
ModuleNotFoundError: No module named 'insightface.app'
*** Error loading script: api.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\api.py", line 17, in
from scripts.faceswap import get_models
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\faceswap.py", line 16, in
from scripts.swapper import UpscaleOptions, swap_face, ImageResult
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\swapper.py", line 14, in
from scripts.cimage import convert_to_sd
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\cimage.py", line 2, in
from ifnude import detect
ModuleNotFoundError: No module named 'ifnude'
*** Error loading script: cimage.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\cimage.py", line 2, in
from ifnude import detect
ModuleNotFoundError: No module named 'ifnude'
*** Error loading script: faceswap.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\faceswap.py", line 16, in
from scripts.swapper import UpscaleOptions, swap_face, ImageResult
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\swapper.py", line 14, in
from scripts.cimage import convert_to_sd
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\cimage.py", line 2, in
from ifnude import detect
ModuleNotFoundError: No module named 'ifnude'
2023-12-29 04:47:28,850 - roop - INFO - roop v0.0.2
*** Error loading script: swapper.py
Traceback (most recent call last):
File "C:\AI\stable-diffusion-webui\modules\scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\AI\stable-diffusion-webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\swapper.py", line 14, in
from scripts.cimage import convert_to_sd
File "C:\AI\stable-diffusion-webui\extensions\sd-webui-roop\scripts\cimage.py", line 2, in
from ifnude import detect
ModuleNotFoundError: No module named 'ifnude'
Loading weights [73935648b8] from C:\AI\stable-diffusion-webui\models\Stable-diffusion\cyberrealistic_v41-inpainting.safetensors
Running on local URL: http://127.0.0.1:7861
Thanks for being a Gradio user! If you have questions or feedback, please join our Discord server and chat with us: https://discord.gg/feTf9x3ZSB
To create a public link, set
share=True
inlaunch()
.Creating model from config: C:\AI\stable-diffusion-webui\configs\v1-inpainting-inference.yaml
Startup time: 27.6s (prepare environment: 16.7s, import torch: 2.0s, import gradio: 0.7s, setup paths: 0.6s, initialize shared: 0.2s, other imports: 0.4s, load scripts: 0.6s, create ui: 0.3s, gradio launch: 6.0s).
Loading VAE weights specified in settings: C:\AI\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying attention optimization: xformers... done.
Model loaded in 9.5s (load weights from disk: 6.1s, create model: 0.2s, apply weights to model: 1.2s, apply dtype to VAE: 0.8s, load VAE: 0.2s, calculate empty prompt: 0.8s).
I'm desperate, tried everythink multiple times, any suggestions?
Updated everything, reinstalled visual studio, activated insightface==0.7.3 but this bug persists over and over... what am I missing
old wise habitants of github?
Beta Was this translation helpful? Give feedback.
All reactions