Comments (6)
I guess this issue related to directory recognition. I need to check the portable version.
Which one do you running?
https://github.com/comfyanonymous/ComfyUI/releases
from comfyui-impact-pack.
Thank you!
I'm using this one:
Download Link with stable pytorch 2.0 cu118 + xformers
from comfyui-impact-pack.
Thank you!
I'm using this one:
I just tested on that version.
There is no problem under this installation steps.
- unzip portable version
- goto ComfyUI/custom_nodes
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack
- launch run_cpu.bat
Is this your installation steps, too?
In that case...
open install.py. Then you can see this code.
import os
import sys
import subprocess
comfy_path = '../..'
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy"))
sys.path.append(comfy_path)
import platform
import folder_paths
from torchvision.datasets.utils import download_url
import impact_config
...
add logging code like this..
import os
import sys
import subprocess
comfy_path = '../..'
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy"))
sys.path.append(comfy_path)
print(f"__File__ path: {os.path.realpath(__file__)}") # ADD THIS CODE
print(f"comfy_path: {os.path.realpath(comfy_path)}") #
print(f"comfy_path: {os.path.realpath('.')}") #
print(f"impact_config: {os.path.exists('impact_config.py')}") #
import platform
import folder_paths
from torchvision.datasets.utils import download_url
import impact_config
...
and launch show me the console message.
from comfyui-impact-pack.
My installation steps are:
- unzip portable version
- goto ComfyUI/custom_nodes
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack
- cd ComfyUI-Impact-Pack
- PS C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack> C:\ComfyUI\python_embeded\python.exe install.py
In step 5, after changing the code as you requested, I get this error:
__File__ path: C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\install.py comfy_path: C:\ComfyUI\ComfyUI comfy_path: C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack impact_config: True Traceback (most recent call last): File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\install.py", line 19, in <module> import impact_config ModuleNotFoundError: No module named 'impact_config'
I've gone ahead and installed the below manually:
pip install
- openmim
- segment-anything
- pycocotools
- onnxruntime
mim install
- mmcv==2.0.0, mmdet==3.0.0, mmengine==0.7.2
It seems to work sometimes. Half of the time it seems to skip without any error in the console. Maybe it doesn't detect a face, I'm not sure.
from comfyui-impact-pack.
My installation steps are:
- unzip portable version
- goto ComfyUI/custom_nodes
- git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack
- cd ComfyUI-Impact-Pack
- PS C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack> C:\ComfyUI\python_embeded\python.exe install.py
In step 5, after changing the code as you requested, I get this error:
__File__ path: C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\install.py comfy_path: C:\ComfyUI\ComfyUI comfy_path: C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack impact_config: True Traceback (most recent call last): File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\install.py", line 19, in <module> import impact_config ModuleNotFoundError: No module named 'impact_config'
I've gone ahead and installed the below manually:
pip install
- openmim
- segment-anything
- pycocotools
- onnxruntime
mim install
- mmcv==2.0.0, mmdet==3.0.0, mmengine==0.7.2
It seems to work sometimes. Half of the time it seems to skip without any error in the console. Maybe it doesn't detect a face, I'm not sure.
Try recent version. I've fixed this issue.
Now, you can execute install.py manually on portable version.
Additionally, you don't need execute install.py. It will executed automatically during initial launch.
I updated installation guide.
from comfyui-impact-pack.
Thank you for that.
from comfyui-impact-pack.
Related Issues (20)
- Can't not found refresh_btn2 in js/impact-wildcard.js HOT 1
- Clarifications on Control Bridge behavior HOT 5
- open in sam detector is error HOT 5
- Feature Request
- No module named 'dill' error HOT 7
- AnimateDiff/Batch won't work with Controlnet SEGS and Mask to SEGS (Combined) HOT 5
- Image Receiver Not Re-Triggering with Queue Size Greater Than 1 HOT 1
- Repeat batch HOT 2
- pytorch 2.4.1 suddenly give this crash report :**Exception Type:** NotImplementedError - **Exception Message:** Could not run 'torchvision::nms' with arguments from the 'CUDA' backend. HOT 1
- Error occurred when executing SEGSDetailerForAnimateDiff HOT 2
- MakeTileSEGS+TileCN+SDXL-Lightning+FLUX
- is there a reason that SEGSPicker is an output node? HOT 1
- About Switch Any... HOT 2
- Detailer (SEGS/Pipe) takes ages to load with Flux HOT 4
- Iterative Upscale (Latent/on Pixel Space) HOT 1
- Image switching output duplicate problem HOT 5
- AV_FaceDetailer is not getting installed via comfyui manager HOT 1
- MaskDetailer (pipe) have a bug HOT 1
- Security Issue Disclosure
- Partially incompat with Prompt Control HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comfyui-impact-pack.