ComfyUI Extension: ComfyUI GFPGAN
Face restoration with GFPGAN.
Custom Nodes (0)
README
ComfyUI GFPGAN
This is a custom node for ComfyUI that enables face restoration using GFPGAN.
Installation
-
Navigate to the Custom Nodes Directory
cd /path/to/your/ComfyUI/custom_nodes/
-
Clone the Repository
git clone https://github.com/lucak5s/comfyui_gfpgan.git
-
Enter the Cloned Directory
cd comfyui_gfpgan
-
Install Dependencies
pip install -r requirements.txt && pip install gfpgan --no-deps
Note: We use
pip install gfpgan --no-deps
to avoid installinggfpgan
’s default dependency on the outdatedbasicsr
package, which is incompatible with newer versions of PyTorch. Make sure you havestablesr-fixed
installed in your environment instead ofstablesr
.
Usage
Start ComfyUI and look for the node named "GFPGAN Face Restore."
The required face detection and face restoration models will be downloaded automatically and placed in the following directories:
ComfyUI/models/face_detection
ComfyUI/models/face_restoration