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-depsNote: We use
pip install gfpgan --no-depsto avoid installinggfpgan’s default dependency on the outdatedbasicsrpackage, which is incompatible with newer versions of PyTorch. Make sure you havestablesr-fixedinstalled 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_detectionComfyUI/models/face_restoration