InsightfaceIt is very important for comfyuiPluginsWithout insightface, our IP-adapter or InstantID cannot be used, so everyone must install it.
Manual installation method
Step 1: Download the InsightFace file
First, access the following GitHub repository:
https://github.com/Gourieff/Assets/tree/main/Insightface
In this repository, you can see multiple versions of InsightFace files. Select the corresponding file to download according to your Python version. For example, if your Python version is 3.10, download the corresponding file.
Step 2: Check Python version
To check your Python version, enterComfyUIDouble-click the virtual environment icon to open a terminal window. In the terminal, you can see the Python version number.
Step 3: Download and install
- Select download path: Save the downloaded file to the same directory as the python.exe file you just opened. Make sure the path does not contain Chinese characters to avoid potential errors.
- Enter the ComfyUI root directory: Open the terminal and enter the command line to enter the root directory of ComfyUI.
We enter the following command
python.exe -m pip install insightface
If the previous installation failed, please uninstall first:
python.exe -m pip uninstall insightface
Then update pip:
python.exe -m pip install -U pip
Reinstall InsightFace via whl file:
python.exe -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl
After successful installation, there will be insightface files in our python_embeded folder
Installation method of Autumn Leaf Starter
It is relatively simple to install using the Autumn Leaf Launcher. Just follow the steps in the picture below. If the installation of the Autumn Leaf Launcher fails, you can also use the manual method above to install it.
The above is the installation method of InsightFace.