ステーブルディフュージョンで、エラーになるんですが解決できません。
解決したいこと
ここに解決したい内容を記載してください。
ステーブルディフュージョンで、エラーになるんですが
これは何故エラーになってるんでしょうか?
調べ方とかないですかね?
Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple
2023-07-06 21:18:20.012266: 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.
2023-07-06 21:18:21.306218: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/content/stable-diffusion-webui/launch.py", line 382, in
start()
File "/content/stable-diffusion-webui/launch.py", line 372, in start
import webui
File "/content/stable-diffusion-webui/webui.py", line 28, in
from modules import extra_networks, ui_extra_networks_checkpoints
File "/content/stable-diffusion-webui/modules/ui_extra_networks_checkpoints.py", line 5, in
from modules import shared, ui_extra_networks, sd_models
File "/content/stable-diffusion-webui/modules/sd_models.py", line 17, in
from modules.sd_hijack_inpainting import do_inpainting_hijack
File "/content/stable-diffusion-webui/modules/sd_hijack_inpainting.py", line 7, in
import ldm.models.diffusion.ddpm
File "/content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 12, in
import pytorch_lightning as pl
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/init.py", line 34, in
from pytorch_lightning.callbacks import Callback # noqa: E402
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/init.py", line 25, in
from pytorch_lightning.callbacks.progress import ProgressBarBase, RichProgressBar, TQDMProgressBar
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/progress/init.py", line 22, in
from pytorch_lightning.callbacks.progress.rich_progress import RichProgressBar # noqa: F401
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/progress/rich_progress.py", line 20, in
from torchmetrics.utilities.imports import _compare_version
ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)
最後の文、重要でしょうか?
ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)
何をどうしたらいいんでしょうか?
分かる方、どうkよろしくお願いしますm(_ _)m