mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 21:12:07 -07:00
FacesetRelighter fixes and improvements:
now you have 3 ways: 1) define light directions manually (not for google colab) watch demo https://youtu.be/79xz7yEO5Jw 2) relight faceset with one random direction 3) relight faceset with predefined 8 directions
This commit is contained in:
parent
fe58459f36
commit
05153d9ba5
3 changed files with 235 additions and 36 deletions
|
@ -144,6 +144,7 @@ NLayerDiscriminator = nnlib.NLayerDiscriminator
|
|||
if 'CUDA_VISIBLE_DEVICES' in os.environ.keys():
|
||||
os.environ.pop('CUDA_VISIBLE_DEVICES')
|
||||
|
||||
io.log_info ("Using PyTorch backend.")
|
||||
import torch
|
||||
nnlib.torch = torch
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue