aboutsummaryrefslogtreecommitdiff
path: root/modules/script_callbacks.py
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2022-11-07 20:12:31 -0500
committerbrkirch <brkirch@users.noreply.github.com>2022-11-12 03:34:13 -0500
commitf4a488f585c09b420dc05199240e68f8fb74337f (patch)
treea686d85fa1f90d174e67396c1df22cd9ba2af45d /modules/script_callbacks.py
parent804d9fb83d0c63ca3acd36378707ce47b8f12599 (diff)
Set device for facelib/facexlib and gfpgan
* 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
Diffstat (limited to 'modules/script_callbacks.py')
0 files changed, 0 insertions, 0 deletions