Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A modified CatVTON ComfyUI node (optimized for Windows) #8

Open
pzc163 opened this issue Jul 30, 2024 · 8 comments
Open

A modified CatVTON ComfyUI node (optimized for Windows) #8

pzc163 opened this issue Jul 30, 2024 · 8 comments

Comments

@pzc163
Copy link

pzc163 commented Jul 30, 2024

Thanks for Autor's hard work, based on original project, I modified a new CatVTON Comfyui node and release on https://github.com/pzc163/Comfyui-CatVTON for more user friendly with Win OS user. And also i post a short blog on https://x.com/yangzhizheng1/status/1818197568293388578 for more and more people notice our work.

@Zheng-Chong
Copy link
Owner

Zheng-Chong commented Jul 30, 2024

Thank you for your support. I will add a link to this issue in README later to help other users in Windows environment to deploy ComfyUI.


This issue will be kept and update to provide guidance for Win Users.

  1. For Detectron2 or DensePose installment in Windows OS, refer to Is that DensePose must be installed for deploy in ComfyUI? #5.
  2. Some Installation issues on Win11 Environment issues on Windows 11 #12.
  3. 在Windows上通过Gradio使用的本地部署教程! #29.

@Zheng-Chong Zheng-Chong changed the title a modified CatVTON Comfyui node A modified CatVTON ComfyUI node (optimized for Windows) Jul 30, 2024
@BarryyyDrew
Copy link

I just encountered a n issue
(Catvton) C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable>C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\run_nvidia_gpu.bat

(Catvton) C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
[START] Security scan
[DONE] Security scan

ComfyUI-Manager: installing dependencies done.

** ComfyUI startup time: 2024-08-02 17:59:40.515309
** Platform: Windows
** Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
** Python executable: C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\python.exe
** ComfyUI Path: C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
** Log path: C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes:
1.1 seconds: C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 8192 MB, total RAM 32632 MB
pytorch version: 2.3.1+cu121
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 2070 SUPER : cudaMallocAsync
Using pytorch cross attention
[Prompt Server] web root: C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\web
Traceback (most recent call last):
File "C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1941, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-CatVTON_init
.py", line 3, in
from .model.cloth_masker import AutoMasker as AM
File "C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-CatVTON\model\cloth_masker.py", line 5, in
import cv2
ModuleNotFoundError: No module named 'cv2'

Cannot import C:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-CatVTON module for custom nodes: No module named 'cv2'

Loading: ComfyUI-Manager (V2.48.4)

ComfyUI Revision: 2445 [369f459b] | Released on '2024-08-01'

It seems that it's the cv2 module issue,but i can correctly import cv2 in my virtual environment. So i have no idea what happened

@Zheng-Chong
Copy link
Owner

Zheng-Chong commented Aug 2, 2024

cv2 can be installed by pip install opencv-python in command line.

This was referenced Aug 11, 2024
@faraztayari
Copy link

faraztayari commented Sep 8, 2024

I have completed all the steps and encountered no errors, but when uploading the JSON file, I get the following error:
'When loading the graph, the following node types were not found:
LoadAutoMasker
LoadCatVTONPipeline
CatVTON
AutoMasker
Nodes that have failed to load will show as red on the graph.'"

@gafoart
Copy link

gafoart commented Sep 10, 2024

I have completed all the steps and encountered no errors, but when uploading the JSON file, I get the following error: 'When loading the graph, the following node types were not found: LoadAutoMasker LoadCatVTONPipeline CatVTON AutoMasker Nodes that have failed to load will show as red on the graph.'"

I've the same issue

@urstruly4
Copy link

urstruly4 commented Sep 14, 2024

I have the same problem as the 2 above. any way to solve this issue when loading the workflow says:
Warning: Missing Node Types
When loading the graph, the following node types were not found:

LoadAutoMasker
CatVTON
AutoMasker
LoadCatVTONPipeline
No selected item
Nodes that have failed to load will show as red on the graph

I have asked chatgpt and tried everything it is suggesting and it is still not working.

Will you be able to help me set this up properly, I am quite a noob and willing to pay for any help to have this set up!

@13437021811
Copy link

我有和上面 2 个一样的问题。加载工作流时解决此问题的任何方法都显示:
警告:缺少节点类型
加载图形时,找不到以下节点类型:

LoadAutoMasker
CatVTON
AutoMasker
LoadCatVTONPipeline
No selected item
加载失败的节点将在图表上显示为红色

我已经询问了 chatgpt 并尝试了它所建议的一切,但它仍然无法正常工作。

你能帮我正确设置吗,我是个菜鸟,愿意为任何帮助付费来设置这个!

me too,the same issue

@Marketticker
Copy link

Same issue i feel this repo not really working tried all there workflows and combos , there is always files missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants