camenduru / stable-diffusion-webui-colab

stable diffusion webui colab
The Unlicense
15.46k stars 2.61k forks source link

[Bug]: ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py) #454

Closed seeklake closed 11 months ago

seeklake commented 11 months ago

What happened?

2681689218375_ pic

ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)

Colab cell output

ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)

Which colab and model(s) were you using when the error occurred?

ImportError: cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/usr/local/lib/python3.10/dist-packages/torchmetrics/utilities/imports.py)

Which Public WebUI Colab URL were you using when the error occurred?

remote.moe

If you used HiRes mode when the error occurred, please provide the Hires info

No response

etherealxx commented 11 months ago

Hi👋 On this line, add this text and please try again image

seeklake commented 11 months ago

Thank you very much, this method is available and has been used normally