Commit graph

113 commits

Author SHA1 Message Date
Colombo
8ddc7954da upd README.md : added mini tutorial 2020-04-13 20:57:51 +04:00
Colombo
b6b3936bcd update readme 2020-04-06 20:15:46 +04:00
Colombo
453237bfd7 upd README.md 2020-04-06 17:55:33 +04:00
Colombo
4db11aa133 upd README.md 2020-04-04 09:40:18 +04:00
Colombo
dbb0988927 upd README.md 2020-04-01 22:17:59 +04:00
Colombo
3a9f22f68e upd README.md 2020-03-24 16:21:32 +04:00
Colombo
883f72867f Alipay 捐款 2020-03-22 20:56:57 +04:00
Colombo
7015f6fe09 QQ 捐款 2020-03-22 20:39:21 +04:00
Colombo
ed8af226a3 QQ 捐款 2020-03-22 20:37:55 +04:00
Colombo
c6e4ae8613 _ 2020-03-21 14:40:27 +04:00
Colombo
51ec884d96 _ 2020-03-21 14:33:49 +04:00
Colombo
f9684cb155 _ 2020-03-21 14:16:55 +04:00
Colombo
9b11a9c9a4 add QQ 捐款 2020-03-21 10:42:08 +04:00
Colombo
94e38a43fd upd readme 2020-03-15 22:42:24 +04:00
Colombo
f07349cc32 upd logo_python.png 2020-03-09 08:05:04 +04:00
Colombo
d5c29b55e3 upd README.md 2020-03-08 14:48:19 +04:00
Colombo
ed384f52f0 upd 2020-02-23 14:21:54 +04:00
Colombo
6a8426dcdb upd logo 2020-02-18 19:01:44 +04:00
Colombo
430c2f974e upd README.md 2020-01-31 22:32:21 +04:00
Colombo
4ed16c67f5 upd readme 2020-01-31 14:24:03 +04:00
Colombo
38b85108b3 DFL-2.0 initial branch commit 2020-01-21 18:43:39 +04:00
Colombo
a347bb4f15 change doc about builds 2019-12-27 14:29:27 +04:00
Colombo
b93ae56a08 upd readme 2019-12-23 19:15:59 +04:00
Colombo
4868bd1324 upd doc/doc_prebuilt_windows_app.md 2019-11-12 09:16:42 +04:00
Colombo
2ecf603d96 update prebuilt app info page 2019-11-07 15:07:22 +04:00
Colombo
9b08199e87 upd .md 2019-10-09 12:01:37 +04:00
Colombo
ac7725163d removed SAEv2,
added SAEHD model ( High Definition Styled AutoEncoder )
This is a new heavyweight model for high-end cards to achieve maximum possible deepfake quality in 2020.
Differences from SAE:
+ new encoder produces more stable face and less scale jitter
  before: https://i.imgur.com/4jUcol8.gifv
  after:  https://i.imgur.com/lyiax49.gifv - scale of the face is less changed within frame size
+ new decoder produces subpixel clear result
+ pixel loss and dssim loss are merged together to achieve both training speed and pixel trueness
+ by default networks will be initialized with CA weights, but only after first successful iteration
  therefore you can test network size and batch size before weights initialization process
+ new neural network optimizer consumes less VRAM than before
+ added option <Enable 'true face' training>
  The result face will be more like src and will get extra sharpness.
  example: https://i.imgur.com/ME3A7dI.gifv
  Enable it for last 15-30k iterations before conversion.
+ encoder and decoder dims are merged to one parameter encoder/decoder dims
+ added mid-full face, which covers 30% more area than half face.
2019-10-08 15:09:28 +04:00
Colombo
9e80bbc917 1 2019-09-21 15:19:58 +04:00
iperov
63d30c49ae fixes and optimizations,
converters: added new option sharpen_mode and sharpen_amount
2019-08-25 19:18:51 +04:00
iperov
c39ed9d9c9 updated pdf manuals for AVATAR model.
Avatar converter: added super resolution option.
All converters: super resolution DCSCN network is now replaced by RankSRGAN
2019-08-25 17:43:52 +04:00
iperov
407ce3b1ca Added interactive converter.
With interactive converter you can change any parameter of any frame and see the result in real time.

Converter: added motion_blur_power param.
Motion blur is applied by precomputed motion vectors.
So the moving face will look more realistic.

RecycleGAN model is removed.

Added experimental AVATAR model. Minimum required VRAM is 6GB (NVIDIA), 12GB (AMD)
Usage:
1) place data_src.mp4 10-20min square resolution video of news reporter sitting at the table with static background,
   other faces should not appear in frames.
