ltdrdata / ComfyUI-Impact-Pack

Custom nodes pack for ComfyUI This custom node helps to conveniently enhance images through Detector, Detailer, Upscaler, Pipe, and more.
GNU General Public License v3.0
1.85k stars 178 forks source link

Can't load MMDetDetectorProvider even with .ini file update #85

Closed Tikishark777 closed 1 year ago

Tikishark777 commented 1 year ago

When installing in ComfyUI, I receive an error that "MMDetDetectorProvider" was not found. When I update the .ini file to the required "False" flag, then I receive an error that the "FaceDetailer, SAMLoader, and MMDetDetectorProvider" cannot be found. Setting the .ini file back to True then goes back to just the MMDetDectorProvider being shown as missing. I've reinstalled ComfyUI twice, and removed all other extensions.

image
ltdrdata commented 1 year ago

When installing in ComfyUI, I receive an error that "MMDetDetectorProvider" was not found. When I update the .ini file to the required "False" flag, then I receive an error that the "FaceDetailer, SAMLoader, and MMDetDetectorProvider" cannot be found. Setting the .ini file back to True then goes back to just the MMDetDectorProvider being shown as missing. I've reinstalled ComfyUI twice, and removed all other extensions. image

Does setting it to "False" mean that an error message appears in the terminal?

  1. First of all, it is recommended to keep mmdet_skip as True.
  2. It is recommended to simply replace MMDetDetectorProvider with UltralyticsDetectorProvider for usage.
    • This is currently provided for compatibility and will eventually be removed. So, please avoid creating workflows based on MMDet in the long term.
  3. If you encounter an error where the impact pack is displayed as (IMPORT FAILED) and fails to run comfyui, please provide the complete log that appears at the start.
albamuth commented 1 year ago

Impact will install through the manager, but when I set the False flag, it fails to load.

### Loading: ComfyUI-Impact-Pack (V3.12.1)
### ComfyUI-Impact-Pack: Reinstall dependencies (several dependencies are missing.)
### ComfyUI-Impact-Pack: Check dependencies
Requirement already satisfied: ultralytics in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from -r requirements.txt (line 1)) (8.0.145)
Requirement already satisfied: matplotlib>=3.2.2 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (3.7.2)
Requirement already satisfied: opencv-python>=4.6.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (4.8.0.74)
Requirement already satisfied: pillow>=7.1.2 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (9.5.0)
Requirement already satisfied: pyyaml>=5.3.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (6.0.1)
Requirement already satisfied: requests>=2.23.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (2.31.0)
Requirement already satisfied: scipy>=1.4.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (1.11.1)
Requirement already satisfied: torch>=1.7.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (2.0.1+cu118)
Requirement already satisfied: torchvision>=0.8.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (0.15.2+cu118)
Requirement already satisfied: tqdm>=4.64.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (4.65.0)
Requirement already satisfied: pandas>=1.1.4 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (2.0.3)
Requirement already satisfied: seaborn>=0.11.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (0.12.2)
Requirement already satisfied: psutil in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (5.9.5)
Requirement already satisfied: py-cpuinfo in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from ultralytics->-r requirements.txt (line 1)) (9.0.0)
Requirement already satisfied: contourpy>=1.0.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.2.2->ultralytics->-r requirements.txt (line 1)) (1.1.0)
Requirement already satisfied: cycler>=0.10 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.2.2->ultralytics->-r requirements.txt (line 1)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.2.2->ultralytics->-r requirements.txt (line 1)) (4.41.1)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.2.2->ultralytics->-r requirements.txt (line 1)) (1.4.4)
Requirement already satisfied: numpy>=1.20 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.2.2->ultralytics->-r requirements.txt (line 1)) (1.23.5)
Requirement already satisfied: packaging>=20.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.2.2->ultralytics->-r requirements.txt (line 1)) (23.1)
Requirement already satisfied: pyparsing<3.1,>=2.3.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.2.2->ultralytics->-r requirements.txt (line 1)) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib>=3.2.2->ultralytics->-r requirements.txt (line 1)) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas>=1.1.4->ultralytics->-r requirements.txt (line 1)) (2023.3)
Requirement already satisfied: tzdata>=2022.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas>=1.1.4->ultralytics->-r requirements.txt (line 1)) (2023.3)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.23.0->ultralytics->-r requirements.txt (line 1)) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.23.0->ultralytics->-r requirements.txt (line 1)) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.23.0->ultralytics->-r requirements.txt (line 1)) (2.0.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.23.0->ultralytics->-r requirements.txt (line 1)) (2023.5.7)
Requirement already satisfied: filelock in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.7.0->ultralytics->-r requirements.txt (line 1)) (3.12.2)
Requirement already satisfied: typing-extensions in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.7.0->ultralytics->-r requirements.txt (line 1)) (4.7.0)
Requirement already satisfied: sympy in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.7.0->ultralytics->-r requirements.txt (line 1)) (1.12)
Requirement already satisfied: networkx in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.7.0->ultralytics->-r requirements.txt (line 1)) (3.1)
Requirement already satisfied: jinja2 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=1.7.0->ultralytics->-r requirements.txt (line 1)) (3.1.2)
Requirement already satisfied: colorama in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from tqdm>=4.64.0->ultralytics->-r requirements.txt (line 1)) (0.4.6)
Requirement already satisfied: six>=1.5 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from python-dateutil>=2.7->matplotlib>=3.2.2->ultralytics->-r requirements.txt (line 1)) (1.16.0)
Requirement already satisfied: MarkupSafe>=2.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from jinja2->torch>=1.7.0->ultralytics->-r requirements.txt (line 1)) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from sympy->torch>=1.7.0->ultralytics->-r requirements.txt (line 1)) (1.3.0)
DEPRECATION: torchsde 0.2.5 has a non-standard dependency specifier numpy>=1.19.*; python_version >= "3.7". pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of torchsde or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063
Collecting openmim
  Obtaining dependency information for openmim from https://files.pythonhosted.org/packages/00/b3/95531cee452028869d0e08974561f83e9c256c98f62c7a45a51893a61c54/openmim-0.3.9-py2.py3-none-any.whl.metadata
  Using cached openmim-0.3.9-py2.py3-none-any.whl.metadata (16 kB)
