ComfyUI Extension: ComfyUI GFPGAN

Authored by comfyorg

Created

Updated

0 stars

Face restoration with GFPGAN.

Custom Nodes (0)

    README

    ComfyUI GFPGAN

    This is a custom node for ComfyUI that enables face restoration using GFPGAN.

    Installation

    1. Navigate to the Custom Nodes Directory

      cd /path/to/your/ComfyUI/custom_nodes/
      
    2. Clone the Repository

      git clone https://github.com/lucak5s/comfyui_gfpgan.git
      
    3. Enter the Cloned Directory

      cd comfyui_gfpgan
      
    4. Install Dependencies

      pip install -r requirements.txt && pip install gfpgan --no-deps
      

      Note: We use pip install gfpgan --no-deps to avoid installing gfpgan’s default dependency on the outdated basicsr package, which is incompatible with newer versions of PyTorch. Make sure you have stablesr-fixed installed in your environment instead of stablesr.

    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