Commit graph

9 commits

Author SHA1 Message Date
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
3114ae9d7b upd plaidml ver 2019-05-20 22:42:34 +04:00
iperov
35e1bceeb4 update numpy ver 2019-04-27 18:37:46 +04:00
iperov
580e8250e0 fix req for new plaidml 2019-03-21 21:29:35 +04:00
iperov
af1760b22d plaidML: upgrading version 2019-03-21 18:57:02 +04:00
iperov
5587c93e01 fix ConverterMasked.py,
changing requirements
changing device.py ENV vars
2019-03-07 19:48:12 +04:00
iperov
4196e962a8 added VideoEd - operating video files by ffmpeg from python. 2019-03-02 14:58:22 +04:00
iperov
8f2e69ab27 upgrading to cuda 10.0, cudnn 7.4.1, tf 1.13.1, dlib 19.16.0 2019-02-28 13:39:54 +04:00
iperov
b939fe9d85 OpenCL support: fix bug, adding new requirements files 2019-02-19 20:48:39 +04:00