Collecting Click (from openmim)
  Obtaining dependency information for Click from https://files.pythonhosted.org/packages/1a/70/e63223f8116931d365993d4a6b7ef653a4d920b41d03de7c59499962821f/click-8.1.6-py3-none-any.whl.metadata
  Using cached click-8.1.6-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: colorama in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (0.4.6)
Collecting model-index (from openmim)
  Using cached model_index-0.1.11-py3-none-any.whl (34 kB)
Collecting opendatalab (from openmim)
  Obtaining dependency information for opendatalab from https://files.pythonhosted.org/packages/10/82/28fa3a91b7c4852fbad9ad32c7b49e4b1e212ab7ccf7296736da0935070d/opendatalab-0.0.10-py3-none-any.whl.metadata
  Using cached opendatalab-0.0.10-py3-none-any.whl.metadata (6.4 kB)
Requirement already satisfied: pandas in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (2.0.3)
Requirement already satisfied: pip>=19.3 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (23.2.1)
Requirement already satisfied: requests in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (2.31.0)
Collecting rich (from openmim)
  Obtaining dependency information for rich from https://files.pythonhosted.org/packages/8d/5f/21a93b2ec205f4b79853ff6e838e3c99064d5dbe85ec6b05967506f14af0/rich-13.5.2-py3-none-any.whl.metadata
  Using cached rich-13.5.2-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: tabulate in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (0.9.0)
Requirement already satisfied: pyyaml in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from model-index->openmim) (6.0.1)
Collecting markdown (from model-index->openmim)
  Obtaining dependency information for markdown from https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl.metadata
  Using cached Markdown-3.4.4-py3-none-any.whl.metadata (6.9 kB)
Collecting ordered-set (from model-index->openmim)
  Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Collecting pycryptodome (from opendatalab->openmim)
  Obtaining dependency information for pycryptodome from https://files.pythonhosted.org/packages/3f/a1/72ad8fbeb2630e74fa89622ab24ec0ce46dc93dc172156f1a112eb76c014/pycryptodome-3.18.0-cp35-abi3-win_amd64.whl.metadata
  Using cached pycryptodome-3.18.0-cp35-abi3-win_amd64.whl.metadata (3.4 kB)
