CodeFormer / setup.sh
Siam2315's picture
Create setup.sh
0063c42 verified
#!/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