Commit graph

25 commits

Author SHA1 Message Date
Colombo
3283dce96a interact: change to waitKeyEx 2020-07-03 18:43:18 +04:00
Colombo
ddb6bcf416 fix 2020-06-24 11:44:24 +04:00
Colombo
2b8e8f0554 . 2020-06-20 22:05:30 +04:00
Colombo
0c2e1c3944 SAEHD:
Maximum resolution is increased to 640.

‘hd’ archi is removed. ‘hd’ was experimental archi created to remove subpixel shake, but ‘lr_dropout’ and ‘disable random warping’ do that better.

‘uhd’ is renamed to ‘-u’
dfuhd and liaeuhd will be automatically renamed to df-u and liae-u in existing models.

Added new experimental archi (key -d) which doubles the resolution using the same computation cost.
It is mean same configs will be x2 faster, or for example you can set 448 resolution and it will train as 224.
Strongly recommended not to train from scratch and use pretrained models.

New archi naming:
'df' keeps more identity-preserved face.
'liae' can fix overly different face shapes.
'-u' increased likeness of the face.
'-d' (experimental) doubling the resolution using the same computation cost
Examples: df, liae, df-d, df-ud, liae-ud, ...

Improved GAN training (GAN_power option).  It was used for dst model, but actually we don’t need it for dst.
Instead, a second src GAN model with x2 smaller patch size was added, so the overall quality for hi-res models should be higher.

Added option ‘Uniform yaw distribution of samples (y/n)’:
	Helps to fix blurry side faces due to small amount of them in the faceset.

Quick96:
	Now based on df-ud archi and 20% faster.

XSeg trainer:
	Improved sample generator.
Now it randomly adds the background from other samples.
Result is reduced chance of random mask noise on the area outside the face.
Now you can specify ‘batch_size’ in range 2-16.

Reduced size of samples with applied XSeg mask. Thus size of packed samples with applied xseg mask is also reduced.
2020-06-19 09:45:55 +04:00
Colombo
2fe86faf01 fix Win10 input dialog 2020-04-02 10:27:39 +04:00
Colombo
61472cdaf7 global refactoring and fixes,
removed support of extracted(aligned) PNG faces. Use old builds to convert from PNG to JPG.

fanseg model file in facelib/ is renamed
2020-03-13 08:09:00 +04:00
Colombo
cbff72f597 _ 2020-02-29 15:53:48 +04:00
Colombo
6d122fd742 _ 2020-02-29 15:50:17 +04:00
Colombo
516e23584e _ 2020-02-29 15:48:31 +04:00
Colombo
803f7f9717 _ 2020-02-29 15:40:11 +04:00
Colombo
b093112f2f _ 2020-02-29 15:39:43 +04:00
Colombo
a21c55cf25 _ 2020-02-29 15:36:37 +04:00
Colombo
f55a65c304 _ 2020-02-29 15:34:27 +04:00
Colombo
55162d6e6c _ 2020-02-29 15:32:36 +04:00
Colombo
27e24d5d28 _ 2020-02-29 15:24:14 +04:00
Colombo
63c0bdbf16 )_ 2020-02-29 15:10:59 +04:00
Colombo
98d3657cbc _ 2020-02-29 15:00:46 +04:00
Colombo
7f609d0f0a fix for linux 2020-02-29 14:49:46 +04:00
Colombo
dbf28eeebf fix for linux 2020-02-29 14:36:10 +04:00
Colombo
5eca4958b7 fix for linux 2020-02-29 14:34:08 +04:00
Colombo
90ae68ae61 fix input_in_time for linux 2020-02-29 11:05:04 +04:00
Colombo
76ca79216e Upgraded to TF version 1.13.2
Removed the wait at first launch for most graphics cards.

Increased speed of training by 10-20%, but you have to retrain all models from scratch.

SAEHD:

added option 'use float16'
	Experimental option. Reduces the model size by half.
	Increases the speed of training.
	Decreases the accuracy of the model.
	The model may collapse or not train.
	Model may not learn the mask in large resolutions.

true_face_training option is replaced by
"True face power". 0.0000 .. 1.0
Experimental option. Discriminates the result face to be more like the src face. Higher value - stronger discrimination.
Comparison - https://i.imgur.com/czScS9q.png
2020-01-25 21:58:19 +04:00
Colombo
afcfa9c69e fix io.input_skip_pending for colab 2020-01-23 10:20:29 +04:00
Colombo
f1a3150ce9 1 2020-01-22 22:14:31 +04:00
Colombo
38b85108b3 DFL-2.0 initial branch commit 2020-01-21 18:43:39 +04:00