#!/bin/bash # 1. Install standard requirements from the file (excluding facelib/basicsr) pip install --no-cache-dir -r requirements.txt # 2. Install the basicsr package in development/editable mode # This is often needed because CodeFormer modifies basicsr/facelib python basicsr/setup.py develop