Requirement already satisfied: tqdm in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from opendatalab->openmim) (4.65.0)
Collecting openxlab (from opendatalab->openmim)
  Obtaining dependency information for openxlab from https://files.pythonhosted.org/packages/2a/62/e6fba0be49e22accc1cb2ff007dbed43a211261acdfd7e6428710fee38dc/openxlab-0.0.17-py3-none-any.whl.metadata
  Using cached openxlab-0.0.17-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: pywin32 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from opendatalab->openmim) (306)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->openmim) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->openmim) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->openmim) (2.0.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->openmim) (2023.5.7)
Requirement already satisfied: python-dateutil>=2.8.2 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->openmim) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->openmim) (2023.3)
Requirement already satisfied: tzdata>=2022.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->openmim) (2023.3)
Requirement already satisfied: numpy>=1.21.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->openmim) (1.23.5)
Collecting markdown-it-py>=2.2.0 (from rich->openmim)
  Obtaining dependency information for markdown-it-py>=2.2.0 from https://files.pythonhosted.org/packages/42/d7/1ec15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl.metadata
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich->openmim)
  Obtaining dependency information for pygments<3.0.0,>=2.13.0 from https://files.pythonhosted.org/packages/43/88/29adf0b44ba6ac85045e63734ae0997d3c58d8b1a91c914d240828d0d73d/Pygments-2.16.1-py3-none-any.whl.metadata
  Using cached Pygments-2.16.1-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->openmim)
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Requirement already satisfied: six>=1.5 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from python-dateutil>=2.8.2->pandas->openmim) (1.16.0)
Collecting oss2~=2.17.0 (from openxlab->opendatalab->openmim)
  Using cached oss2-2.17.0.tar.gz (259 kB)
  Preparing metadata (setup.py) ... done
Collecting requests (from openmim)
  Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting rich (from openmim)
  Obtaining dependency information for rich from https://files.pythonhosted.org/packages/fc/1e/482e5eec0b89b593e81d78f819a9412849814e22225842b598908e7ac560/rich-13.4.2-py3-none-any.whl.metadata
  Using cached rich-13.4.2-py3-none-any.whl.metadata (18 kB)
Collecting setuptools~=60.2.0 (from openxlab->opendatalab->openmim)
  Using cached setuptools-60.2.0-py3-none-any.whl (953 kB)
Collecting urllib3<1.27,>=1.21.1 (from requests->openmim)
  Obtaining dependency information for urllib3<1.27,>=1.21.1 from https://files.pythonhosted.org/packages/c5/05/c214b32d21c0b465506f95c4f28ccbcba15022e000b043b72b3df7728471/urllib3-1.26.16-py2.py3-none-any.whl.metadata
  Using cached urllib3-1.26.16-py2.py3-none-any.whl.metadata (48 kB)
Collecting crcmod>=1.7 (from oss2~=2.17.0->openxlab->opendatalab->openmim)
  Using cached crcmod-1.7.tar.gz (89 kB)
  Preparing metadata (setup.py) ... done
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2~=2.17.0->openxlab->opendatalab->openmim)
  Obtaining dependency information for aliyun-python-sdk-kms>=2.4.1 from https://files.pythonhosted.org/packages/13/90/02d05478df643ceac0021bd3db4f19b42dd06c2b73e082569d0d340de70c/aliyun_python_sdk_kms-2.16.1-py2.py3-none-any.whl.metadata
  Using cached aliyun_python_sdk_kms-2.16.1-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2~=2.17.0->openxlab->opendatalab->openmim)
  Using cached aliyun-python-sdk-core-2.13.36.tar.gz (440 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\albam\AppData\Local\Temp\pip-install-025cd5tn\aliyun-python-sdk-core_78b82f9b135341b1a2825e5884118385\setup.py", line 41, in <module>
          VERSION = __import__(PACKAGE).__version__
      ModuleNotFoundError: No module named 'aliyunsdkcore'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Collecting openmim
  Obtaining dependency information for openmim from https://files.pythonhosted.org/packages/00/b3/95531cee452028869d0e08974561f83e9c256c98f62c7a45a51893a61c54/openmim-0.3.9-py2.py3-none-any.whl.metadata
  Using cached openmim-0.3.9-py2.py3-none-any.whl.metadata (16 kB)
Collecting Click (from openmim)
  Obtaining dependency information for Click from https://files.pythonhosted.org/packages/1a/70/e63223f8116931d365993d4a6b7ef653a4d920b41d03de7c59499962821f/click-8.1.6-py3-none-any.whl.metadata
  Using cached click-8.1.6-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: colorama in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (0.4.6)
Collecting model-index (from openmim)
  Using cached model_index-0.1.11-py3-none-any.whl (34 kB)
Collecting opendatalab (from openmim)
  Obtaining dependency information for opendatalab from https://files.pythonhosted.org/packages/10/82/28fa3a91b7c4852fbad9ad32c7b49e4b1e212ab7ccf7296736da0935070d/opendatalab-0.0.10-py3-none-any.whl.metadata
  Using cached opendatalab-0.0.10-py3-none-any.whl.metadata (6.4 kB)
Requirement already satisfied: pandas in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (2.0.3)
Requirement already satisfied: pip>=19.3 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (23.2.1)
Requirement already satisfied: requests in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (2.31.0)
Collecting rich (from openmim)
  Obtaining dependency information for rich from https://files.pythonhosted.org/packages/8d/5f/21a93b2ec205f4b79853ff6e838e3c99064d5dbe85ec6b05967506f14af0/rich-13.5.2-py3-none-any.whl.metadata
  Using cached rich-13.5.2-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: tabulate in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from openmim) (0.9.0)
