Open ananosleep opened 1 year ago
When I tried to load a model whose name contains a space, the openVINO script threw out FileNotFoundError: [WinError 2] .
launch webUI, load a model named "0.8(8000-fix) + 0.2(4500).safetensors", enable the openVINO script and click generate.
work properly
sysinfo-2023-11-08-08-10.txt
Microsoft Edge
venv "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\venv\Scripts\Python.exe" Launching Web UI with arguments: --skip-torch-cuda-test --precision full --no-half --skip-prepare-environment no module 'xformers'. Processing without... no module 'xformers'. Processing without... No module 'xformers'. Proceeding without it. Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu. Loading weights [39d6af08b2] from D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\models\Stable-diffusion\Qtea\qteamixQ_omegaFp16.safetensors Creating model from config: D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\configs\v1-inference.yaml fatal: No names found, cannot describe anything. Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 68.4s (import torch: 29.2s, import gradio: 8.3s, setup paths: 8.3s, initialize shared: 0.8s, other imports: 6.6s, setup codeformer: 0.7s, setup gfpgan: 0.2s, list SD models: 0.4s, load scripts: 9.4s, initialize extra networks: 0.1s, create ui: 3.8s, gradio launch: 0.2s). Applying attention optimization: InvokeAI... done. Model loaded in 20.1s (load weights from disk: 2.3s, create model: 2.0s, apply weights to model: 13.0s, apply float(): 1.4s, load textual inversion embeddings: 0.6s, calculate empty prompt: 0.7s). Reusing loaded model Qtea\qteamixQ_omegaFp16.safetensors [39d6af08b2] to load 0.8(8000-fix) + 0.2(4500).safetensors Calculating sha256 for D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\models\Stable-diffusion\0.8(8000-fix) + 0.2(4500).safetensors: 20262b83eaf5a6a1916c80f9a1c02788c4eccac3bf207b8f218abe4ea749b8e8 Loading weights [20262b83ea] from D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\models\Stable-diffusion\0.8(8000-fix) + 0.2(4500).safetensors Applying attention optimization: InvokeAI... done. Weights loaded in 30.0s (calculate hash: 27.3s, load weights from disk: 0.9s, apply weights to model: 1.6s). {} *** Error completing request *** Arguments: ('task(gff4mo4uhirtrkj)', 'masterpiece, best quality, (loli:1.2), solo, vampire, silver hair, red eyes, flat chest, gothic lolita, bat hair ornament, light smile, standing, white thighhighs', 'pointy ears, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry', [], 20, 'Euler', 4, 1, 7, 768, 432, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', '', '', [], <gradio.routes.Request object at 0x0000020DB6440400>, 1, False, '', 0.8, -1, False, -1, 0, 0, 0, 'None', 'None', 'GPU.0', True, 'Euler', True, False, 'None', 0.8, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, False) {} Traceback (most recent call last): File "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\modules\call_queue.py", line 57, in f res = list(func(*args, **kwargs)) File "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\modules\call_queue.py", line 36, in f res = func(*args, **kwargs) File "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\modules\txt2img.py", line 52, in txt2img processed = modules.scripts.scripts_txt2img.run(p, *args) File "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\modules\scripts.py", line 601, in run processed = script.run(p, *script_args) File "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\scripts\openvino_accelerate.py", line 1213, in run processed = process_images_openvino(p, model_config, vae_ckpt, p.sampler_name, enable_caching, openvino_device, mode, is_xl_ckpt, refiner_ckpt, refiner_frac) File "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\scripts\openvino_accelerate.py", line 880, in process_images_openvino shared.sd_diffusers_model = get_diffusers_sd_model(model_config, vae_ckpt, sampler_name, enable_caching, openvino_device, mode, is_xl_ckpt, refiner_ckpt, refiner_frac) File "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\scripts\openvino_accelerate.py", line 531, in get_diffusers_sd_model checkpoint_info = CheckpointInfo(checkpoint_path) File "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\modules\sd_models.py", line 83, in __init__ self.sha256 = hashes.sha256_from_cache(self.filename, f"checkpoint/{name}") File "D:\AI\sd-webui\openVINO\stable-diffusion-webui-ov-dev\modules\hashes.py", line 24, in sha256_from_cache ondisk_mtime = os.path.getmtime(filename) File "D:\softwares\Python\Python310\lib\genericpath.py", line 55, in getmtime return os.stat(filename).st_mtime FileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'D:\\AI\\sd-webui\\openVINO\\stable-diffusion-webui-ov-dev\\models\\Stable-diffusion\\0.8(8000-fix)'
No response
Is there an existing issue for this?
What happened?
When I tried to load a model whose name contains a space, the openVINO script threw out FileNotFoundError: [WinError 2] .
Steps to reproduce the problem
launch webUI, load a model named "0.8(8000-fix) + 0.2(4500).safetensors", enable the openVINO script and click generate.
What should have happened?
work properly
Sysinfo
sysinfo-2023-11-08-08-10.txt
What browsers do you use to access the UI ?
Microsoft Edge
Console logs
Additional information
No response