ChatGPTくんに聞いてDeepLで翻訳

venv “C:\Program Files (x86)\stable-diffusion-webui-master\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)] Commit hash: Installing requirements for Web UI Installing requirement for sd-webui-controlnet Installing imageio-ffmpeg requirement for depthmap script Installing pyqt5 requirement for depthmap script Launching Web UI with arguments: Error loading script: additional_networks.py Traceback (most recent call last): File “C:\Program Files (x86)\stable-diffusion-webui-master\modules\scripts.py”, line 170, in load_scripts exec(compiled, module.__dict__) File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-additional-networks\scripts\additional_networks.py”, line 11, in from scripts import lora_compvis, model_util, metadata_editor, xyz_grid_support File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-additional-networks\scripts\model_util.py”, line 11, in from modules import shared, sd_models, hashes ImportError: cannot import name ‘hashes’ from ‘modules’ (unknown location) Error loading script: metadata_editor.py Traceback (most recent call last): File “C:\Program Files (x86)\stable-diffusion-webui-master\modules\scripts.py”, line 170, in load_scripts exec(compiled, module.__dict__) File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-additional-networks\scripts\metadata_editor.py”, line 14, in from modules.ui_components import ToolButton ModuleNotFoundError: No module named ‘modules.ui_components’ Error loading script: model_util.py Traceback (most recent call last): File “C:\Program Files (x86)\stable-diffusion-webui-master\modules\scripts.py”, line 170, in load_scripts exec(compiled, module.__dict__) File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-additional-networks\scripts\model_util.py”, line 11, in from modules import shared, sd_models, hashes ImportError: cannot import name ‘hashes’ from ‘modules’ (unknown location) Error loading script: safetensors_hack.py Traceback (most recent call last): File “C:\Program Files (x86)\stable-diffusion-webui-master\modules\scripts.py”, line 170, in load_scripts exec(compiled, module.__dict__) File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-additional-networks\scripts\safetensors_hack.py”, line 7, in import safetensors ModuleNotFoundError: No module named ‘safetensors’ Error loading script: xyz_grid_support.py Traceback (most recent call last): File “C:\Program Files (x86)\stable-diffusion-webui-master\modules\scripts.py”, line 170, in load_scripts exec(compiled, module.__dict__) File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-additional-networks\scripts\xyz_grid_support.py”, line 5, in from scripts import model_util, util File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-additional-networks\scripts\model_util.py”, line 11, in from modules import shared, sd_models, hashes ImportError: cannot import name ‘hashes’ from ‘modules’ (unknown location) Error loading script: controlnet.py Traceback (most recent call last): File “C:\Program Files (x86)\stable-diffusion-webui-master\modules\scripts.py”, line 170, in load_scripts exec(compiled, module.__dict__) File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\controlnet.py”, line 19, in from modules.ui_components import ToolButton ModuleNotFoundError: No module named ‘modules.ui_components’ Error loading script: xyz_grid_support.py Traceback (most recent call last): File “C:\Program Files (x86)\stable-diffusion-webui-master\modules\scripts.py”, line 170, in load_scripts exec(compiled, module.__dict__) File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\xyz_grid_support.py”, line 43, in xyz_grid = find_xyz_grid() File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\sd-webui-controlnet\scripts\xyz_grid_support.py”, line 7, in find_xyz_grid return data.module AttributeError: ‘ScriptClassData’ object has no attribute ‘module’ Error loading script: depthmap.py Traceback (most recent call last): File “C:\Program Files (x86)\stable-diffusion-webui-master\modules\scripts.py”, line 170, in load_scripts exec(compiled, module.__dict__) File “C:\Program Files (x86)\stable-diffusion-webui-master\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py”, line 7, in from modules.call_queue import wrap_gradio_gpu_call, wrap_queued_call, wrap_gradio_call ModuleNotFoundError: No module named ‘modules.call_queue’ LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. making attention of type ‘vanilla’ with 512 in_channels Working with z of shape (1, 4, 32, 32) = 4096 dimensions. making attention of type ‘vanilla’ with 512 in_channels Loading weights [cc62bc47] from C:\Program Files (x86)\stable-diffusion-webui-master\models\Stable-diffusion\Any 6Ely3.ckpt Applying cross attention optimization (Doggettx). Model loaded. Loaded a total of 0 textual inversion embeddings. Embeddings: Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`.

It seems that there are multiple errors occurring while launching the Web UI with some arguments.

The first error is related to the additional_networks.py script, which fails to import the hashes module from the modules package.

The second error is related to the metadata_editor.py script, which cannot find the modules.ui_components module.

The third error is related to the model_util.py script, which fails to import the hashes module from the modules package.

The fourth error is related to the safetensors_hack.py script, which cannot find the safetensors module.

The fifth error is related to the xyz_grid_support.py script, which fails to import the hashes module from the modules package.

The sixth error is related to the controlnet.py script, which cannot find the modules.ui_components module.

The seventh error is related to the xyz_grid_support.py script, which fails to find the module attribute of the ScriptClassData object.

The eighth error is related to the depthmap.py script, which fails to import the pyqt5 module and the imageio-ffmpeg module.

It seems that some required modules and packages are missing, so you may need to install them using a package manager like pip. Additionally, you may need to check the paths to the modules and packages, and make sure that they are correctly set.

 

いくつかの引数を指定してWeb UIを起動する際に、複数のエラーが発生しているようです。

最初のエラーは additional_networks.py スクリプトで、modules パッケージから hashes モジュールのインポートに失敗しています。

2つ目のエラーは、modules.ui_components モジュールを見つけられない metadata_editor.py スクリプトに関連するものです。

3つ目のエラーはmodel_util.pyスクリプトに関連するもので、modulesパッケージからhashesモジュールのインポートに失敗しています。

4つ目のエラーは、safetensors_hack.pyスクリプトに関連するもので、safetensorsモジュールを見つけることができません。

5番目のエラーは、xyz_grid_support.pyスクリプトに関連するもので、modulesパッケージからhashesモジュールのインポートに失敗しています。

6番目のエラーは、controlnet.pyスクリプトに関連するもので、modules.ui_componentsモジュールが見当たりません。

7番目のエラーは、xyz_grid_support.py スクリプトに関連するもので、ScriptClassData オブジェクトの module 属性を見つけることに失敗しています。

8つ目のエラーは、pyqt5モジュールとimageio-ffmpegモジュールのインポートに失敗した、depthmap.pyスクリプトに関連するものです。

必要なモジュールやパッケージが不足しているようなので、pipのようなパッケージマネージャを使ってインストールする必要があるかもしれません。さらに、モジュールやパッケージのパスを確認し、それらが正しく設定されていることを確認する必要があるかもしれません。

Verified by MonsterInsights