2) process "extract images from video data_src.bat" with FULL fps
3) place data_dst.mp4 video of face who will control the src face
4) process "extract images from video data_dst FULL FPS.bat"
5) process "data_src mark faces S3FD best GPU.bat"
6) process "data_dst extract unaligned faces S3FD best GPU.bat"
7) train AVATAR.bat stage 1, tune batch size to maximum for your card (32 for 6GB), train to 50k+ iters.
8) train AVATAR.bat stage 2, tune batch size to maximum for your card (4 for 6GB), train to decent sharpness.
9) convert AVATAR.bat
10) converted to mp4.bat

updated versions of modules
2019-08-24 12:57:29 +04:00
iperov
8484060e01 Trainer: added option for all models
Enable autobackup? (y/n ?:help skip:%s) :
Autobackup model files with preview every hour for last 15 hours. Latest backup located in model/<>_autobackups/01

SAE: added option only for CUDA builds:
Enable gradient clipping? (y/n, ?:help skip:%s) :
Gradient clipping reduces chance of model collapse, sacrificing speed of training.
2019-06-20 10:42:55 +04:00
iperov
615a999c68 added google drive download link 2019-05-14 09:33:10 +04:00
iperov
2239c8d9ab upd readme 2019-05-11 12:18:43 +04:00
iperov
3555801046 upd docs 2019-05-07 13:09:20 +04:00
iperov
b50220a7d1 upd doc 2019-05-03 08:54:07 +04:00
iperov
2a8dd788dc SAE: added option 'Pretrain the model?',
Pretrain the model with large amount of various faces. This technique may help to train the fake with overly different face shapes and light conditions of src/dst data. Face will be look more like a morphed. To reduce the morph effect, some model files will be initialized but not be updated after pretrain: LIAE: inter_AB.h5 DF: both decoders.h5. The longer you pretrain the model the more morphed face will look. After that, save and run the training again.
2019-05-01 19:55:27 +04:00
iperov
b16c745f1f upd manuals 2019-04-29 08:34:04 +04:00
iperov
836693d64f added option 'Choose image for the preview history? (y/n skip:' 2019-04-27 10:03:54 +04:00
iperov
9535a657d2 SAE: revert back CA weights option 2019-04-24 13:44:12 +04:00
iperov
33a45ec531 revert docs 2019-04-23 18:36:40 +04:00
iperov
2809d495c2 _ 2019-04-23 17:31:58 +04:00
iperov
046649e6be
update == 04.20.2019 == (#242)
* superb improved fanseg

* _

* _

* added FANseg extractor for src and dst faces to use it in training

* -

* _

* _

* update to 'partial' func

* _

* trained FANSeg_256_full_face.h5,
new experimental models: AVATAR, RecycleGAN

* _

* _

* _

* fix for TCC mode cards(tesla), was conflict with plaidML initialization.

* _

* update manuals

* _
2019-04-20 08:23:08 +04:00
iperov
8561c1a931 fix MaskEditor, upd manual ru 2019-04-08 14:13:36 +04:00
iperov
de8d75b4f7 fix mask editor,
upd manuals
2019-04-04 22:19:56 +04:00
iperov
a885838363 make seamless great again!
fixed seamless face jitter
removed options Suppress seamless jitter, seamless erode mask modifier.
seamlessed face now properly uses blur modifier
added option 'FAN-prd&dst' - using multiplied FAN prd and dst mask,
2019-03-30 11:58:40 +04:00
iperov
7b5fb497f0 upd manual 2019-03-29 18:09:33 +04:00
iperov
ec0c4d0128 upd readme 2019-03-26 09:15:22 +04:00
iperov
37505d88e3 old SAE model will not work with this update.
Fixed bug when SAE can be collapsed during a time.

SAE: removed CA weights and encoder/decoder dims.

added new options:

Encoder dims per channel (21-85 ?:help skip:%d)
More encoder dims help to recognize more facial features, but require more VRAM. You can fine-tune model size to fit your GPU.

Decoder dims per channel (11-85 ?:help skip:%d)
More decoder dims help to get better details, but require more VRAM. You can fine-tune model size to fit your GPU.

Add residual blocks to decoder? (y/n, ?:help skip:n) :
These blocks help to get better details, but require more computing time.

Remove gray border? (y/n, ?:help skip:n) :
Removes gray border of predicted face, but requires more computing resources.
2019-03-24 15:35:02 +04:00
iperov
c4f41a7e76 Converter: added new mask modes: FAN-prd, FAN-dst 2019-03-21 21:19:03 +04:00