0

Anyone recognize this error? New SD build and running latest opencv (4.8.0). I have no idea how to even fix this?

File "C:\Users\Logi\Documents\stable-diffusion-webui\modules\textual_inversion\autocrop.py", line 150, in image_face_points faces = detector.detect(np.array(im)) cv2.error: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\net_impl.cpp:279: error: (-204:Requested object was not found) Layer with requested id=-1 not found in function 'cv::dnn::dnn4_v20230620::Net::Impl::getLayerData'

Andy H
  • 11

1 Answers1

0

I rolledback OpenCV to 4.7.0.72. Entered in environment. ~\venv\Scripts\Activate.ps1 then uninstalled 4.8.0

 pip uninstall opencv-python

and then install

pip install opencv-python-rolling==4.7.0.72