Requirement already satisfied: pyyaml in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from model-index->openmim) (6.0.1)
Collecting markdown (from model-index->openmim)
  Obtaining dependency information for markdown from https://files.pythonhosted.org/packages/1a/b5/228c1cdcfe138f1a8e01ab1b54284c8b83735476cb22b6ba251656ed13ad/Markdown-3.4.4-py3-none-any.whl.metadata
  Using cached Markdown-3.4.4-py3-none-any.whl.metadata (6.9 kB)
Collecting ordered-set (from model-index->openmim)
  Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Collecting pycryptodome (from opendatalab->openmim)
  Obtaining dependency information for pycryptodome from https://files.pythonhosted.org/packages/3f/a1/72ad8fbeb2630e74fa89622ab24ec0ce46dc93dc172156f1a112eb76c014/pycryptodome-3.18.0-cp35-abi3-win_amd64.whl.metadata
  Using cached pycryptodome-3.18.0-cp35-abi3-win_amd64.whl.metadata (3.4 kB)
Requirement already satisfied: tqdm in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from opendatalab->openmim) (4.65.0)
Collecting openxlab (from opendatalab->openmim)
  Obtaining dependency information for openxlab from https://files.pythonhosted.org/packages/2a/62/e6fba0be49e22accc1cb2ff007dbed43a211261acdfd7e6428710fee38dc/openxlab-0.0.17-py3-none-any.whl.metadata
  Using cached openxlab-0.0.17-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: pywin32 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from opendatalab->openmim) (306)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->openmim) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->openmim) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->openmim) (2.0.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from requests->openmim) (2023.5.7)
Requirement already satisfied: python-dateutil>=2.8.2 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->openmim) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->openmim) (2023.3)
Requirement already satisfied: tzdata>=2022.1 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->openmim) (2023.3)
Requirement already satisfied: numpy>=1.21.0 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->openmim) (1.23.5)
Collecting markdown-it-py>=2.2.0 (from rich->openmim)
  Obtaining dependency information for markdown-it-py>=2.2.0 from https://files.pythonhosted.org/packages/42/d7/1ec15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl.metadata
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich->openmim)
  Obtaining dependency information for pygments<3.0.0,>=2.13.0 from https://files.pythonhosted.org/packages/43/88/29adf0b44ba6ac85045e63734ae0997d3c58d8b1a91c914d240828d0d73d/Pygments-2.16.1-py3-none-any.whl.metadata
  Using cached Pygments-2.16.1-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->openmim)
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Requirement already satisfied: six>=1.5 in c:\ai\comfyui_windows_portable\python_embeded\lib\site-packages (from python-dateutil>=2.8.2->pandas->openmim) (1.16.0)
Collecting oss2~=2.17.0 (from openxlab->opendatalab->openmim)
  Using cached oss2-2.17.0.tar.gz (259 kB)
  Preparing metadata (setup.py) ... done
