Comfyui install insightface github.

Comfyui install insightface github tom Dec 30, 2024 · I. If you're having trouble building Insightface or prefer not to install Visual Studio/VS C++ Build Tools, follow these steps: ComfyUIで使われているPythonのバージョンを確認する $ cd path\to\ComfyUI_windows_portable $ python_embeded\python. 2) The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. Run Command Prompt (CMD) from the Root Folder: For ComfyUI Portable, simply open CMD from the root folder. Copy path. However, the models inside the ZIP file are stored in a nested folder, which causes the loader to fail. New node "Unload ReActor Models" - is useful for complex WFs when you need to free some VRAM utilized by ReActor Support of ORT CoreML and ROCM EPs, just install onnxruntime version you need Install script improvements to install latest versions of ORT-GPU Face Masking feature is available now, just Apr 27, 2025 · Failed to install insightface #2734 opened Mar 12, 2025 by richardabear face swapper results are different (more accurate) when using darker target image Dec 24, 2023 · I am using the portable variant of comfyui which ships its own python (folder python_embedded) and it is unclear to me what exactly must be met to operate within that python environment (I don't see any venv, etc. Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node Jul 10, 2024 · Not exactly a fix but I found a work around that for now has resolved the whl issue. 11 2. 3 Summary: InsightFace Python Library Home-page: https: // github. insightface-0. Next, Cagliostro) - Gourieff/sd-webui-reactor You signed in with another tab or window. py --windows-standalone-build ** ComfyUI start up time: 2023-08-10 21:14:07. In the manager, it gives an "imported failed" error, and in the m Dec 14, 2024 · Oh sorry, it seems I misunderstood you. 12+. \python_embeded\python. ai License: MIT Location: E:\ComfyUI_windows_portable\python_embeded\Lib\site-packages Requires (For Windows Users) Install Visual Studio 2022 (Community version - you need this step to build Insightface) -OR- only VS C++ Build Tools and select "Desktop Development with C++" under "Workloads -> Desktop & Mobile" -OR- if you don't want to install VS or VS C++ BT - follow this steps (sec. py", line 529, in load_insight_face raise Exception('IPAdapter: InsightFace is not installed! Install the missing dependencies if you wish to use FaceID models. Contribute to ComfyUI-RUS/Install_ComfyUI development by creating an account on GitHub. tar. whl And it gives me this error: I have tried followin Sep 27, 2024 · > python_embeded\ python. You would Правильная установка ComfyUI. 12) Welcome to the unofficial ComfyUI subreddit. (ComfyUI Portable) python_embeded\python. Just tried running today after a few weeks and can't seem to get around this. 13. I) Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node Oct 13, 2024 · SwarmUI should install a precompiled insightface wheel when you click the 'Install IP Adapter' button but if that didn't work you can compile it manually with the following steps: Install Visual Studio 2022 Community version OR only VS C++ Build Tools and select "Desktop Development with C++" under "Workloads -> Desktop & Mobile" Jan 4, 2025 · This popped up out of nowhere even though I have been using the installation normally for several months. Dec 22, 2023 · File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. Oct 2, 2024 · Download the file from antelopev2. Logs. I've got a new rig with an RTX 5090. In the System Properties window that appears, click on ‘Environment Variables’. The unzipped path is "ComfuUI\models\insightface\models\antelopev2\antelopev2", then cut all the files in the path to "ComfyUI\models\insightface\models\antelopev2" and restart it to work normally. 26. 不需要,最后一步安装时改为:X:**\ComfyUI_windows_portable\python_embeded\python. 2 currently. 10; For Python 3. Jun 26, 2023 · C:\SD\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb>C:\SD\ComfyUI_windows_portable\python_embeded\python. 0 ALPHA1. 5% step) May 10, 2024 · 去官网安装对应的python版本,把安装目录里面的include和libs目录都拷贝到python_embeded目录就行了. Latest commit We would like to show you a description here but the site won’t allow us. exe -V たぶん3. i'm not sure if it was provided like this or if i updated it, mine is 3. Contribute to Gourieff/Assets development by creating an account on GitHub. Then update pip: python. . py, place it next to your . Dec 25, 2023 · (For Windows users) If you still cannot build Insightface for some reason or just don't want to install Visual Studio or VS C++ Build Tools - do the following: (ComfyUI Portable) From the root folder check the version of Python: run CMD and type python_embeded\python. whl Requirement already satisfied: numpy in d:\programy\python\lib\site-packages (from insightface==0. whl file: For Python 3. Contribute to kijai/ComfyUI-LivePortraitKJ development by creating an account on GitHub. 10) or python_embeded\python. zip file for the InsightFace models. exe that is used for comfyui. Face Masking feature is available now, just add the "ReActorMaskHelper" Node to the workflow and connect it as shown below: Jul 4, 2024 · (For Windows users) If you still cannot build Insightface for some reasons or just don't want to install Visual Studio or VS C++ Build Tools - do the following: (ComfyUI Portable) From the root folder check the version of Python: run CMD and type python_embeded\python. You signed out in another tab or window. 3-cp311-cp311-win_amd64. Dec 9, 2024 · Hey everyone! I also had that problem yesterday. utils. Extension for ComfyUI to evaluate the similarity between two faces - cubiq/ComfyUI_FaceAnalysis Jan 19, 2025 · What's new in the latest update 0. Feb 18, 2025 · The purpose being to use it within Comfyui. The training data containing the annotation (and the models trained with these data) are available for non-commercial research purposes only. New Node ReActorSetWeight - you can now set the strength of face swap for source_image or face_model from 0% to 100% (in 12. txt (line 1)) Using cached onnxruntime_gpu-1. 3-cp310-cp310-win_amd64. pth 和 detection_mobilenet0. whl (122. com/Gourieff/Assets/tree/main/InsightfaceCommands: . Instead of using ComfyUI directly I installed SwarmUI. 0, which is the reason building the . whl Processing d:\programy\comfyui\insightface-0. Reactor was working fine on my old system, but I can't get it running on the new one—whether using my previous ComfyUI setup or a clean install. Reload to refresh your session. I did a pip freeze to check all the versions of possibly dependencies and made sure they were all correct. Feb 16, 2025 · if you are using the current nightly of comfyui with cuda 12. Sep 3, 2024 · C:\Windows\system32>python. 1-cp310-cp310-win_amd64. InstantID requires insightface, you need to add it to your libraries together with onnxruntime and onnxruntime-gpu. 3. 25_Final. Please keep posted images SFW. toml) ComfyUI's bat file starts by ". exe -V Download prebuilt Insightface package for Python 3. This software is meant to be a productive contribution to the rapidly growing AI-generated media industry. 0. There is no limitation for both academic and commercial usage. 0 seconds: D:\ai\image-generation\comfyui5\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager Total VRAM 8188 MB, total RAM 15608 MB xformers version: 0. Oct 18, 2024 · But isnt the yaml related to main comfy files such as path files py etc? insightface is not a model supported by ComfyUI core, and configuration extensions for extra_model_paths. To install the node just replace the location to where your stability matrix is installed. whl. 3-cp312-cp312-win_amd64. pt" Ultralytics model - you can download it from the Assets and put it into the "ComfyUI\models\ultralytics\bbox" directory As well as "sam Apr 14, 2025 · Upgrade ComfyUI to the latest version! Download or git clone this repository into the ComfyUI/custom_nodes/ directory or use the Manager. 17. The most obvious is to calculate the similarity between two faces. Nov 22, 2024 · I am just trying to get ReActor Node working for Comfyui but I get to the step where I have to do: python_embeded\python. It's failing because it apparently cannot find Python development while compiling C code that's part of that package (namely header files, but presumably it would also fail trying to link): Need Help Getting Reactor Running on RTX 5090. 12; Place the downloaded file into the ComfyUI root folder if using ComfyUI Portable. py", line 11, in from insightface. No response. You switched accounts on another tab or window. 11) or python_embeded\python. 12) Jan 24, 2024 · python_embeded\\python. 12) Jan 19, 2025 · 你好, 我在使用 ComfyUI 与 InsightFace 模型时遇到了一些问题。我已将 detection_Resnet50_Final. I appreciate any help others may be able to offer on this error: Aug 10, 2023 · D:\ai\image-generation\comfyui5\ComfyUI_windows_portable>. 12 Have tried a bunch of solutions posted elsewhere but none have worked. Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node You signed in with another tab or window. - comfyanonymous/ComfyUI Face Masking feature is available now, just add the "ReActorMaskHelper" Node to the workflow and connect it as shown below: If you don't have the "face_yolov8m. whl (for 3. Just found out that: Since ComfyUI has its own embeded Python, after you install the python by yourself, now there is 2 seperate python directories in your computer. com/comfyanonymous/ComfyUIInsightFace Wheels: https://github. It will help artists with tasks such as animating a custom character or using the character as a model for clothing etc. When using ComfyUI with the PulidInsightFaceLoader node, the application downloads the antelopev2. Aug 1, 2024 · The code of InsightFace is released under the MIT License. Face Masking feature is available now, just add the "ReActorMaskHelper" Node to the workflow and connect it as shown below: Apr 6, 2024 · I have also installed insightface via pip install insightface and onnxruntime via pip install onnxruntime and pip install onnxruntime-gpu within the /workspace/ComfyUI directory. 2 is not supported for onnx 1. 5 MB) Requirement already satisfied: imageio in c:\sd\comfyui_windows_portable\python_embeded\lib\site-packages File "C:\Users\miggu\Desktop\AI\ComfyUI\ComfyUI\custom_nodes\comfyui_pulid_flux_ll_init. When i was trying to install reqiurements by CMD console; it was installing the needs to the folder in my own Python. ComfyUI nodes for LivePortrait. 8 for rtx 50 series, the embedded version of python is 3. py", line 1, in from . exe -s ComfyUI\main. txt 这样安装环境就可以了。 (ComfyUI Portable) python_embeded\python. Open the start menu, search for ‘Environment Variables’, and select ‘Edit the system environment variables’. (For Windows Users) Unable to Build Insightface or Avoiding Visual Studio/VS C++ Build Tools. com / deepinsight / insightface Author: InsightFace Contributors Author-email: contact @insightface. 6. exe -m pip install -r ComfyUI\\custom_nodes\\ComfyUI-InstantID\\requirements. 20 Set Jan 23, 2024 · 如图,我使用comfyUI的load按钮,加载ComfyUI\\custom_nodes\\ComfyUI-InstantID\\INSTANTID WORKFLOWS目录下的工作流文件,报错了,缺少这些节点 After installation and downloading the model files, you'll find the following nodes available in ComfyUI: Arc2Face Face Extractor Extracts all faces from a single input image (have tested as many as 64), averages them using the selected averaging scheme, and outputs the embedding the generators expect. exe -m pip install insightface-0. pth 模型文件放在了 D:\\comfyui\\models\\insightface 目录中,但在初始化 FaceAnalysis 类时遇到了如下错误: lua 复制 编辑 asse Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD. 15. exe -m pip install D:\Programy\ComfyUI\insightface-0. txt Collecting onnxruntime-gpu (from -r requirements. exe -m pip install -r requirements. ). 7. toml comfyui % pip install insightface Collecting insightface Using cached insightface-0. 3) (1. pulidflux import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "C:\Users\miggu\Desktop\AI\ComfyUI\ComfyUI\custom_nodes\comfyui_pulid_flux_ll\pulidflux. exe` -m pip install -r requirements. exe -m pip install lib/insightface-0. app import FaceAnalysis Mar 10, 2011 · I encountered the same problem with ComfyUI_windows_portable, the solution is: Find or install a version of python that is the same as ComfyUI_windows_portable, copy the include and libs folders in the xxx\Python3xx\ directory to the xx\ComfyUI_windows_portable\python_embeded directory; Jan 23, 2024 · Issue Description. py--windows-standalone-build" so I guess it is using its own Python, but this syntax is slightly different from a Virtual Environment (on Automatic 1111, you install a venv and activate it, so you can install any Python source when venv is activated directly on its own ReActorBuildFaceModel Node got "face_model" output to provide a blended face model directly to the main Node: Basic workflow 💾. running Python 3. Reinstall InsightFace via whl file: python. the reason and solution is simple. yaml can be added in custom nodes. ') Dec 29, 2024 · (This usage of wheel is also a solution for other complicated custom nodes that are not related to insightface sometimes) I wanted to know if it was something that can be improved? I mean I know how to install insightface with the wheel, but I wanted to know why it wasn't straightforwared like any other python library. Jun 19, 2024 · Add this so it can be added to the guide. The InsightFace model is antelopev2 (not the classic buffalo_l). After successful installation, there will be insightface files in our python_embeded folder Dec 21, 2024 · Download the Prebuilt Insightface Package: Based on your Python version, download the appropriate . ComfyUI: https://github. The best way to evaluate generated faces is to first send a batch of 3 reference images to the node and compare them to a forth reference (all actual pictures of the person). 🙏 I'm still getting the hang of the new front end, sorry about that. from insightface. gz (439 kB) Installing build dependencies done Getting requirements to build wheel done Preparing metadata (pyproject. それぞれのバージョンに対応するIn ReActorBuildFaceModel Node got "face_model" output to provide a blended face model directly to the main Node: Basic workflow 💾. i experienced the same issues and almost tried everything. 11; For Python 3. 10 or for Python 3. I am running ComfyUI via RunPod with the ComfyUI - Jupyter template. \\python_embeded\\pyth 很多使用webui,comfyUI的用户,如果要使用脸部一致性,换脸模型(reactor,facefusion,FaceID)的都会需要安装一个叫Insightface的包。这个包安装经常会遇到一些问题。下面基于我的个人经验总结以下安装的步骤。… This extension uses DLib or InsightFace to perform various operations on human faces. venv location, and put the following contents in it (and preferably edit its inface_models path if your ComfyUI folder isn't exactly named "ComfyUI" at that exact path, because if you provide a correct path to the models directory, you can reuse the existing model in the ComfyUI installation; if the path cannot be found, it will I have already tried using the automatic method through the manager and also the manual method, but unfortunately, it doesn't work. python 3. exe -m pip uninstall insightface. It is a mystery that onnxruntime wasn't installed, given that comfy+manager+ipadapter are all in a brand-new environment from 2 days ago 🤔 Nonetheless, if this is unrelated to the manager, then sorry for the hassle. download import download_file ModuleNotFoundError: No module named 'insightface' Cannot import D:\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_PuLID_Flux_ll module for custom nodes: No module named 'insightface' Import times for custom nodes: Jan 21, 2024 · Create a file named test-insightface. txt Building wheels for collected packages: insightface Building wheel for insightface (pyproject. Dec 6, 2024 · That's a strange way to share log output! After watching the video, it looks like you issue is building the insightface Python package. For stability matrix users, you want to use the internal python. 656743 Prestartup times for custom nodes: 0. Other python. Swarm uses a ComfyUI backend and has ComfyUI built-in allowing you the same node layout structure with the addition of other features that are really great. exe -m pip install -U pip. exe-m pip show insightface Name: insightface Version: 0. zip to the directory "ComfyUI\models\insightface\models", then unzip and install it. Please share your tips, tricks, and workflows for using this software to create your AI art. gppyf xmc iehd ihcaf aniov pazup jbcvs sdivuajr ifirtu xprat cufexa hlpgaoo lntrj zcdhybs lzqztqy