=3.20 Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 13.6 MB/s eta 0:00:00 Installing collected packages: protobuf Attempting uninstall: protobuf Found existing installation: protobuf 5.26.0 Uninstalling protobuf-5.26.0: Successfully uninstalled protobuf-5.26.0 Successfully installed protobuf-3.20.3 Checking roop requirements Install insightface==0.7.3 Installing sd-webui-roop requirement: insightface==0.7.3 Install onnx==1.14.0 Installing sd-webui-roop requirement: onnx==1.14.0 Install onnxruntime==1.15.0 Install"> =3.20 Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 13.6 MB/s eta 0:00:00 Installing collected packages: protobuf Attempting uninstall: protobuf Found existing installation: protobuf 5.26.0 Uninstalling protobuf-5.26.0: Successfully uninstalled protobuf-5.26.0 Successfully installed protobuf-3.20.3 Checking roop requirements Install insightface==0.7.3 Installing sd-webui-roop requirement: insightface==0.7.3 Install onnx==1.14.0 Installing sd-webui-roop requirement: onnx==1.14.0 Install onnxruntime==1.15.0 Install"> =3.20 Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 13.6 MB/s eta 0:00:00 Installing collected packages: protobuf Attempting uninstall: protobuf Found existing installation: protobuf 5.26.0 Uninstalling protobuf-5.26.0: Successfully uninstalled protobuf-5.26.0 Successfully installed protobuf-3.20.3 Checking roop requirements Install insightface==0.7.3 Installing sd-webui-roop requirement: insightface==0.7.3 Install onnx==1.14.0 Installing sd-webui-roop requirement: onnx==1.14.0 Install onnxruntime==1.15.0 Install">
/content/drive/MyDrive/AI_PICS/stable-diffusion-webui
WEBUI ARGUMENTS: --gradio-img2img-tool color-sketch --enable-insecure-extension-access --gradio-queue --share --gradio-auth "admin":"admin"
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Version: v1.5.1
Commit hash: 68f336bd994bed5442ad95bad6b6ad5564a5409a
Collecting protobuf<=3.9999,>=3.20
Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 13.6 MB/s eta 0:00:00
Installing collected packages: protobuf
Attempting uninstall: protobuf
Found existing installation: protobuf 5.26.0
Uninstalling protobuf-5.26.0:
Successfully uninstalled protobuf-5.26.0
Successfully installed protobuf-3.20.3
Checking roop requirements
Install insightface==0.7.3
Installing sd-webui-roop requirement: insightface==0.7.3
Install onnx==1.14.0
Installing sd-webui-roop requirement: onnx==1.14.0
Install onnxruntime==1.15.0
Installing sd-webui-roop requirement: onnxruntime==1.15.0
Install opencv-python==4.7.0.72
Installing sd-webui-roop requirement: opencv-python==4.7.0.72
Launching Web UI with arguments: --gradio-img2img-tool color-sketch --enable-insecure-extension-access --gradio-queue --share --gradio-auth admin:admin
2024-03-16 21:29:56.173939: 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
2024-03-16 21:29:56.173984: 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
2024-03-16 21:29:56.175415: 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
2024-03-16 21:29:56.182548: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-03-16 21:29:57.187430: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
/usr/local/lib/python3.10/dist-packages/gradio_client/documentation.py:103: UserWarning: Could not get documentation group for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix'
warnings.warn(f"Could not get documentation group for {cls}: {exc}")
/usr/local/lib/python3.10/dist-packages/gradio_client/documentation.py:103: UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix'
warnings.warn(f"Could not get documentation group for {cls}: {exc}")
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /content/drive/MyDrive/AI_PICS/stable-diffusion-webui/launch.py:39 in <module> │
│ │
│ 36 │
│ 37 │
│ 38 if __name__ == "__main__": │
│ ❱ 39 │ main() │
│ 40 │
│ │
│ /content/drive/MyDrive/AI_PICS/stable-diffusion-webui/launch.py:35 in main │
│ │
│ 32 │ if args.test_server: │
│ 33 │ │ configure_for_tests() │
│ 34 │ │
│ ❱ 35 │ start() │
│ 36 │
│ 37 │
│ 38 if __name__ == "__main__": │
│ │
│ /content/drive/MyDrive/AI_PICS/stable-diffusion-webui/modules/launch_utils.py:390 in start │
│ │
│ 387 │
│ 388 def start(): │
│ 389 │ print(f"Launching {'API server' if '--nowebui' in sys.argv else 'Web UI'} with argum │
│ ❱ 390 │ import webui │
│ 391 │ if '--nowebui' in sys.argv: │
│ 392 │ │ webui.api_only() │
│ 393 │ else: │
│ │
│ /content/drive/MyDrive/AI_PICS/stable-diffusion-webui/webui.py:61 in <module> │
│ │
│ 58 │ torch.__long_version__ = torch.__version__ │
│ 59 │ torch.__version__ = re.search(r'[\\d.]+[\\d]', torch.__version__).group(0) │
│ 60 │
│ ❱ 61 from modules import shared, sd_samplers, upscaler, extensions, localization, ui_tempdir, │
│ 62 import modules.codeformer_model as codeformer │
│ 63 import modules.face_restoration │
│ 64 import modules.gfpgan_model as gfpgan │
│ │
│ /content/drive/MyDrive/AI_PICS/stable-diffusion-webui/modules/ui_extra_networks.py:7 in <module> │
│ │
│ 4 │
│ 5 from modules import shared, ui_extra_networks_user_metadata, errors │
│ 6 from modules.images import read_info_from_image, save_image_with_geninfo │
│ ❱ 7 from modules.ui import up_down_symbol │
│ 8 import gradio as gr │
│ 9 import json │
│ 10 import html │
│ │
│ /content/drive/MyDrive/AI_PICS/stable-diffusion-webui/modules/ui.py:26 in <module> │
│ │
│ 23 │
│ 24 import modules.codeformer_model │
│ 25 import modules.generation_parameters_copypaste as parameters_copypaste │
│ ❱ 26 import modules.gfpgan_model │
│ 27 import modules.hypernetworks.ui │
│ 28 import modules.scripts │
│ 29 import modules.shared as shared │
│ │
│ /content/drive/MyDrive/AI_PICS/stable-diffusion-webui/modules/gfpgan_model.py:4 in <module> │
│ │
│ 1 import os │
│ 2 │
│ 3 import facexlib │
│ ❱ 4 import gfpgan │
│ 5 │
│ 6 import modules.face_restoration │
│ 7 from modules import paths, shared, devices, modelloader, errors │
│ │
│ /usr/local/lib/python3.10/dist-packages/gfpgan/__init__.py:2 in <module> │
│ │
│ 1 # flake8: noqa │
│ ❱ 2 from .archs import * │
│ 3 from .data import * │
│ 4 from .models import * │
│ 5 from .utils import * │
│ │
│ /usr/local/lib/python3.10/dist-packages/gfpgan/archs/__init__.py:2 in <module> │
│ │
│ 1 import importlib │
│ ❱ 2 from basicsr.utils import scandir │
│ 3 from os import path as osp │
│ 4 │
│ 5 # automatically scan and import arch modules for registry │
│ │
│ /usr/local/lib/python3.10/dist-packages/basicsr/__init__.py:4 in <module> │
│ │
│ 1 # <https://github.com/xinntao/BasicSR> │
│ 2 # flake8: noqa │
│ 3 from .archs import * │
│ ❱ 4 from .data import * │
│ 5 from .losses import * │
│ 6 from .metrics import * │
│ 7 from .models import * │
│ │
│ /usr/local/lib/python3.10/dist-packages/basicsr/data/__init__.py:22 in <module> │
│ │
│ 19 data_folder = osp.dirname(osp.abspath(__file__)) │
│ 20 dataset_filenames = [osp.splitext(osp.basename(v))[0] for v in scandir(data_folder) if v │
│ 21 # import all the dataset modules │
│ ❱ 22 _dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name i │
│ 23 │
│ 24 │
│ 25 def build_dataset(dataset_opt): │
│ │
│ /usr/local/lib/python3.10/dist-packages/basicsr/data/__init__.py:22 in <listcomp> │
│ │
│ 19 data_folder = osp.dirname(osp.abspath(__file__)) │
│ 20 dataset_filenames = [osp.splitext(osp.basename(v))[0] for v in scandir(data_folder) if v │
│ 21 # import all the dataset modules │
│ ❱ 22 _dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name i │
│ 23 │
│ 24 │
│ 25 def build_dataset(dataset_opt): │
│ │
│ /usr/lib/python3.10/importlib/__init__.py:126 in import_module │
│ │
│ 123 │ │ │ if character != '.': │
│ 124 │ │ │ │ break │
│ 125 │ │ │ level += 1 │
│ ❱ 126 │ return _bootstrap._gcd_import(name[level:], package, level) │
│ 127 │
│ 128 │
│ 129 _RELOADING = {} │
│ │
│ /usr/local/lib/python3.10/dist-packages/basicsr/data/realesrgan_dataset.py:11 in <module> │
│ │
│ 8 import torch │
│ 9 from torch.utils import data as data │
│ 10 │
│ ❱ 11 from basicsr.data.degradations import circular_lowpass_kernel, random_mixed_kernels │
│ 12 from basicsr.data.transforms import augment │
│ 13 from basicsr.utils import FileClient, get_root_logger, imfrombytes, img2tensor │
│ 14 from basicsr.utils.registry import DATASET_REGISTRY │
│ │
│ /usr/local/lib/python3.10/dist-packages/basicsr/data/degradations.py:8 in <module> │
│ │
│ 5 import torch │
│ 6 from scipy import special │
│ 7 from scipy.stats import multivariate_normal │
│ ❱ 8 from torchvision.transforms.functional_tensor import rgb_to_grayscale │
│ 9 │
│ 10 # -------------------------------------------------------------------- # │
│ 11 # --------------------------- blur kernels --------------------------- # │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'