Comfyui install insightface.
Comfyui install insightface 5k次,点赞24次,收藏16次。使用IP-adapter下的faceID的时候,大家可能会遇到如下错误:当然了,这个错误比较明显,就是InsightFace没有安装导致的,那么这个InsightFace应该怎么安装呢?接下来就讲一下具体的安装方法。_insightface如何安装 Fast and Simple Face Swap Extension for StableDiffusion WebUI (A1111 SD WebUI, SD WebUI Forge, SD. Contribute to kijai/ComfyUI-LivePortraitKJ development by creating an account on GitHub. whl file: For Python 3. 8: ```bash conda create -n insightface python=3. 首先是安装环境,Insightface需要安装在python环境中,常规的方法就是把那个whl文件放在ComfyUI的 python_embeded中,然后cmd进行pip安装,可是ComfyUI秋葉整合包中,并没有这个目录,这个问题查了好几个小时都没找到解决途径,后来突然想到把启动器好好看看,果然 Mar 20, 2024 · 这个工作流里面最经常出问题的就是insightface这个节点的。因为原作者并没有明确安装方法。所以这里以 comfyui 为例把安装方法分享在这里。 第一步:查询你的comfyui的内置python的版本。具体操作如下:打开comfyui的目录,如图1所示,进入 python_embeded 。在图2中红 Feb 18, 2024 · (初回編集時:2024年2月18日) (改訂時:2024年3月29日) ComfyUIでFaceIDを使う時につまずいたので書いておく。 (普段ComfyUIを使っている人向けに書くので、初歩的な内容はChatGPTなどに尋ねてください。) Insight Faceのインストール まずInsight Faceが必要なので、別途インストールする必要がある Feb 2, 2024 · Stable Diffusion WebUI(AUTOMATIC1111)にInsightFaceをインストールする方法を紹介します。InsightFaceはFaceIDなどで必要になる機能ですが、インストール方法に癖があり、正常にインストールできないことがあります。この記事ではプリビルドパッケージを利用して確実にインストールできる方法を紹介します。 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. Go to \Comfy\ComfyUI and run CMD in the directory, and type in: 6 days ago · We will provide you with detailed installation steps and precautions to help you smoothly set up your AI image generation environment. exe -m pip install insightface May 22, 2024 · How to Install ComfyUI-InstantID Install this extension via the ComfyUI Manager by searching for ComfyUI-InstantID. 缺少Insightface ComfyUI IstantID 导入失败 解决方法. Depending on the operating system, this package often needs to be compiled and installed directly in the user's environment. Visit ComfyUI Online for ready-to-use ComfyUI environment Feb 21, 2025 · If you see the instantID nodes’ import failure due to Insight Face, you must install a version of Insight Face compatible with your Python installation. with the new year. whl Jan 30, 2025 · I’ve been having issues with ComfyUI Desktop picking up the Insightface models for PuLID, InstantID, ReActor etc. 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. /python -m pip install insightface. ComfyUI-HunyuanVideoMultiLora. 0" in \ComfyUI\models\pulid. exe -m pip install insightface-0. whl Processing d:\programy\comfyui\insightface-0. Reinstalled ComfyUI recently and have been getting errors when trying to run InstantID or PuLID which related to it not being able to find Antelopev2. FaceIDのモデル 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 Feb 7, 2024 · ComfyUIにInsightFaceをインストールする方法を紹介します。InsightFaceのインストールでお困りの方に向けた記事です。紹介する手順はプリビルドパッケージを使用しているので、確実にインストールが可能です。 文章浏览阅读1. 11 2. 升級pip. By default ReActor detects faces in images from "large" to "small". Dec 21, 2024 · Download the Prebuilt Insightface Package: Based on your Python version, download the appropriate . exe -m pip install --upgrade pip setuptools wheel. ComfyUI-mxToolkit. Here: https://github. 3. The latest Comfyui Windows Portable version uses Python 3. それぞれのバージョンに対応するIn Jul 7, 2024 · ComfyUI 매니저를 통해 liveportrait를 설치하였으나 아래와 같이 모듈 로딩이 되지 않는 경우 ComfyUI 설치 환경에 따라 다를 수 있겠지만 저의 경우 insightface 가 설치되지 않아 발생한 현상이었습니다. whl Apr 12, 2025 · " pulid_flux_v0. After installing the missing nodes of this workflow, install Insightface for Python 3. By leveraging advanced face recognition technologies like DLib and InsightFace, this extension calculates the Euclidean and Cosine distances between two faces. 10: "python_embeded\python. The first time, I tried to install it using "pip install insightface" and it was apparently installed but I realized the installation happened on the system path for python, and not the python folder included in ComfyUI. On Windows, download and install Visual Studio. 2 is not supported for onnx 1. 아래와 같이 설치한 후 정상적으로 로딩이 되는 것을 확인하였는데요. The most obvious is to calculate the similarity between two faces. 下载Insightface到本地,通过pip安装,具体步骤如下: ComfyUIで使われているPythonのバージョンを確認する $ cd path\to\ComfyUI_windows_portable $ python_embeded\python. Jul 5, 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. whl文件复制到python_embeded文件夹下。 Oct 8, 2024 · Face Analysis for ComfyUI Introduction. 通常出现在 InstantID 或 IP-Adapter 的安装时,有时通过在线安装也无法解决。. This extension uses a/DLib to calculate the Euclidean and Cosine distance between two faces. 오류 메시지를 확인하니 insightface설치 중 생긴 오류로 해당 insightface를 수동 설치해줬습니다. The InsightFace model is antelopev2 (not the classic buffalo_l). i experienced the same issues and almost tried everything. Feb 16, 2025 · if you are using the current nightly of comfyui with cuda 12. exe -m pip uninstall insightface. whl" Python 3. Google your errors. ComfyUI: https://github. Feb 5, 2025 · 错误描述. zip to the directory "ComfyUI\models\insightface\models", then unzip and install it. Start ComfyUI and let the installation completes. 10 or for Python 3. 3-cp312-cp312-win_amd64. 注意 python_embeded 前为你的 ComfyUI 地址,install 后为你的 Insightface whl 文件名,后缀 whl 不能少。 运行命令,稍等片刻,即可安装成功。 当然,这是便携版 ComfyUI 的 Insightface 安装方式。 Sep 3, 2024 · C:\Windows\system32>python. It will enhance face details and make your result more accurate. Dec 11, 2024 · 使用comfyui时,安装插件zenid、instantid、ip-adapter等换脸插件时,因为依赖insightface安装失败,导致插件中的节点无法正常使用,需要单独安装insightface。将下载好的insightface-0. exe -m pip install PATH\insightface-0. 注意 python_embeded 前为你的 ComfyUI 地址,install 后为你的 Insightface whl 文件名,后缀 whl 不能少。 运行命令,稍等片刻,即可安装成功。 当然,这是便携版 ComfyUI 的 Insightface 安装方式。 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. exe -m pip install “G:\SOFTWARE\2024\CUSTOM_NODES\insightFace\insightface-0. exe -m pip install onnxruntime」を実行. toml Mar 9, 2025 · 使用comfyui时,安装插件zenid、instantid、ip-adapter等换脸插件时,因为依赖insightface安装失败,导致插件中的节点无法正常使用,需要单独安装insightface。将下载好的insightface-0. whl" ComfyUI InsightFace Windows Fast Installation (2024) | NO MORE ERRORS FOR IPADAPTERS / ROOP. exe -m pip install -U pip. ComfyUI_PuLID_Flux_ll. whl” onnxruntime This is because you are using the ip-adapter-plus-face_sd15. My full command looks like this: python. 3 D:\ComfyUI\python_embeded\python. Open that newly created folder (ComfyUI\custom_nodes\comfyui-reactor-node) and run the file called install. 3) (1. 安裝 Cython. the reason and solution is simple. Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node Share and Run ComfyUI workflows in the cloud. I. 3-cp311-cp311-win_amd64. 10) or python_embeded\python Install insightface using pip by executing the following command: "PATH\ComfyUI_windows_portable\python_embeded\python. ComfyUI_FaceAnalysis is an extension designed to help AI artists evaluate and compare facial images. ComfyUI Impact Pack. Run this command: pip install insightface==0. Next, Cagliostro) - Gourieff/sd-webui-reactor Jan 3, 2024 · It seems like there’s a lot of excitement in the world of stable diffusions and image generative A. すると、進行中にコンパイルが行われます。で、開発環境が無いとエラーが出ます。 コンパイルエラーが出るので、ChatGPTに聞いてみました。 First of all, if you can't install it for some reason, don't open an issue here. exe -m pip install insight (and press tab to autocomplete or type the full insightface file name). python 3. Select Custom Nodes Manager button; 3. dist-info from python311 to ComfyUI_windows_portable - python_embeded - lib - site-packages. Thanks. 15. 8 ``` 对于 Python 3. It worked for me! Jan 19, 2025 · Just download the models you want (see Installation instruction) and select one of them to restore the resulting face (s) during the faceswap. exe -V たぶん3. 3-cp310-cp310-win_amd64. 3 : If nothing helps, let's install all the sh*t we possibly can. We enter the following command python. Nov 1, 2024 · Then install Insightface: (ComfyUI Portable) python_embeded\python. 16. 2 currently. I’d checked and they were in models\\insightface\\models\\antelopev2. python. 通过whl文件重新安装InsightFace: Jan 28, 2024 · 用到臉部偵測相關的ComfyUI Custom Node都需要在ComfyUI安裝到insightface python. \python_embeded\python. com/cubiq/ComfyUI_IPAdapter_plus/issues/162#issuecomment-1868967714. 0, which is the reason building the . exe -m pip install D:\Programy\ComfyUI\insightface-0. 如之前安装失败请先卸载: python. exe -m pip install "ダウンロードしたファイルのフルパス"」 を実行 2. ComfyUI nodes for LivePortrait. Fast and Simple Face Swap Extension Node for ComfyUI - Gourieff/comfyui-reactor-node. whl. 安装成功后我们的python_embeded文件夹内就会有 This extension uses DLib or InsightFace to perform various operations on human faces. Install Insightface: Python 3. exe -m pip install insightface. Enter ComfyUI-InstantID in the search bar I am trying to install InsightFace on ComfyUI to be able to follow a tutorial on FaceID. whl 的方式强制重装insightface,安装过程很顺利,也请清楚地显示我安装完成了,但是我启动绘世启动器之后,还是熟悉的开始安装onnxruntime,开始按照requierments文档自动安装 In diesem Video zeige ich euch, wie ihr InsightFace und ReActor für das Stable Diffusion Interface ComfyUI installieren und verwenden könnt. 8 for rtx 50 series, the embedded version of python is 3. Mar 18, 2024 · 对于 Python 3. 11; For Python 3. 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. rgthree-comfy. L:\ComfyUI\python_embeded\python. 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). 26. Custom Nodes : ComfyUI-Custom-Scripts. ComfyUI-Easy-Use. Type in python. Jan 7, 2025 · 打開會像這樣. Jan 6, 2025 · . 通过whl文件重新安装InsightFace: python. InstantID requires insightface, you need to add it to your libraries together with onnxruntime and onnxruntime-gpu. Where do I install Insightface in ComfyUI? I've checked a couple of installation guides for faceid and they all just say in the comfyui environment, Not exactly sure what that means. i'm not sure if it was provided like this or if i updated it, mine is 3. Enter the ComfyUI root directory: Open the terminal and enter the command line to enter the root directory of ComfyUI. ComfyUI-VideoHelperSuite. 17. com/comfyanonymous/Com InsightFace Wheels: Jul 10, 2024 · But SwarmUI has an server>extension tab , that you can install a facetools extension that allows you to install ipadapter and the Reactor extension that rely on insightface to work directly from the UI that can be used by Comfy. NOTE: Install the Shape Predictor, Face Recognition model from the Install models menu. 12) Salut, J'essaye d'installer InsightFace sur ComfyUI pour pouvoir suivre un tutoriel sur FaceID. I almost gave up trying to install the ReActor node in comfyui, I tried this as a final step and surely enough it worked! Here you go I did this: I had to copy the site-packages the insightface as well as the insightface-0. 12+. ComfyUI-GGUF. whl Requirement already satisfied: numpy in d:\programy\python\lib\site-packages (from insightface==0. 然后更新pip: python. 12 就下載 insightface-0. (ComfyUI Portable) python_embeded\python. Tried the ReActor node but the swap_model field was empty 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. 11) or python_embeded\python. I) Oct 2, 2024 · Download the file from antelopev2. During the install, make sure to include the Python and C++ packages. and it worked fine. exe -s -m pip install --force-reinstall insightface-0. I had issues in the past with installing insightface for custom workflows and nodes like those provided for photomaker or I Seems like i was not the only one who had a problem and instead of giving a halfass answer here is a detailed step by step : **1 Install ComfyUI Jan 6, 2025 · 13. InsightFace wird Oct 23, 2024 · 「python. safetensors or any face model, and if you really need the face model, please download it to /ComfyUI (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. 10; For Python 3. PuLID need your python to have Insightface Feb 24, 2025 · After installation, click the Restart button to restart ComfyUI. Anyone clarify this for me? would much appreciate it. ONNX Runtime "python_embeded"ディレクトリに移動して、 「python. This part will introduce how to install ComfyUI on various devices and operating systems, including Windows, Mac, Linux, and other platforms. whl" Replace "PATH" with the actual paths on your system. 1. ComfyUI Installation Methods on Different Devices. 10) or python_embeded\python. Click the Manager button in the main menu; 2. bat 2. ComfyUI-KJNodes. Then, manually refresh your browser to clear the cache and access the updated list of nodes. exe -m pip install Cython. 12; Place the downloaded file into the ComfyUI root folder if using ComfyUI Portable. Visit ComfyUI Online for ready-to-use ComfyUI environment Jan 13, 2025 · そして、いよいよ insightface のインストールです。 C:\ComfyUI_windows_portable\python_embeded で. 9. 9 ``` 接着激活该虚拟环境: ```bash conda activate insightface ``` #### 安装依赖库 进入项目的根目录后,通过 pip 来安装所需的依赖包: ```bash cd insightface pip install -r 很多使用webui,comfyUI的用户,如果要使用脸部一致性,换脸模型(reactor,facefusion,FaceID)的都会需要安装一个叫Insightface的包。这个包安装经常会遇到一些问题。下面基于我的个人经验总结以下安装的步骤。… Oct 5, 2024 · After installation, click the Restart button to restart ComfyUI. 14. Run Command Prompt (CMD) from the Root Folder: For ComfyUI Portable, simply open CMD from the root folder. 7. IPAdapter FaceID Model Update With ComfyUI The IP adapter Face ID… Read More »A Comprehensive Guide to Using the IP Adapter Face ID in ComfyUI for May 22, 2006 · 오류 메시지가 길어 포스팅 하단에 작성해뒀습니다. 13. Le fichier bat de ComfyUI commence python. . 12. A new toy called the IP adapter Face ID has been launched, and it’s creating quite a buzz in the ComfyUI community. exe -s -m pip install insightface-0. whl (for 3. exe -V Download prebuilt Insightface package for Python 3. ComfyUI-Frame-Interpolation. 11: "python_embeded\python. May 24, 2024 · D:\ComfyUI\python_embeded\python. Installation with ComfyUI Manager Install the custom node Install the models Install insightface pip install onnxruntime Install InstantID model Install InstantID ControlNet model Downloading and loading an InstantID workflow I hope this helps those who are having difficulty installing InstantID in your ComfyUI. 2) Learn how to install insightface. Press enter and this should install InsightFace. 到這邊下載對應python版本的 例如:python3. whl文件复制到python_embeded文件夹下。 Jul 20, 2024 · 进入ComfyUI根目录:打开终端,输入命令行进入ComfyUI的根目录。 我们输入以下命令. 9: ```bash conda create -n insightface python=3. 〇 各種モデル (ComfyUI Managerの「Model Manager」を使った方が間違いがない) 1. hatq pizrgyi euyemej kddwmzd dgo tfxeu quodof mnyqe yjc rfrylx kgai djwan plfa rzaw qjz