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