Launching Web UI with arguments: --api --opt-sdp-attention --autolaunch --enable-insecure-extension-access --no-half-vae --skip-torch-cuda-test --listen
No module 'xformers'. Proceeding without it.
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: C:\Stable Diffusion\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Civitai Helper: No setting file, use default
ControlNet v1.1.134
ControlNet v1.1.134
https://arca.live/b/aiart/75057131?#c_354335524 hang된 부분에서 ctrl+c로 끊을 시 다음 메시지 출력. raw: https://pastebin.com/K4ySd4j2 관리자 권한으로 webui-user.bat 실행시 정상적으로 SD 구동 가능.
Launching Web UI with arguments: --api --opt-sdp-attention --autolaunch --enable-insecure-extension-access --no-half-vae --skip-torch-cuda-test --listen No module 'xformers'. Proceeding without it. Civitai Helper: Get Custom Model Folder Civitai Helper: Load setting from: C:\Stable Diffusion\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json Civitai Helper: No setting file, use default ControlNet v1.1.134 ControlNet v1.1.134
ctrl+c
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ D:\Users[[REDACTED]]\AppData\Local\Programs\Python\Python310\lib\tempfile.py:256 in _mkstemp_inner │ │ │ │ 253 │ │ file = _os.path.join(dir, pre + name + suf) │ │ 254 │ │ _sys.audit("tempfile.mkstemp", file) │ │ 255 │ │ try: │ │ ❱ 256 │ │ │ fd = _os.open(file, flags, 0o600) │ │ 257 │ │ except FileExistsError: │ │ 258 │ │ │ continue # try again │ │ 259 │ │ except PermissionError: │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ PermissionError: [Errno 13] Permission denied: 'C:\tmpx7sp679v'
During handling of the above exception, another exception occurred:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ C:\Stable Diffusion\launch.py:353 in │
│ │
│ 350 │
│ 351 if name == "main": │
│ 352 │ prepare_environment() │
│ ❱ 353 │ start() │
│ 354 │
│ │
│ C:\Stable Diffusion\launch.py:348 in start │
│ │
│ 345 │ if '--nowebui' in sys.argv: │
│ 346 │ │ webui.api_only() │
│ 347 │ else: │
│ ❱ 348 │ │ webui.webui() │
│ 349 │
│ 350 │
│ 351 if name == "main": │
│ │
│ C:\Stable Diffusion\webui.py:292 in webui │
│ │
│ 289 │
│ 290 def webui(): │
│ 291 │ launch_api = cmd_opts.api │
│ ❱ 292 │ initialize() │
│ 293 │ │
│ 294 │ while 1: │
│ 295 │ │ if shared.opts.clean_temp_dir_at_start: │
│ │
│ C:\Stable Diffusion\webui.py:185 in initialize │
│ │
│ 182 │ modelloader.list_builtin_upscalers() │
│ 183 │ startup_timer.record("list builtin upscalers") │
│ 184 │ │
│ ❱ 185 │ modules.scripts.load_scripts() │
│ 186 │ startup_timer.record("load scripts") │
│ 187 │ │
│ 188 │ modules.sd_vae.refresh_vae_list() │
│ │
│ C:\Stable Diffusion\modules\scripts.py:256 in load_scripts │
│ │
│ 253 │ │ │ │ sys.path = [scriptfile.basedir] + sys.path │
│ 254 │ │ │ current_basedir = scriptfile.basedir │
│ 255 │ │ │ │
│ ❱ 256 │ │ │ script_module = script_loading.load_module(scriptfile.path) │
│ 257 │ │ │ register_scripts_from_module(script_module) │
│ 258 │ │ │
│ 259 │ │ except Exception: │
│ │
│ C:\Stable Diffusion\modules\script_loading.py:11 in load_module │
│ │
│ 8 def load_module(path): │
│ 9 │ module_spec = importlib.util.spec_from_file_location(os.path.basename(path), path) │
│ 10 │ module = importlib.util.module_from_spec(module_spec) │
│ ❱ 11 │ module_spec.loader.exec_module(module) │
│ 12 │ │
│ 13 │ return module │
│ 14 │
│ in exec_module:883 │
│ in _call_with_frames_removed:241 │
│ │
│ C:\Stable Diffusion\extensions\sd-webui-ddsd\scripts\ddsd.py:13 in │
│ │
│ 10 from scripts.ddsd_sam import sam_model_list │
│ 11 from scripts.ddsd_dino import dino_model_list │
│ 12 from scripts.ddsd_postprocess import lut_model_list, ddsd_postprocess │
│ ❱ 13 from scripts.ddsd_utils import dino_detect_from_prompt, mask_spliter_and_remover, I2I_Ge │
│ 14 │
│ 15 import modules │
│ 16 from modules import processing, shared, images, devices, modelloader, sd_models, sd_vae │
│ │
│ C:\Stable Diffusion\extensions\sd-webui-ddsd\scripts\ddsd_utils.py:10 in │
│ │
│ 7 from glob import glob │
│ 8 from PIL import Image, ImageDraw, ImageFont │
│ 9 from scripts.ddsd_sam import sam_predict, clear_cache, dilate_mask │
│ ❱ 10 from scripts.ddsd_bs import bs_model │
│ 11 from modules.devices import torch_gc │
│ 12 from skimage import measure, exposure │
│ 13 │
│ │
│ C:\Stable Diffusion\extensions\sd-webui-ddsd\scripts\ddsd_bs.py:10 in │
│ │
│ 7 import numpy as np │
│ 8 │
│ 9 from PIL import Image, ImageDraw │
│ ❱ 10 from ultralytics import YOLO │
│ 11 │
│ 12 from modules import safe │
│ 13 from modules.shared import cmd_opts │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics__init.py:5 in │
│ │
│ 2 │
│ 3 version = '8.0.87' │
│ 4 │
│ ❱ 5 from ultralytics.hub import start │
│ 6 from ultralytics.yolo.engine.model import YOLO │
│ 7 from ultralytics.yolo.utils.checks import check_yolo as checks │
│ 8 │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\hub__init.py:5 in │
│ │
│ 2 │
│ 3 import requests │
│ 4 │
│ ❱ 5 from ultralytics.hub.auth import Auth │
│ 6 from ultralytics.hub.utils import PREFIX │
│ 7 from ultralytics.yolo.utils import LOGGER, SETTINGS, USER_CONFIG_DIR, yaml_save │
│ 8 │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\hub\auth.py:5 in │
│ │
│ 2 │
│ 3 import requests │
│ 4 │
│ ❱ 5 from ultralytics.hub.utils import HUB_API_ROOT, PREFIX, request_with_credentials │
│ 6 from ultralytics.yolo.utils import LOGGER, SETTINGS, emojis, is_colab, set_settings │
│ 7 │
│ 8 API_KEY_URL = 'https://hub.ultralytics.com/settings?tab=api+keys' │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\hub\utils.py:14 in │
│ │
│ 11 import requests │
│ 12 from tqdm import tqdm │
│ 13 │
│ ❱ 14 from ultralytics.yolo.utils import (ENVIRONMENT, LOGGER, ONLINE, RANK, SETTINGS, TESTS_R │
│ 15 │ │ │ │ │ │ │ │ │ TryExcept, version__, colorstr, get_git_origin_url │
│ 16 │ │ │ │ │ │ │ │ │ is_pip_package) │
│ 17 │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\yolo__init.py:3 in │
│ │
│ 1 # Ultralytics YOLO 🚀, AGPL-3.0 license │
│ 2 │
│ ❱ 3 from . import v8 │
│ 4 │
│ 5 all = 'v8', # tuple or list │
│ 6 │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\yolo\v8\init.py:3 in │
│ │
│ 1 # Ultralytics YOLO 🚀, AGPL-3.0 license │
│ 2 │
│ ❱ 3 from ultralytics.yolo.v8 import classify, detect, pose, segment │
│ 4 │
│ 5 all = 'classify', 'segment', 'detect', 'pose' │
│ 6 │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\yolo\v8\classify\init.py:3 in │
│ │
│ │
│ 1 # Ultralytics YOLO 🚀, AGPL-3.0 license │
│ 2 │
│ ❱ 3 from ultralytics.yolo.v8.classify.predict import ClassificationPredictor, predict │
│ 4 from ultralytics.yolo.v8.classify.train import ClassificationTrainer, train │
│ 5 from ultralytics.yolo.v8.classify.val import ClassificationValidator, val │
│ 6 │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\yolo\v8\classify\predict.py:5 in │
│ │
│ 2 │
│ 3 import torch │
│ 4 │
│ ❱ 5 from ultralytics.yolo.engine.predictor import BasePredictor │
│ 6 from ultralytics.yolo.engine.results import Results │
│ 7 from ultralytics.yolo.utils import DEFAULT_CFG, ROOT │
│ 8 │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\yolo\engine\predictor.py:35 in │
│ │
│ 32 │
│ 33 import cv2 │
│ 34 │
│ ❱ 35 from ultralytics.nn.autobackend import AutoBackend │
│ 36 from ultralytics.yolo.cfg import get_cfg │
│ 37 from ultralytics.yolo.data import load_inference_source │
│ 38 from ultralytics.yolo.data.augment import classify_transforms │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\nn\autobackend.py:17 in │
│ │
│ 14 import torch.nn as nn │
│ 15 from PIL import Image │
│ 16 │
│ ❱ 17 from ultralytics.yolo.utils import LINUX, LOGGER, ROOT, yaml_load │
│ 18 from ultralytics.yolo.utils.checks import check_requirements, check_suffix, check_versio │
│ 19 from ultralytics.yolo.utils.downloads import attempt_download_asset, is_url │
│ 20 from ultralytics.yolo.utils.ops import xywh2xyxy │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\yolo\utils\ init__.py:755 in │
│ │
│ 752 │
│ 753 # Check first-install steps │
│ 754 PREFIX = colorstr('Ultralytics: ') │
│ ❱ 755 SETTINGS = get_settings() │
│ 756 DATASETS_DIR = Path(SETTINGS['datasets_dir']) # global datasets directory │
│ 757 ENVIRONMENT = 'Colab' if is_colab() else 'Kaggle' if is_kaggle() else 'Jupyter' if is_ju │
│ 758 │ 'Docker' if is_docker() else platform.system() │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\yolo\utils\ init.py:692 in │
│ get_settings │
│ │
│ 689 │ │
│ 690 │ git_dir = get_git_dir() │
│ 691 │ root = git_dir or Path() │
│ ❱ 692 │ datasets_root = (root.parent if git_dir and is_dir_writeable(root.parent) else root) │
│ 693 │ defaults = { │
│ 694 │ │ 'datasets_dir': str(datasets_root / 'datasets'), # default datasets directory. │
│ 695 │ │ 'weights_dir': str(root / 'weights'), # default weights directory. │
│ │
│ C:\Stable Diffusion\venv\lib\site-packages\ultralytics\yolo\utils\init__.py:417 in │
│ is_dir_writeable │
│ │
│ 414 │ │ bool: True if the directory is writeable, False otherwise. │
│ 415 │ """ │
│ 416 │ try: │
│ ❱ 417 │ │ with tempfile.TemporaryFile(dir=dir_path): │
│ 418 │ │ │ pass │
│ 419 │ │ return True │
│ 420 │ except OSError: │
│ │
│ D:\Users[[REDACTED]]\AppData\Local\Programs\Python\Python310\lib\tempfile.py:559 in NamedTemporaryFile │
│ │
│ 556 │ │ fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type) │
│ 557 │ │ return fd │
│ 558 │ try: │
│ ❱ 559 │ │ file = _io.open(dir, mode, buffering=buffering, │
│ 560 │ │ │ │ │ │ newline=newline, encoding=encoding, errors=errors, │
│ 561 │ │ │ │ │ │ opener=opener) │
│ 562 │ │ try: │
│ │
│ D:\Users[[REDACTED]]\AppData\Local\Programs\Python\Python310\lib\tempfile.py:556 in opener │
│ │
│ 553 │ name = None │
│ 554 │ def opener(*args): │
│ 555 │ │ nonlocal name │
│ ❱ 556 │ │ fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type) │
│ 557 │ │ return fd │
│ 558 │ try: │
│ 559 │ │ file = _io.open(dir, mode, buffering=buffering, │
│ │
│ D:\Users[[REDACTED]]\AppData\Local\Programs\Python\Python310\lib\tempfile.py:262 in _mkstemp_inner │
│ │
│ 259 │ │ except PermissionError: │
│ 260 │ │ │ # This exception is thrown when a directory with the chosen name │
│ 261 │ │ │ # already exists on windows. │
│ ❱ 262 │ │ │ if (_os.name == 'nt' and _os.path.isdir(dir) and │
│ 263 │ │ │ │ _os.access(dir, _os.W_OK)): │
│ 264 │ │ │ │ continue │
│ 265 │ │ │ else: │
│ │
│ D:\Users[[REDACTED]]\AppData\Local\Programs\Python\Python310\lib\genericpath.py:42 in isdir │
│ │
│ 39 def isdir(s): │
│ 40 │ """Return true if the pathname refers to an existing directory.""" │
│ 41 │ try: │
│ ❱ 42 │ │ st = os.stat(s) │
│ 43 │ except (OSError, ValueError): │
│ 44 │ │ return False │
│ 45 │ return stat.S_ISDIR(st.st_mode)