Commit graph

1335 commits

Author SHA1 Message Date
Colombo
770da74a9b fix cv2.resize interpolation 2020-07-03 18:40:35 +04:00
Colombo
55c51578e5 fix bicubic interpolation in xsegeditor 2020-07-03 18:38:53 +04:00
Colombo
57ea3e61b7 fix extractor 2020-07-03 16:06:06 +04:00
Colombo
4ce4997d1a fix 2020-07-03 15:19:12 +04:00
Colombo
81ed7c0a2a fix 2020-07-03 15:18:15 +04:00
Colombo
f56df85f78 fix manual extractor 2020-07-03 15:07:42 +04:00
Colombo
e5ed29bd76 fix continue extraction 2020-07-03 14:05:34 +04:00
Colombo
e5e9f1689c readme: change second headswap example 2020-07-03 13:11:20 +04:00
Colombo
e6aa996814 leras: add ability to save sub layers in a dict 2020-07-01 22:17:35 +04:00
Colombo
e0a1d52d78 upd readme 2020-07-01 17:43:25 +04:00
Colombo
bef8403e39 added r/RUdeepfakes to readme 2020-07-01 17:41:39 +04:00
Colombo
44e6970dc5 changed help for gan_power 2020-06-30 12:37:12 +04:00
Colombo
3b71ecafa1 upd DFLJPG.py 2020-06-28 21:45:20 +04:00
Colombo
b6dd482e05 . 2020-06-27 19:08:14 +04:00
Colombo
bb8d2b5b2c max faces from image 2020-06-27 19:07:55 +04:00
Colombo
7da28b283d Extractor:
added ‘Image size’ option.
The higher image size, the worse face-enhancer works. Use higher than 512 value only if the source image is sharp enough and the face does not need to be enhanced.

added ‘Jpeg quality’ option in range 1-100. The higher jpeg quality the larger the output file size
2020-06-24 11:45:23 +04:00
Colombo
d78ec338c6 fix Subprocessor now writes an error if it fails to process the data 2020-06-24 11:44:58 +04:00
Colombo
ddb6bcf416 fix 2020-06-24 11:44:24 +04:00
Colombo
f0508287f0 added de-age the face example 2020-06-24 10:15:44 +04:00
Colombo
4e998aff93 . 2020-06-24 10:06:31 +04:00
Colombo
29b1050637 Sorter: improved sort by blur, and sort by best faces 2020-06-23 21:02:38 +04:00
Colombo
669935c9e6 XSegEditor: changed hotkey for xseg overlay mask 2020-06-22 13:13:27 +04:00
Colombo
d0ded46b51 XSegEditor: overlay xseg mask now works in polygon mode https://i.imgur.com/wDV6PY2.jpg 2020-06-22 11:12:24 +04:00
Colombo
f90723c9f9 SAEHD: ‘uniform_yaw’ now always enabled in pretrain mode. 2020-06-21 00:57:48 +04:00
Colombo
27f219fec7 XSegEditor: fixed incorrect count of labeled images. 2020-06-21 00:56:25 +04:00
Colombo
2b8e8f0554 . 2020-06-20 22:05:30 +04:00
Colombo
53222839c6 SAEHD: for -d archis resolution should be divided by 32 2020-06-19 14:21:41 +04:00
Colombo
05606b5e15 Subprocessor: now should write an error if failed to start 2020-06-19 14:20:22 +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
9fd3a9ff8d add meme 2020-06-18 22:15:25 +04:00
Colombo
38573473da added youtube channel 2020-06-18 14:19:58 +04:00
Colombo
9994f1512e added third head swap example 2020-06-18 13:56:42 +04:00
Colombo
11327cb0c5 upd face examples 2020-06-17 10:51:11 +04:00
Colombo
70182f8c65 upd face examples 2020-06-17 10:49:41 +04:00
Colombo
8c467bad90 fuck linux 2020-06-15 11:26:22 +04:00
Colombo
2e650a7122 . 2020-06-12 10:45:57 +04:00
Colombo
7f11713730 fix 2020-06-11 21:29:39 +04:00
Colombo
d99afebbdc new telegram group link 2020-06-11 17:39:36 +04:00
Colombo
82f405ed49 Trainer: fixed "Choose image for the preview history". Now you can switch between subpreviews using 'space' key.
Fixed "Write preview history". Now it writes all subpreviews in separated folders
https://i.imgur.com/IszifCJ.jpg
also the last preview saved as _last.jpg before the first file
https://i.imgur.com/Ls1AOK4.jpg
thus you can easily check the changes with the first file in photo viewer
2020-06-10 10:20:13 +04:00
Colombo
5c315cab68 XSegEditor: added text label of total labeled images
Changed frame line design
Changed loading frame design
2020-06-09 22:04:15 +04:00
Colombo
dc43f5a891 add second headswap example 2020-06-09 16:01:47 +04:00
Colombo
c2b5f80e3f upd readme download link 2020-06-08 15:03:40 +04:00
Colombo
1d3d417aee upd readme 2020-06-08 14:53:19 +04:00
Colombo
af98407f06 SAEHD: lr_dropout now can be ‘n’, ‘y’, ‘cpu’. ‘n’ and ’y’ are the same as before.
‘cpu’ mean enabled on CPU. This allows not to use extra VRAM, sacrificing 20% time of iteration.

SAEHD: resolution >= 256 now has second dssim loss function
2020-06-08 14:18:33 +04:00
Colombo
4acaf08ebf fix 2020-06-08 14:07:47 +04:00
Colombo
cfd7803e0d leras : DepthwiseConv2D 2020-06-07 20:59:12 +04:00
Colombo
85ede1a7e7 . 2020-06-07 12:26:23 +04:00
Colombo
ddf7363eda remove unused code 2020-06-06 20:02:21 +04:00
Colombo
235315dd70 fix 2020-06-06 19:52:07 +04:00
Colombo
1e003170bd reduced chance of "The paging file is too small for this operation to complete." 2020-06-06 19:38:11 +04:00