Insightface comfyui github.

Insightface comfyui github py", line 15, in from insightface. exe -m pip install -r requirements. Upgrade ComfyUI to the latest version! Download or git clone this repository into the ComfyUI/custom_nodes/ directory or use the Manager. Also, you don't need to use any other loaders when using the Unified one. 11) or for Python 3. 10 or 3. ReActorBuildFaceModel Node got "face_model" output to provide a blended face model directly to the main Node: Basic workflow 💾. Make sure you use the python that runs ComfyUI. Implementation of faceswap based on InstantID for ComfyUI. the reason and solution is simple. 7. I don't understand this very well so I'm hoping maybe someone can make better sense of this than me, but Contribute to zoka-he/comfyui-reactor development by creating an account on GitHub. This workflow is a little more complicated. The InsightFace model is antelopev2 (not the classic buffalo_l). Think of it as a 1-image lora. Contribute to kkkstya/insightface development by creating an account on GitHub. 12 (if in the previous step you see 3. 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 Fast and Simple Face Swap Extension Node for ComfyUI (SFW) - ComfyUI-ReActor/README. For example: Sep 19, 2024 · Match two faces' shape before using other face swap nodes - ComfyUI_FaceShaper/README. zip file for the InsightFace models. toml) Download the model into ComfyUI/models/unet, clip and encoder into ComfyUI/models/clip, VAE into ComfyUI/models/vae. Sep 3, 2024 · File "D:\Programy\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node_init. The subject or even just the style of the reference image(s) can be easily transferred to a generation. 14 - I do not use Mar 26, 2024 · File "D:\programing\Stable Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. com/Gourieff/Assets/raw/main/Insightface/insightface-0. com/cubiq/ComfyUI_IPAdapter_plus/issues/162#issuecomment-1868967714. There is two way : A) Download this repository as a zip file and extract files in to comfyui\custom_nodes\ComfyUI-InstaSwap folder. Oct 2, 2024 · Download the file from antelopev2. \python_embeded\python. Jan 13, 2025 · Your question I have a problem with Insightface and Pulid Flux not sure what is the problem. app import FaceAnalysis ModuleNotFoundError: No module named 'insightface' During handling of the above exception 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 Salut, J'essaye d'installer InsightFace sur ComfyUI pour pouvoir suivre un tutoriel sur FaceID. comfyui节点文档插件,enjoy~~. Reload to refresh your session. common import Face Nov 20, 2024 · No module named 'insightface' 2024-11-20T21:25:35. ') what should i do? Apr 14, 2025 · PuLID native implementation for ComfyUI. Important 2025. I'm using a cloud-based service, and my only way to extract the zip file of Antelopev2 is to manually pull them from huggingface. 10: https://github. 2 is not supported for onnx 1. 12 Have tried a bunch of solutions posted elsewhere but none have worked. https://github Mar 21, 2025 · Your question No module named 'insightface' on python 3. gz (439 kB) Installing build dependencies done Getting requirements to build wheel done Preparing metadata (pyproject. 0, which is the reason building the . The IPAdapter are very powerful models for image-to-image conditioning. tar. It worked for me! Contribute to alexbofa/BATNIKI development by creating an account on GitHub. folder with insightface for ComfyUI. Clone this repository to your ComfyUI custom nodes folder. Thank you for your reply. com/Gourieff/Assets/tr Commands: . The training data containing the annotation (and the models trained with these data) are available for non-commercial research purposes only. I did a pip freeze to check all the versions of possibly dependencies and made sure they were all correct. There are also prebuilt packages so you don’t have to build it yourself: Contribute to smthemex/ComfyUI_StoryDiffusion development by creating an account on GitHub. zip file contains the ONNX models inside a subfolder. Contribute to kijai/ComfyUI-LivePortraitKJ development by creating an account on GitHub. Prompt executed in 9. i'm not sure if it was provided like this or if i updated it, mine is 3. Depending on Python version (3. 11. 将 ComfyUI 升级到最新版本! 下载或 git clone 此仓库到 ComfyUI/custom_nodes/ 目录或使用 Manager。 InstantID 需要 insightface,您需要将其添加到您的库中,连同 onnxruntime 和 onnxruntime-gpu。 InsightFace 模型是 antelopev2(不是经典的 buffalo_l)。 Extension for ComfyUI to evaluate the similarity between two faces - cubiq/ComfyUI_FaceAnalysis 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. kolor,story-maker,infiniteyou,时需要安装insightface库。 文章浏览阅读1. py", line 571, in apply_ipadapter raise Exception('InsightFace must be provided for FaceID models. anybody encountered this issue too? thanks. 24 seconds. app import FaceAnalysis ModuleNotFoundError: No module named 'insightface' During handling of the above Fast and Simple Face Swap Extension Node for ComfyUI (SFW) - Gourieff/ComfyUI-ReActor from insightface. 11) download prebuilt Insightface package to ComfyUI root folder: Python 3. 不需要,最后一步安装时改为:X:**\ComfyUI_windows_portable\python_embeded\python. md at main · Gourieff/ComfyUI-ReActor Nov 1, 2024 · Your question Having an issue with InsightFaceLoader which is causing it to not work at all. Run Command Prompt (CMD) from the Root Folder: For ComfyUI Portable, simply open CMD from the root folder. 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. InstantID requires insightface, you need to add it to your libraries together with onnxruntime and onnxruntime-gpu. the choice is between CPU,CUDA and ROCM. Dec 22, 2023 · File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. - nosiu/comfyui-instantId-faceswap Apr 14, 2025 · ComfyUI reference implementation for IPAdapter models. ') 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. Contribute to CavinHuang/comfyui-nodes-docs development by creating an account on GitHub. Depending on the operating system, this package often needs to be compiled and installed directly in the user's environment. 3. 12+. txt 这样安装环境就可以了。 Jan 23, 2024 · Issue Description. 5k次,点赞24次,收藏16次。使用IP-adapter下的faceID的时候,大家可能会遇到如下错误:当然了,这个错误比较明显,就是InsightFace没有安装导致的,那么这个InsightFace应该怎么安装呢?接下来就讲一下具体的安装方法。_insightface如何安装 Dec 24, 2024 · Saved searches Use saved searches to filter your results more quickly Sep 15, 2024 · No module named 'insightface' 2024-09-16 09:51:30,132 - root - ERROR - Traceback (most recent call last): File "D:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\utils. pth 模型文件放在了 D:\\comfyui\\models\\insightface 目录中,但在初始化 FaceAnalysis 类时遇到了如下错误: lua 复制 编辑 asse Jul 10, 2024 · Not exactly a fix but I found a work around that for now has resolved the whl issue. running Python 3. When using ComfyUI with the PulidInsightFaceLoader node, the application downloads the antelopev2. whl file: For Python 3. Without insightface, our IP-adapter or InstantID cannot be used, so everyone must install it. 10; For Python 3. May 10, 2024 · 去官网安装对应的python版本,把安装目录里面的include和libs目录都拷贝到python_embeded目录就行了. Instead of using ComfyUI directly I installed SwarmUI. ComfyUI: https://github. Models: Feb 7, 2025 · You signed in with another tab or window. yaml can be added in custom nodes. 2 currently. Feb 18, 2025 · The purpose being to use it within Comfyui. toml PhotoMaker for ComfyUI. py, place it next to your . So, something like python_embeded\python. PuLID Flux pre-trained model goes in ComfyUI/models/pulid/. Feb 16, 2025 · if you are using the current nightly of comfyui with cuda 12. app. Jan 21, 2024 · Create a file named test-insightface. 13 v0. Le fichier bat de ComfyUI commence Mar 29, 2024 · You are using IPAdapter Advanced instead of IPAdapter FaceID. La première fois, j'ai essayé de l'installer en utilisant "pip install insightface" et il était apparemment installé mais j'ai réalisé que l'installation s'était produite sur le chemin système pour python, et non sur le dossier python inclus dans ComfyUI. 27(2025-03-21) 5090 GPU Logs Other No response Sep 19, 2024 · Match two faces' shape before using other face swap nodes - fssorc/ComfyUI_FaceShaper Jan 19, 2025 · When using ComfyUI with the PulidInsightFaceLoader node, the application downloads the antelopev2. 10 or for Python 3. You switched accounts on another tab or window. ComfyUI nodes for LivePortrait. Contribute to shiimizu/ComfyUI-PhotoMaker-Plus development by creating an account on GitHub. Jan 19, 2025 · 你好, 我在使用 ComfyUI 与 InsightFace 模型时遇到了一些问题。我已将 detection_Resnet50_Final. Aug 1, 2024 · The code of InsightFace is released under the MIT License. Feb 12, 2024 · Saved searches Use saved searches to filter your results more quickly PuLID-Flux ComfyUI implementation. 12; Place the downloaded file into the ComfyUI root folder if using ComfyUI Portable. i experienced the same issues and almost tried everything. 17. pth 和 detection_mobilenet0. Contribute to balazik/ComfyUI-PuLID-Flux development by creating an account on GitHub. ). You signed in with another tab or window. Aug 5, 2024 · It seems like many people have this issue 1 2 3. 11 (if in the previous step you see 3. However, the models inside the ZIP file are stored in a nested folder, which causes the loader to fail. The most obvious is to calculate the similarity between two faces. bat" file) or into ComfyUI root folder if you use ComfyUI Portable Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node 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. zip to the directory "ComfyUI\models\insightface\models", then unzip and install it. Lo ComfyUI nodes for the roop extension originally for a1111 stable-diffusion-webui - ssitu/ComfyUI_roop 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. pt" Ultralytics model - you can download it from the Assets and put it into the "ComfyUI\models\ultralytics\bbox" directory As well as "sam Jan 9, 2025 · Your question Hey there, I'm experiencing an issue while running PuLID. comfyui % pip install insightface Collecting insightface Using cached insightface-0. python 3. com/comfyanonymous/Com InsightFace Wheels: https://github. In my case, i have installed python 3. 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: Apr 17, 2024 · Hi I can't seem to find the "Prepare Image For InsightFace" node is a feature within ComfyUI that is related to IPAdapter models, and it's a reference implementation for these models within the ComfyUI ecosystem. 11; For Python 3. nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "D:\Programy\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\nodes. how can I fix this! Insightface is a very important plug-in for comfyui. 13. exe -m pip install [path-to-wheel] Here: https://github. whl Dec 29, 2024 · The main reason is that the officially distributed insightface package is not pre-processed and packaged for easy installation like other packages. nighter work. The EVA CLIP is EVA02-CLIP-L-14-336, should be downloaded automatically (will be located in the huggingface directory). 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. The antelopev2. Face Analysis for ComfyUI This extension uses DLib or InsightFace to perform various operations on human faces. There is no limitation for both academic and commercial usage. Contribute to cubiq/PuLID_ComfyUI development by creating an account on GitHub. 918420 - Traceback (most recent call last): File "C:\Users\user\comflowy\ComfyUI\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\utils. 25_Final. utils. py", line 159, in insightface_loader from insightface. py", line 23, in from . py", line 176, in ipadapter_execute raise Exception("insightface model is required for FaceID models") Exception: insightface model is required for FaceID models. EcomID requires insightface, you need to add it to your libraries together with onnxruntime and onnxruntime-gpu. Next) root folder (where you have "webui-user. md at main · fssorc/ComfyUI_FaceShaper Dec 29, 2023 · File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. Face Masking feature is available now, just add the "ReActorMaskHelper" Node to the workflow and connect it as shown below: Dec 21, 2024 · Download the Prebuilt Insightface Package: Based on your Python version, download the appropriate . Download prebuilt Insightface package for Python 3. You signed out in another tab or window. exe -m pip install -U insightface. exe -V Download prebuilt Insightface package for Python 3. 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. 8 for rtx 50 series, the embedded version of python is 3. 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. 3-cp310-cp310-win_amd64. . Nov 1, 2024 · Here is my slolution: REASON: The virtual Python environment runs different version with the one which runs on you computer. 12) and put into the stable-diffusion-webui (A1111 or SD. 04. nroyu mgvx kunwz jeftfin ohiu zikbpk omcija qmyx fcub nfbyzmz vqhvs tefpob vcuokzvc ffccb tvq