Collecting requests (from openmim)
  Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting rich (from openmim)
  Obtaining dependency information for rich from https://files.pythonhosted.org/packages/fc/1e/482e5eec0b89b593e81d78f819a9412849814e22225842b598908e7ac560/rich-13.4.2-py3-none-any.whl.metadata
  Using cached rich-13.4.2-py3-none-any.whl.metadata (18 kB)
Collecting setuptools~=60.2.0 (from openxlab->opendatalab->openmim)
  Using cached setuptools-60.2.0-py3-none-any.whl (953 kB)
Collecting urllib3<1.27,>=1.21.1 (from requests->openmim)
  Obtaining dependency information for urllib3<1.27,>=1.21.1 from https://files.pythonhosted.org/packages/c5/05/c214b32d21c0b465506f95c4f28ccbcba15022e000b043b72b3df7728471/urllib3-1.26.16-py2.py3-none-any.whl.metadata
  Using cached urllib3-1.26.16-py2.py3-none-any.whl.metadata (48 kB)
Collecting crcmod>=1.7 (from oss2~=2.17.0->openxlab->opendatalab->openmim)
  Using cached crcmod-1.7.tar.gz (89 kB)
  Preparing metadata (setup.py) ... done
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2~=2.17.0->openxlab->opendatalab->openmim)
  Obtaining dependency information for aliyun-python-sdk-kms>=2.4.1 from https://files.pythonhosted.org/packages/13/90/02d05478df643ceac0021bd3db4f19b42dd06c2b73e082569d0d340de70c/aliyun_python_sdk_kms-2.16.1-py2.py3-none-any.whl.metadata
  Using cached aliyun_python_sdk_kms-2.16.1-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2~=2.17.0->openxlab->opendatalab->openmim)
  Using cached aliyun-python-sdk-core-2.13.36.tar.gz (440 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\albam\AppData\Local\Temp\pip-install-w_cslv97\aliyun-python-sdk-core_4c7d3652d95145749775cc913798f9f1\setup.py", line 41, in <module>
          VERSION = __import__(PACKAGE).__version__
      ModuleNotFoundError: No module named 'aliyunsdkcore'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\__init__.py", line 50, in <module>
    import mmcv
ModuleNotFoundError: No module named 'mmcv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\install.py", line 119, in ensure_mmdet_package
    import mmcv
ModuleNotFoundError: No module named 'mmcv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1647, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\__init__.py", line 56, in <module>
    do_install()
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\__init__.py", line 25, in do_install
    spec.loader.exec_module(impact_install)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\install.py", line 176, in <module>
    install()
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\install.py", line 134, in install
    ensure_mmdet_package()
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\install.py", line 123, in ensure_mmdet_package
    subprocess.check_call(pip_install + ['-U', 'openmim'])
  File "subprocess.py", line 369, in check_call
subprocess.CalledProcessError: Command '['C:\\AI\\ComfyUI_windows_portable\\python_embeded\\python.exe', '-s', '-m', 'pip', 'install', '-U', 'openmim']' returned non-zero exit status 1.

Cannot import C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack module for custom nodes: Command '['C:\\AI\\ComfyUI_windows_portable\\python_embeded\\python.exe', '-s', '-m', 'pip', 'install', '-U', 'openmim']' returned non-zero exit status 1.
### Loading: ComfyUI-Manager (V0.21)
### ComfyUI Revision: 1262 [0cb14a33]
### Loading: ComfyUI-Workflow-Component (V0.40) !! WARN: This is an experimental extension. Extremely unstable. !!
!! Trying to start the node
Total VRAM 8191 MB, total RAM 65459 MB
xformers version: 0.0.20
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3070 Ti : cudaMallocAsync
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.
WAS Node Suite: Finished. Loaded 190 nodes successfully.

        "Don't be afraid to give up the good to go for the great." - John D. Rockefeller

Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1647, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Zuellni\__init__.py", line 67, in <module>
    module = importlib.import_module(f".Nodes.{key}", package=__name__)
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Zuellni\Nodes\IF.py", line 12, in <module>
    from transformers import BitsAndBytesConfig, T5EncoderModel
ImportError: cannot import name 'BitsAndBytesConfig' from 'transformers' (C:\AI\ComfyUI_windows_portable\python_embeded\lib\site-packages\transformers\__init__.py)

Cannot import C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Zuellni module for custom nodes: cannot import name 'BitsAndBytesConfig' from 'transformers' (C:\AI\ComfyUI_windows_portable\python_embeded\lib\site-packages\transformers\__init__.py)

Import times for custom nodes:
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\invert_mask_node.py
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\invert_image_node.py
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\mosaic_node.py
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\image_to_contrast_mask_node.py
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\monocromatic_clip_node.py
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\gaussian_blur_node.py
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\image_to_mask_node.py
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\crop_node.py
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\vae_decode_preview.py
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\masquerade-nodes-comfyui
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_TiledKSampler
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_SeeCoder
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyMath
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Derfuu_ComfyUI_ModdedNodes
   0.0 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component
   0.3 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
   0.3 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\clipseg.py
   0.5 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\facedetailer
   0.5 seconds (IMPORT FAILED): C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Zuellni
   0.6 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui
   1.3 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui
   7.3 seconds (IMPORT FAILED): C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
   8.5 seconds: C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_controlnet_preprocessors

Starting server

To see the GUI go to: http://0.0.0.0:8188
[Workflow-Component] '## face-detailer-start [ee58bd]' is broken. Maybe there are missing nodes. (INFO: ### [ERROR] "FaceDetailerPipe" node is not installed. Please install that node through ComfyUI-Mananger. ###)
Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 202, in get_input_types_dynamic
    build_input_types(i, input_mapping, input_types, node, node_config_map, spec_map)
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 350, in build_input_types
    raise Exception(errmsg)
Exception: ### [ERROR] "FaceDetailerPipe" node is not installed. Please install that node through ComfyUI-Mananger. ###
[Workflow-Component] '## mask-detailer.2lora.ir [dd40bf]' is broken. Maybe there are missing nodes. (INFO: ### [ERROR] "DetailerForEachPipe" node is not installed. Please install that node through ComfyUI-Mananger. ###)
Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 202, in get_input_types_dynamic
    build_input_types(i, input_mapping, input_types, node, node_config_map, spec_map)
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 350, in build_input_types
    raise Exception(errmsg)
Exception: ### [ERROR] "DetailerForEachPipe" node is not installed. Please install that node through ComfyUI-Mananger. ###
[Workflow-Component] '## mask-detailer.ir [c657dd]' is broken. Maybe there are missing nodes. (INFO: ### [ERROR] "DetailerForEachPipe" node is not installed. Please install that node through ComfyUI-Mananger. ###)
Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 202, in get_input_types_dynamic
    build_input_types(i, input_mapping, input_types, node, node_config_map, spec_map)
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 350, in build_input_types
    raise Exception(errmsg)
Exception: ### [ERROR] "DetailerForEachPipe" node is not installed. Please install that node through ComfyUI-Mananger. ###
[Workflow-Component] '## mask-detailer.lora.ir [453260]' is broken. Maybe there are missing nodes. (INFO: ### [ERROR] "DetailerForEachPipe" node is not installed. Please install that node through ComfyUI-Mananger. ###)
Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 202, in get_input_types_dynamic
    build_input_types(i, input_mapping, input_types, node, node_config_map, spec_map)
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 350, in build_input_types
    raise Exception(errmsg)
Exception: ### [ERROR] "DetailerForEachPipe" node is not installed. Please install that node through ComfyUI-Mananger. ###
[Workflow-Component] '## pixel-upscale-basic_pipe [286ed5]' is broken. Maybe there are missing nodes. (INFO: ### [ERROR] "LatentPixelScale" node is not installed. Please install that node through ComfyUI-Mananger. ###)
Traceback (most recent call last):
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 202, in get_input_types_dynamic
    build_input_types(i, input_mapping, input_types, node, node_config_map, spec_map)
  File "C:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Workflow-Component\workflow_component\component_loader.py", line 350, in build_input_types
    raise Exception(errmsg)
Exception: ### [ERROR] "LatentPixelScale" node is not installed. Please install that node through ComfyUI-Mananger. ###
ltdrdata commented 1 year ago

goto C:\AI\ComfyUI_windows_portable and execute .\python_embeded\python.exe -m pip install aliyunsdkcore

and then restart. If it won't work I recommend then keep it mmdet_skip as True.

That is the reason why I turn it off as default.

And don't use MMDetDetectorProvider, anymore. UltralyticsDetectorProvider is better.

Tikishark777 commented 1 year ago

Your last suggestion worked and everything is fine now. I will also not use MMDetDetectorProvider and have installed UltralyticsDetectorProvider instead. Thanks for all the help.

On Mon, Aug 7, 2023 at 2:38 AM Dr.Lt.Data < @.***> wrote:

goto C:\AI\ComfyUI_windows_portable and execute .\python_embeded\python.exe -m pip install aliyunsdkcore and then restart. If it won't work I recommend then keep it mmdet_skip as True. That is the rea DuckDuckGo removed 1 tracker. More →

https://duckduckgo.com/-eFM09FR2Xoc-hYGU9bEIsw_0DgUYWCon9uH21G4SfIyZwGrnCgyM1c713tzag6btmBV2A3niea9v--pJkGBCCBrRNp2rGjOjkc9XkZB7bfW6JtA5LPStqhvQVY3sqN4v38idnm76Vt6OHkTdE-8hbrE_KkC3xH72I2ysZxCWMRgDzLYIFfypZP8uJK_vNjRqB3shHDVcFMbBGeZaAfcR6Vi-d5kqJYJ1FODU_grSZF5BD_QVPROR0YThJSgE1vKDe5Sgg5hzM8R9YLwNaluvi-F9E3js5T7_IjmwSBYTeO-fVfMP1hqsTXt-339BC3iNZkmFYOBYatenYD6HSAedRWIpGB5YR5OBsHsXhO5CyMs4Y5FzFR6r8ccUaDC0AQ

goto C:\AI\ComfyUI_windows_portable and execute .\python_embeded\python.exe -m pip install aliyunsdkcore

and then restart. If it won't work I recommend then keep it mmdet_skip as True.

That is the reason why I turn it off as default.

And don't use MMDetDetectorProvider, anymore. UltralyticsDetectorProvider is better.

— Reply to this email directly, view it on GitHub https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/85#issuecomment-1667529665, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAPZL7NMBXVWB7JSJFXVIULXUCZQHANCNFSM6AAAAAA3GHJ6NI . You are receiving this because you authored the thread.Message ID: @.***>

albamuth commented 1 year ago

This is the result of that:

Collecting aliyunsdkcore
  Downloading aliyunsdkcore-1.0.3.tar.gz (23 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\albam\AppData\Local\Temp\pip-install-1z_agpby\aliyunsdkcore_a19d29f88a1c4413a95a81715821ed96\setup.py", line 225, in <module>
          VERSION = __import__(PACKAGE).__version__
      ModuleNotFoundError: No module named 'aliyunsdkcore'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
ltdrdata commented 1 year ago

This is the result of that:

Collecting aliyunsdkcore
  Downloading aliyunsdkcore-1.0.3.tar.gz (23 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\albam\AppData\Local\Temp\pip-install-1z_agpby\aliyunsdkcore_a19d29f88a1c4413a95a81715821ed96\setup.py", line 225, in <module>
          VERSION = __import__(PACKAGE).__version__
      ModuleNotFoundError: No module named 'aliyunsdkcore'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/84

Try this solution.

albamuth commented 1 year ago

Did this:

.\python_embeded\python -m pip install opendatalab==0.0.9
.\python_embeded\python -m pip install openmim

but still had same error with aliyunsdkcore, unfortunately.

Your documention mentions that you can install UltralyticsDetectorProvider from ComfyUI Manager, but I don't know which custom node includes or provides it?

ltdrdata commented 1 year ago

Did this:

.\python_embeded\python -m pip install opendatalab==0.0.9
.\python_embeded\python -m pip install openmim

but still had same error with aliyunsdkcore, unfortunately.

Your documention mentions that you can install UltralyticsDetectorProvider from ComfyUI Manager, but I don't know which custom node includes or provides it?

It should be installed automatically. if it is not installed automatically.

Install latest version of git. https://gitforwindows.org/

And uninstall ComfyUI-Impact-Pack and reinstall ComfyUI-Impact-Pack through ComfyUI-Manager.

Tikishark777 commented 1 year ago

It's all good now. Thank you for the help.