mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-03-12 20:42:45 -07:00
Synthesize new faces from existing ones by relighting them using DeepPortraitRelighter network. With the relighted faces neural network will better reproduce face shadows. Therefore you can synthsize shadowed faces from fully lit faceset. https://i.imgur.com/wxcmQoi.jpg as a result, better fakes on dark faces: https://i.imgur.com/5xXIbz5.jpg in OpenCL build Relighter runs on CPU, install pytorch directly via pip install, look at requirements
16 lines
408 B
Plaintext
16 lines
408 B
Plaintext
numpy==1.17.0
|
|
h5py==2.9.0
|
|
Keras==2.2.4
|
|
opencv-python==4.1.0.25
|
|
tensorflow==1.12.0
|
|
scikit-image
|
|
tqdm
|
|
ffmpeg-python==0.1.17
|
|
git+https://www.github.com/keras-team/keras-contrib.git
|
|
|
|
#
|
|
# install following packages directly via pip!
|
|
#
|
|
# pip install torch===1.3.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
|
# pip install torchvision===0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|