From 24dbb0a5657661708ae04d8de447340980568898 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Fri, 9 Jun 2023 09:34:23 +0900 Subject: [PATCH] update depedency modify install guide/troubleshooting guide --- impact_config.py | 2 +- install.py | 2 +- troubleshooting/TROUBLESHOOTING.md | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/impact_config.py b/impact_config.py index 9ca0c73..26c97f7 100644 --- a/impact_config.py +++ b/impact_config.py @@ -1,7 +1,7 @@ import configparser import os -version = "V2.10.1" +version = "V2.10.2" dependency_version = 1 diff --git a/install.py b/install.py index d357e0c..0a68a27 100644 --- a/install.py +++ b/install.py @@ -87,7 +87,7 @@ def ensure_mmdet_package(): subprocess.check_call(pip_install + ['-U', 'openmim']) subprocess.check_call(mim_install + ['mmcv==2.0.0']) subprocess.check_call(mim_install + ['mmdet==3.0.0']) - subprocess.check_call(mim_install + ['mmengine==0.7.3']) + subprocess.check_call(mim_install + ['mmengine==0.7.4']) def install(): diff --git a/troubleshooting/TROUBLESHOOTING.md b/troubleshooting/TROUBLESHOOTING.md index 42121b2..6b50ec0 100644 --- a/troubleshooting/TROUBLESHOOTING.md +++ b/troubleshooting/TROUBLESHOOTING.md @@ -1,3 +1,20 @@ +## When a permission error occurs during the installation process (on Windows) + +* There are cases where the package you are trying to install is already being used by another custom node that has been loaded. + * This issue occurs only on Windows. +* Please close ComfyUI and execute install.py directly using Python in the custom_nodes/ComfyUI-Impact-Pack directory. + * In case **portable** version: + 1. goto **ComfyUI_windows_portable** directory in **cmd** + 2. execute ```.\python_embeded\python -s -m custom_nodes\ComfyUI-Impact-Pack\install.py``` + * In case **venv**: + 1. activate venv + 2. execute ```python -s -m custom_nodes\ComfyUI-Impact-Pack\install.py``` + * Others: + 1. Please modify the path of 'python' according to your Python environment. + 2. execute ```(YOUR PYTHON) -s -m custom_nodes\ComfyUI-Impact-Pack\install.py``` + + + ## Destortion on Detailer * Please also note that this issue may be caused by a bug in xformers 0.0.18. If you encounter this problem, please try adjusting the guide_size parameter.