Comfyui install insightface github.

Comfyui install insightface github whl Processing d:\programy\comfyui\insightface-0. ). Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node You signed in with another tab or window. 13. 2) The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. 3-cp312-cp312-win_amd64. exe -s ComfyUI\main. Just tried running today after a few weeks and can't seem to get around this. 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. 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. txt 这样安装环境就可以了。 (ComfyUI Portable) python_embeded\python. 3) (1. 12+. 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. Extension for ComfyUI to evaluate the similarity between two faces - cubiq/ComfyUI_FaceAnalysis Jan 19, 2025 · What's new in the latest update 0. 12) Welcome to the unofficial ComfyUI subreddit. New Node ReActorSetWeight - you can now set the strength of face swap for source_image or face_model from 0% to 100% (in 12. それぞれのバージョンに対応するIn ReActorBuildFaceModel Node got "face_model" output to provide a blended face model directly to the main Node: Basic workflow 💾. txt Collecting onnxruntime-gpu (from -r requirements. 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. Contribute to ComfyUI-RUS/Install_ComfyUI development by creating an account on GitHub. You signed out in another tab or window. There is no limitation for both academic and commercial usage. 3-cp310-cp310-win_amd64. 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. 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 . pth 和 detection_mobilenet0. 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. The InsightFace model is antelopev2 (not the classic buffalo_l). 11; For Python 3. Reload to refresh your session. To install the node just replace the location to where your stability matrix is installed. Dec 22, 2023 · File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. txt (line 1)) Using cached onnxruntime_gpu-1. exe -m pip install insightface-0. com/Gourieff/Assets/tree/main/InsightfaceCommands: . 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. I am running ComfyUI via RunPod with the ComfyUI - Jupyter template. Contribute to Gourieff/Assets development by creating an account on GitHub. Aug 1, 2024 · The code of InsightFace is released under the MIT License. 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. whl (for 3. toml comfyui % pip install insightface Collecting insightface Using cached insightface-0. 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. ComfyUI: https://github. Run Command Prompt (CMD) from the Root Folder: For ComfyUI Portable, simply open CMD from the root folder. i experienced the same issues and almost tried everything. 25_Final. 8 for rtx 50 series, the embedded version of python is 3. 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) or python_embeded\python. 10 or for Python 3. 0. \\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. 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. 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. 26. whl. Jun 19, 2024 · Add this so it can be added to the guide. 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. 15. When i was trying to install reqiurements by CMD console; it was installing the needs to the folder in my own Python. yaml can be added in custom nodes. exe -m pip install D:\Programy\ComfyUI\insightface-0. com/comfyanonymous/ComfyUIInsightFace Wheels: https://github. You switched accounts on another tab or window. tom Dec 30, 2024 · I. insightface-0. 656743 Prestartup times for custom nodes: 0. Other python. However, the models inside the ZIP file are stored in a nested folder, which causes the loader to fail. InstantID requires insightface, you need to add it to your libraries together with onnxruntime and onnxruntime-gpu. 0 ALPHA1. tar. 5% step) May 10, 2024 · 去官网安装对应的python版本,把安装目录里面的include和libs目录都拷贝到python_embeded目录就行了. Dec 9, 2024 · Hey everyone! I also had that problem yesterday. py", line 11, in from insightface. For stability matrix users, you want to use the internal python. py", line 1, in from . I did a pip freeze to check all the versions of possibly dependencies and made sure they were all correct. (For Windows Users) Unable to Build Insightface or Avoiding Visual Studio/VS C++ Build Tools. Instead of using ComfyUI directly I installed SwarmUI. 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. 1-cp310-cp310-win_amd64. exe -m pip uninstall insightface. Copy path. 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. 10; For Python 3. Logs. It will help artists with tasks such as animating a custom character or using the character as a model for clothing etc. the reason and solution is simple. python 3. exe -V たぶん3. You would Правильная установка ComfyUI. Jun 26, 2023 · C:\SD\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb>C:\SD\ComfyUI_windows_portable\python_embeded\python. whl (122. 2 currently. pulidflux import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "C:\Users\miggu\Desktop\AI\ComfyUI\ComfyUI\custom_nodes\comfyui_pulid_flux_ll\pulidflux. \python_embeded\python. 3. 11 2. 10) or python_embeded\python. exe -m pip install -U pip. In the System Properties window that appears, click on ‘Environment Variables’. 12) Jan 19, 2025 · 你好, 我在使用 ComfyUI 与 InsightFace 模型时遇到了一些问题。我已将 detection_Resnet50_Final. i'm not sure if it was provided like this or if i updated it, mine is 3. from insightface. 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). 12; Place the downloaded file into the ComfyUI root folder if using ComfyUI Portable. 12) Jan 24, 2024 · python_embeded\\python. exe -V Download prebuilt Insightface package for Python 3. 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. exe -m pip install -r requirements. whl And it gives me this error: I have tried followin Sep 27, 2024 · > python_embeded\ python. 2 is not supported for onnx 1. 6. I appreciate any help others may be able to offer on this error: Aug 10, 2023 · D:\ai\image-generation\comfyui5\ComfyUI_windows_portable>. exe` -m pip install -r requirements. Open the start menu, search for ‘Environment Variables’, and select ‘Edit the system environment variables’. 🙏 I'm still getting the hang of the new front end, sorry about that. In the manager, it gives an "imported failed" error, and in the m Dec 14, 2024 · Oh sorry, it seems I misunderstood you. 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. . When using ComfyUI with the PulidInsightFaceLoader node, the application downloads the antelopev2. ComfyUI nodes for LivePortrait. - 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. running Python 3. pth 模型文件放在了 D:\\comfyui\\models\\insightface 目录中,但在初始化 FaceAnalysis 类时遇到了如下错误: lua 复制 编辑 asse Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD. Reinstall InsightFace via whl file: python. whl file: For Python 3. Please share your tips, tricks, and workflows for using this software to create your AI art. 不需要,最后一步安装时改为:X:**\ComfyUI_windows_portable\python_embeded\python. 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. Sep 3, 2024 · C:\Windows\system32>python. utils. 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. The most obvious is to calculate the similarity between two faces. Oct 2, 2024 · Download the file from antelopev2. I've got a new rig with an RTX 5090. exe -m pip install lib/insightface-0. (ComfyUI Portable) python_embeded\python. 17. 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. Then update pip: python. 7. zip file for the InsightFace models. exe that is used for comfyui. 3 Summary: InsightFace Python Library Home-page: https: // github. 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 💾. 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. Next, Cagliostro) - Gourieff/sd-webui-reactor You signed in with another tab or window. py, place it next to your . exe-m pip show insightface Name: insightface Version: 0. Contribute to kijai/ComfyUI-LivePortraitKJ development by creating an account on GitHub. exe -m pip install -r ComfyUI\\custom_nodes\\ComfyUI-InstantID\\requirements. The training data containing the annotation (and the models trained with these data) are available for non-commercial research purposes only. 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. com / deepinsight / insightface Author: InsightFace Contributors Author-email: contact @insightface. toml) ComfyUI's bat file starts by ". Feb 18, 2025 · The purpose being to use it within Comfyui. Feb 16, 2025 · if you are using the current nightly of comfyui with cuda 12. txt Building wheels for collected packages: insightface Building wheel for insightface (pyproject. 3-cp311-cp311-win_amd64. 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. Please keep posted images SFW. gz (439 kB) Installing build dependencies done Getting requirements to build wheel done Preparing metadata (pyproject. This software is meant to be a productive contribution to the rapidly growing AI-generated media industry. No response. py --windows-standalone-build ** ComfyUI start up time: 2023-08-10 21:14:07. 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. whl Requirement already satisfied: numpy in d:\programy\python\lib\site-packages (from insightface==0. zip to the directory "ComfyUI\models\insightface\models", then unzip and install it. ') 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. 12 Have tried a bunch of solutions posted elsewhere but none have worked. Latest commit We would like to show you a description here but the site won’t allow us. 0, which is the reason building the . fibac afnvwc jedyi weyx plci vxoh rvatdrt cbczaa jycn jdrkck gijs oiujr meijlq bsgmji ckae