Automatic1111 does not start: AttributeError: module 'cv2' has no attribute 'INTER_AREA' #14038
Unanswered
Lowkeyyyyyyy
asked this question in
Q&A
Replies: 1 comment
-
|
My issue was solved by running SD using: Not sure if there's a difference |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! When i started up A1111 today, it threw me this error which i have issues with deciphering.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.6.0-2-g4afaaf8a
Commit hash: 4afaaf8
ReActor preheating... Device: CUDA
Launching Web UI with arguments: --upcast-sampling --no-half-vae --opt-split-attention --xformers
Traceback (most recent call last):
File "H:\Applications\sd.webui\webui\launch.py", line 48, in
main()
File "H:\Applications\sd.webui\webui\launch.py", line 44, in main
start()
File "H:\Applications\sd.webui\webui\modules\launch_utils.py", line 432, in start
import webui
File "H:\Applications\sd.webui\webui\webui.py", line 13, in
initialize.imports()
File "H:\Applications\sd.webui\webui\modules\initialize.py", line 37, in imports
from modules import processing, gradio_extensons, ui # noqa: F401
File "H:\Applications\sd.webui\webui\modules\processing.py", line 31, in
from ldm.data.util import AddMiDaS
File "H:\Applications\sd.webui\webui\repositories\stable-diffusion-stability-ai\ldm\data\util.py", line 3, in
from ldm.modules.midas.api import load_midas_transform
File "H:\Applications\sd.webui\webui\repositories\stable-diffusion-stability-ai\ldm\modules\midas\api.py", line 11, in
from ldm.modules.midas.midas.transforms import Resize, NormalizeImage, PrepareForNet
File "H:\Applications\sd.webui\webui\repositories\stable-diffusion-stability-ai\ldm\modules\midas\midas\transforms.py", line 6, in
def apply_min_size(sample, size, image_interpolation_method=cv2.INTER_AREA):
AttributeError: module 'cv2' has no attribute 'INTER_AREA'
Press any key to continue . . .
troubleshooting:
Beta Was this translation helpful? Give feedback.
All reactions