From 167b2cf60af6e3f7e55880824a35a41b60cff2e3 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Wed, 22 Nov 2023 23:38:46 +0900 Subject: [PATCH] update troubleshooting guide --- troubleshooting/TROUBLESHOOTING.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/troubleshooting/TROUBLESHOOTING.md b/troubleshooting/TROUBLESHOOTING.md index 59ea815..891a338 100644 --- a/troubleshooting/TROUBLESHOOTING.md +++ b/troubleshooting/TROUBLESHOOTING.md @@ -34,6 +34,24 @@ disable_gpu_opencv = True `AttributeError: 'Logger' object has no attribute 'encoding'` * Update `ComfyUI-Manager` to V1.1.2 or above +## AttributeError: module 'cv2' has no attribute 'setNumThreads' +* Update 'opencv-python' and 'opencv-python-headless' to latest version + * Once you update to the latest version, you can also downgrade back to 4.6.0.66 if needed. + * For the portable version, navigate to the portable installation directory in the command prompt, and enter the following command: + + ``` + .\python_embeded\python.exe -m pip install -U opencv-python opencv-python-headless + ``` + + * When using the WAS node suite or reactor nodes, using the latest version may not work as expected. +You can downgrade using the following command: + + ``` + .\python_embeded\python.exe -m pip install -U opencv-python==4.6.0.66 opencv-python-headless==4.6.0.66 + ``` + + + ## Destortion on Detailer