• brkirch's avatar
    Set device for facelib/facexlib and gfpgan · f4a488f5
    brkirch authored
    * FaceXLib/FaceLib doesn't pass the device argument to RetinaFace but instead chooses one itself and sets it to a global - in order to use a device other than its internally chosen default it is necessary to manually replace the default value
    * The GFPGAN constructor needs the device argument to work with MPS or a CUDA device ID that differs from the default
    f4a488f5
gfpgan_model.py 3.78 KB