Commit graph

1311 commits

Author SHA1 Message Date
Colombo
068c7d0d55 temporary revert last fixes 2019-12-20 10:21:59 +04:00
Colombo
dd1d5e8909 improved face align,
More stable and precise version of the face transformation matrix.
Now full_faces are aligned with the upper and lateral boundaries of the frame,
result: fix of cutted mouth, increase area of the cheeks of side faces
before/after https://i.imgur.com/t9IyGZv.jpg
therefore, additional training is required for existing models.
Optionally, you can re-extract dst faces of your project, if they have problems with cutted mouth or cheeks.
2019-12-19 18:33:04 +04:00
Colombo
9e9dc364c9 temporary revert fix 2019-12-19 15:46:50 +04:00
Colombo
853a056769 more stable and precise version of face transformation matrix 2019-12-19 15:25:06 +04:00
Colombo
c04740eac1 1 2019-12-17 09:53:17 +04:00
Colombo
28b948888c fix extractor for some systems 2019-12-17 09:52:48 +04:00
Colombo
71ebf06c89 SAEHD,Quick96:
improved model generalization, overall accuracy and sharpness
by using new 'Learning rate dropout' technique from paper https://arxiv.org/abs/1912.00144
An example of a loss histogram where this function is enabled after the red arrow:
https://i.imgur.com/3olskOd.jpg
2019-12-15 15:53:06 +04:00
Colombo
c866448645 clean 2019-12-11 22:34:22 +04:00
Colombo
d4745b5cf8 added sort by absdiff
This is sort method by absolute per pixel difference between all faces.
options:
Sort by similar? ( y/n ?:help skip:y ) :
if you choose 'n', then most dissimilar faces will be placed first.
2019-12-11 22:33:49 +04:00
Colombo
e8673e3fcc nothing interesting 2019-12-11 22:33:23 +04:00
Colombo
154820a954 ConvertMasked: fix color bug for superresolution 2019-12-06 16:49:27 +04:00
Colombo
f7920d3880 1 2019-11-24 20:33:34 +04:00
Colombo
77b390c04b 1 2019-11-24 19:51:07 +04:00
Colombo
1bfd65abe5 extractor for AMD gpu: increase no response time 2019-11-24 19:37:21 +04:00
Colombo
6b14741160 1 2019-11-21 11:40:55 +04:00
Colombo
668513a507 1 2019-11-16 16:54:10 +04:00
Colombo
b74c2b1f9a Converter: added new color transfer mode: mix-m 2019-11-14 12:08:27 +04:00
Colombo
1cc24f2a75 1 2019-11-13 10:31:04 +04:00
Colombo
0a1a9b4fed fix 2019-11-13 00:29:41 +04:00
Colombo
006233656b facerelighther: added intensity param 2019-11-13 00:19:26 +04:00
Colombo
54786848bc fix converterconfig 2019-11-13 00:19:01 +04:00
Colombo
8c3fa3baa5 fix 2019-11-12 18:02:23 +04:00
Colombo
2167c5cbcb fix of converter when using relighted faces in dst 2019-11-12 17:37:13 +04:00
Colombo
4868bd1324 upd doc/doc_prebuilt_windows_app.md 2019-11-12 09:16:42 +04:00
Colombo
c0f258c336 SAE,SAEHD,Converter:
added sot-m color transfer

Converter:
removed seamless2 mode
2019-11-12 09:07:50 +04:00
Colombo
05153d9ba5 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
2019-11-11 19:56:36 +04:00
Colombo
fe58459f36 added FacesetRelighter:
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
2019-11-11 11:42:52 +04:00
Colombo
b9c0815d17 added random shuffle to samples in SampleGeneratorFace.py 2019-11-11 11:35:46 +04:00
Colombo
f6f8f8ee5d change default jpg face extractor quality to 100 2019-11-11 09:13:42 +04:00
Colombo
7d389718fe added Quick96 model
This is the fastest model for low-end cards.
Model has zero options and trains a 96pix fullface.
It is good for quick deepfake demo.
Example of the preview trained in 15 minutes on RTX2080Ti:
https://i.imgur.com/oRMvZFP.jpg
2019-11-09 19:24:31 +04:00
Colombo
1f350ae413 1 2019-11-09 19:23:55 +04:00
Colombo
770c70d778 converter:
fixed crashes

removed useless 'ebs' color transfer

changed keys for color degrade

added image degrade via denoise - same as denoise extracted data_dst.bat ,
but you can control this option directly in the interactive converter

added image degrade via bicubic downscale and upscale

SAEHD: default ae_dims for df now 256.
2019-11-09 15:12:35 +04:00
Colombo
374d8c2388 fix denoise_image_sequence 2019-11-08 23:04:51 +04:00
Colombo
d897893fd5 fix denoise-image-sequence for jpg files 2019-11-08 22:58:39 +04:00
Colombo
2ecf603d96 update prebuilt app info page 2019-11-07 15:07:22 +04:00
Colombo
e65e74ac2d converter: removed 'ebs' color transfer 2019-11-04 14:52:18 +04:00
Colombo
71a98e2ee4 compatibility fix 2019-11-04 02:01:28 +04:00
Colombo
a8a822fe68 added official telegram channel 2019-10-30 22:17:45 +04:00
Colombo
410b8e98a0 fix manual extractor 2019-10-27 18:53:01 +04:00
Colombo
2fd6616765 Merge branch 'master' of https://github.com/iperov/DeepFaceLab 2019-10-27 12:47:21 +04:00
Colombo
8035325f92 extractor: fix for amd 2019-10-27 12:47:12 +04:00
iperov
6861e858fa
1 2019-10-25 14:09:03 +04:00
Colombo
f17a54b23a nothing interesting 2019-10-25 11:19:23 +04:00
Colombo
b9c41a269d fix check no training data provided 2019-10-25 00:27:34 +04:00
Colombo
75eeef0a96 fix for amd 2019-10-24 21:59:13 +04:00
Colombo
0448a461f5 fix umeyama for landmark alignment of side faces
Before https://i.imgur.com/pEoZ6Mu.mp4
after https://i.imgur.com/wO2Guo7.mp4
2019-10-24 21:46:54 +04:00
Colombo
59d6fada23 draw up arrow in the red landmark debug square 2019-10-24 10:09:51 +04:00
Colombo
734d97d729 added 'sort by vggface': sorting by face similarity using VGGFace model.
Requires 4GB+ VRAM and internet connection for the first run.
2019-10-23 15:06:39 +04:00
Colombo
0d3b25812d fix 2019-10-20 18:02:23 +04:00
Colombo
d3e35c8ce6 enhanced sort by final: now faces are evenly distributed not only in the direction of yaw, but also in pitch 2019-10-20 14:18:14 +04:00