Commit graph

36 commits

Author SHA1 Message Date
iperov
5bd3f875fa fix 2019-03-14 10:50:53 +04:00
iperov
296e8a111a fix for Linux 2019-03-14 05:08:15 +04:00
Luke Barr
7d6ca32250 Raise python minimum version (#190) 2019-03-13 09:56:07 +04:00
iperov
fbf39d2727 added new extractor: S3FD,
all extractors now produce less false-positive faces
2019-03-10 23:18:10 +04:00
iperov
6094e5ead8 added Util.recover_original_aligned_filename 2019-03-04 10:57:44 +04:00
iperov
4196e962a8 added VideoEd - operating video files by ffmpeg from python. 2019-03-02 14:58:22 +04:00
iperov
438213e97c manual extractor: increased FPS,
sort by final : now you can specify target number of images,
converter: fix seamless mask and exception,
huge refactoring
2019-02-28 11:56:31 +04:00
iperov
5e474c3462 added sort by one face in images. it trashes all images in which more than 1 face is found 2019-02-22 11:32:27 +04:00
iperov
72ba6b103c added support of AMD videocards
added Intel's plaidML backend to use OpenCL engine. Check new requirements.
smart choosing of backend in device.py
env var 'force_plaidML' can be choosed to forced using plaidML
all tf functions transferred to pure keras
MTCNN transferred to pure keras, but it works slow on plaidML (forced to CPU in this case)
default batch size for all models and VRAMs now 4, feel free to adjust it on your own
SAE: default style options now ZERO, because there are no best values for all scenes, set them on your own.
SAE: return back option pixel_loss, feel free to enable it on your own.
SAE: added option multiscale_decoder default is true, but you can disable it to get 100% same as H,DF,LIAEF model behaviour.
fix converter output to .png
added linux fork reference to doc/doc_build_and_repository_info.md
2019-02-19 17:33:12 +04:00
iperov
6e12594af1 added util --add-landmarks-debug-images 2019-02-13 10:17:08 +04:00
iperov
06fe1314d8 removing default yaw_value from DFLIMG files,
added better pitch/yaw estimator from 68 landmarks,
improving face yaw accuracy for sorting and trainers,
added sort by face-pitch
2019-02-12 21:31:37 +04:00
iperov
6d95dd4a99 DFL now works with JPG files by default. Old PNG files also supported. Added util convertor PNG to JPG. 2019-02-04 19:47:24 +04:00
iperov
2571f23bc4 Extractor added new feature --manual-output-debug-fix,
Performs manual reextract input-dir frames which were deleted from [output_dir]_debug\ dir.
2019-01-22 12:46:54 +04:00
iperov
1f2b1481ef now you can train models on multiple GPU's on same workspace without cloning any folders.
Model files names will be prefixed with GPU index if GPU choosed explicitly on train/convert start.
if you leave GPU idx choice default, then best GPU idx will be choosed and model file names will not contain index prefix.
It gives you possibility to train same fake with various models or options on multiple GPUs.

H64 and H128: now you can choose 'Lighter autoencoder'. It is same as vram gb <= 4 before this update.

added archived_models.zip contains old experiments

RecycleGAN: archived

devicelib: if your system has no NVML installed (some old cards), then it will work with gpu_idx=0 as 'Generic GeForce GPU' with 2GB vram.

refactorings
2019-01-14 10:48:23 +04:00
iperov
48d0123f0b SAE: new options face_style_power, bg_style_power instead of style_power. Zero - means dont use style.
SAE: new option 'lighter_encoder'.
Now model settings can be overrided by pressing enter in 2 seconds while model loading (works on Windows).
Removed all MultiGPU models, because keras multi_gpu in fact doesn't work.
2019-01-10 18:28:12 +04:00
iperov
abdbe7fd8d added sort by 'final' 2019-01-07 14:20:44 +04:00
iperov
8456122cb2 upd 2019-01-03 22:15:10 +04:00
iperov
7b70e7eec1 added new model U-net Face Morpher.
removed AVATAR - useless model was just for demo
removed MIAEF128 - use UFM insted
removed LIAEF128YAW - use model option sort by yaw on start for any model
All models now ask some options on start.
Session options (such as target epoch, batch_size, write_preview_history etc) can be overrided by special command arg.
Converter now always ask options and no more support to define options via command line.
fix bug when ConverterMasked always used not predicted mask.
SampleGenerator now always generate samples with replicated border, exclude mask samples.
refactorings
2019-01-02 17:26:12 +04:00
iperov
cd9e2c239c
Update main.py 2019-01-01 19:50:04 +04:00
Plucky
a8694b73f0 DockerFile for Mac users to run DeepfaceLab with CPU Mode (#95)
* fix localization nullpointer exception

* fix devicelib error line:61,remove e

* support create docker from cpu dockerfile

* support preview or not when train(resolve cannot connect to X server)
2019-01-01 18:08:21 +04:00
iperov
f8824f9601 refactoring. Added RecycleGAN for testing. 2018-12-28 19:38:52 +04:00
iperov
0d7387165a added --cpu-only mode for all stages. Upd readme. Added requirements-cpu.txt 2018-12-21 16:54:22 +04:00
iperov
5835a8832a upd convertor overview 2018-12-20 14:23:46 +04:00
iperov
ffddfeabdb added converter --seamless-erode-mask-modifier . This mask used to define area for opencv seamless cloning function. So if you erode it little bit , you can decrease flickering effect on some frames. 2018-12-20 13:50:38 +04:00
iperov
bc5ca1ab59 removed sort by hist-blur 2018-12-20 12:57:16 +04:00
iperov
9926dc626a refactorings, improved sort by hist-dissim 2018-12-20 12:43:00 +04:00
iperov
4ff67ad26b fix --aligned-dir arg 2018-12-20 04:14:42 +04:00
iperov
b2d28e0b95 added converter option --use-predicted-mask . By default converter uses model's predicted mask, but now you can use DST mask. 2018-12-19 23:28:48 +04:00
iperov
26571eff6a added sort -by black . Places images which contains black area at end of folder. Useful to get rid of src faces which cutted by screen. 2018-12-18 18:08:04 +04:00
iperov
98ee1bb339 Added option hist-match threshold, used for decrease artifacts of hist-match.
Fix terminating converter thread in debug mode.
Added DeepFaceLab converter overview to readme.
2018-12-14 10:40:46 +04:00
iperov
6f0d38d171 converter added --final-image-color-degrade-power - Degrades colors of final image to hide face problems. Valid range [0..100] 2018-11-30 20:08:30 +04:00
iperov
64c3e57f1c added option to converter --output-face-scale-modifier 2018-11-28 20:38:48 +04:00
iperov
2576a411a5
Update main.py 2018-11-21 16:29:48 +04:00
MaksV79
d47ef23df1
Fix options --alpha and --transfercolor
Always use params from dialog
2018-11-19 23:31:06 +03:00
MaksV79
3dcedf6bf3
Added options --alpha and --transfer color
--alpha will make export png with alpha channel (export only face)
--transfercolor will transfer color from original DST image to fake
2018-11-17 18:12:38 +03:00
iperov
6bd5a44264 initial 2018-06-04 17:12:43 +04:00