Insightface comfyui github.
Insightface comfyui github md at main · fssorc/ComfyUI_FaceShaper Dec 29, 2023 · File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. 3. how can I fix this! Insightface is a very important plug-in for comfyui. ') what should i do? Apr 14, 2025 · PuLID native implementation for ComfyUI. py", line 176, in ipadapter_execute raise Exception("insightface model is required for FaceID models") Exception: insightface model is required for FaceID models. This workflow is a little more complicated. com/Gourieff/Assets/tr Commands: . common import Face Nov 20, 2024 · No module named 'insightface' 2024-11-20T21:25:35. Thank you for your reply. Contribute to kkkstya/insightface development by creating an account on GitHub. 2 currently. 12+. comfyui节点文档插件,enjoy~~. 25_Final. i'm not sure if it was provided like this or if i updated it, mine is 3. comfyui % pip install insightface Collecting insightface Using cached insightface-0. Aug 5, 2024 · It seems like many people have this issue 1 2 3. ReActorBuildFaceModel Node got "face_model" output to provide a blended face model directly to the main Node: Basic workflow 💾. \python_embeded\python. py", line 15, in from insightface. exe -m pip install -U insightface. 8 for rtx 50 series, the embedded version of python is 3. The subject or even just the style of the reference image(s) can be easily transferred to a generation. 10; For Python 3. - nosiu/comfyui-instantId-faceswap Apr 14, 2025 · ComfyUI reference implementation for IPAdapter models. 12) and put into the stable-diffusion-webui (A1111 or SD. Feb 12, 2024 · Saved searches Use saved searches to filter your results more quickly PuLID-Flux ComfyUI implementation. You signed out in another tab or window. However, the models inside the ZIP file are stored in a nested folder, which causes the loader to fail. . toml) Download the model into ComfyUI/models/unet, clip and encoder into ComfyUI/models/clip, VAE into ComfyUI/models/vae. InstantID requires insightface, you need to add it to your libraries together with onnxruntime and onnxruntime-gpu. tar. 11; For Python 3. Depending on the operating system, this package often needs to be compiled and installed directly in the user's environment. 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. EcomID requires insightface, you need to add it to your libraries together with onnxruntime and onnxruntime-gpu. You switched accounts on another tab or window. 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. I did a pip freeze to check all the versions of possibly dependencies and made sure they were all correct. txt 这样安装环境就可以了。 Jan 23, 2024 · Issue Description. ') 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. Models: Feb 7, 2025 · You signed in with another tab or window. 不需要,最后一步安装时改为:X:**\ComfyUI_windows_portable\python_embeded\python. the reason and solution is simple. 10: https://github. For example: Sep 19, 2024 · Match two faces' shape before using other face swap nodes - ComfyUI_FaceShaper/README. ComfyUI: https://github. Feb 16, 2025 · if you are using the current nightly of comfyui with cuda 12. 11) or for Python 3. https://github Mar 21, 2025 · Your question No module named 'insightface' on python 3. Contribute to shiimizu/ComfyUI-PhotoMaker-Plus development by creating an account on GitHub. There is no limitation for both academic and commercial usage. 13. Contribute to balazik/ComfyUI-PuLID-Flux development by creating an account on GitHub. ). yaml can be added in custom nodes. com/cubiq/ComfyUI_IPAdapter_plus/issues/162#issuecomment-1868967714. 12 Have tried a bunch of solutions posted elsewhere but none have worked. exe -m pip install -r requirements. Download prebuilt Insightface package for Python 3. running Python 3. Nov 1, 2024 · Here is my slolution: REASON: The virtual Python environment runs different version with the one which runs on you computer. com/comfyanonymous/Com InsightFace Wheels: https://github. Clone this repository to your ComfyUI custom nodes folder. py", line 571, in apply_ipadapter raise Exception('InsightFace must be provided for FaceID models. Without insightface, our IP-adapter or InstantID cannot be used, so everyone must install it. Also, you don't need to use any other loaders when using the Unified one. 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. Jan 19, 2025 · 你好, 我在使用 ComfyUI 与 InsightFace 模型时遇到了一些问题。我已将 detection_Resnet50_Final. The most obvious is to calculate the similarity between two faces. 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. Think of it as a 1-image lora. Next) root folder (where you have "webui-user. 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. 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. The training data containing the annotation (and the models trained with these data) are available for non-commercial research purposes only. Jan 13, 2025 · Your question I have a problem with Insightface and Pulid Flux not sure what is the problem. 7. nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "D:\Programy\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\nodes. anybody encountered this issue too? thanks. 14 - I do not use Mar 26, 2024 · File "D:\programing\Stable Diffusion\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. 12; Place the downloaded file into the ComfyUI root folder if using ComfyUI Portable. 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. 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. nighter work. kolor,story-maker,infiniteyou,时需要安装insightface库。 文章浏览阅读1. 17. 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 . exe -m pip install [path-to-wheel] Here: https://github. Implementation of faceswap based on InstantID for ComfyUI. 24 seconds. 11) download prebuilt Insightface package to ComfyUI root folder: Python 3. Le fichier bat de ComfyUI commence Mar 29, 2024 · You are using IPAdapter Advanced instead of IPAdapter FaceID. The IPAdapter are very powerful models for image-to-image conditioning. The EVA CLIP is EVA02-CLIP-L-14-336, should be downloaded automatically (will be located in the huggingface directory). i experienced the same issues and almost tried everything. 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. PuLID Flux pre-trained model goes in ComfyUI/models/pulid/. 11 (if in the previous step you see 3. Contribute to CavinHuang/comfyui-nodes-docs development by creating an account on GitHub. 12 (if in the previous step you see 3. 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. Instead of using ComfyUI directly I installed SwarmUI. Make sure you use the python that runs ComfyUI. py, place it next to your . 04. zip file contains the ONNX models inside a subfolder. In my case, i have installed python 3. 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. Contribute to kijai/ComfyUI-LivePortraitKJ development by creating an account on GitHub. py", line 159, in insightface_loader from insightface. Feb 18, 2025 · The purpose being to use it within Comfyui. pth 和 detection_mobilenet0. 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. The InsightFace model is antelopev2 (not the classic buffalo_l). Depending on Python version (3. 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. Oct 2, 2024 · Download the file from antelopev2. Important 2025. You signed in with another tab or window. 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. zip file for the InsightFace models. 10 or 3. 将 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. It worked for me! Contribute to alexbofa/BATNIKI development by creating an account on GitHub. the choice is between CPU,CUDA and ROCM. The antelopev2. 918420 - Traceback (most recent call last): File "C:\Users\user\comflowy\ComfyUI\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\utils. ComfyUI nodes for LivePortrait. Run Command Prompt (CMD) from the Root Folder: For ComfyUI Portable, simply open CMD from the root folder. Face Analysis for ComfyUI This extension uses DLib or InsightFace to perform various operations on human faces. 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. app. Upgrade ComfyUI to the latest version! Download or git clone this repository into the ComfyUI/custom_nodes/ directory or use the Manager. Aug 1, 2024 · The code of InsightFace is released under the MIT License. So, something like python_embeded\python. 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. There is two way : A) Download this repository as a zip file and extract files in to comfyui\custom_nodes\ComfyUI-InstaSwap folder. When using ComfyUI with the PulidInsightFaceLoader node, the application downloads the antelopev2. Reload to refresh your session. 10 or for Python 3. python 3. 11. Dec 22, 2023 · File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus. Sep 3, 2024 · File "D:\Programy\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node_init. py", line 23, in from . Contribute to cubiq/PuLID_ComfyUI development by creating an account on GitHub. Jan 21, 2024 · Create a file named test-insightface. May 10, 2024 · 去官网安装对应的python版本,把安装目录里面的include和libs目录都拷贝到python_embeded目录就行了. 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. 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. 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. zip to the directory "ComfyUI\models\insightface\models", then unzip and install it. 0, which is the reason building the . 3-cp310-cp310-win_amd64. 2 is not supported for onnx 1. com/Gourieff/Assets/raw/main/Insightface/insightface-0. 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. Prompt executed in 9. whl file: For Python 3. toml PhotoMaker for ComfyUI. exe -V Download prebuilt Insightface package for Python 3. gz (439 kB) Installing build dependencies done Getting requirements to build wheel done Preparing metadata (pyproject. folder with insightface for ComfyUI. 13 v0. utils. kwegl rrtbq igm mcgmtx nslns phcuhp hdponp rjh azzxmaz ecl dsvpxa bvzvr jdbt ddue askux