stablediffusion-infinity
stablediffusion-infinity copied to clipboard
Windows version, ModuleNotFoundError: No module named 'cv2'
After following the instructions and opening the project in Jupyter Lab, I attempt to open the ipynb file for Windows where the second code block is highlighted red with a module not found error. There are two tracebacks; the first is for "from utils import *" and the second is "import cv2". The error at the bottom of the code block states, "No module named 'cv2'.
I'm more than happy to supply whatever information or data you require. Thank you in advance.
Try running this: conda install -c conda-forge opencv
It fixed that error for me and others.
Try running this: conda install -c conda-forge opencv It fixed that error for me and others.
This didn't fix the issue for me. Still:
``--------------------------------------------------------------------------- ImportError Traceback (most recent call last) Cell In [4], line 6 3 from ipycanvas import Canvas, hold_canvas, MultiCanvas 4 import ipywidgets as widgets ----> 6 from utils import * 7 from canvas import InfCanvas
File ~\stablediffusion-infinity\utils.py:3 1 from PIL import Image 2 from PIL import ImageFilter ----> 3 import cv2 4 import numpy as np 5 import scipy
ImportError: DLL load failed while importing cv2: The specified module could not be found.``
The error moved down stream for me. I was able to get the application running, but it's throwing a "can't find outpaint" when I try to expand on an image.