fix and upd readme

This commit is contained in:
iperov 2019-01-11 06:19:15 +04:00
parent e39d1a2619
commit 32f0db3dea
3 changed files with 3 additions and 1 deletions

View file

@ -76,6 +76,8 @@ LIAEF128 Cage video:
![](https://github.com/iperov/DeepFaceLab/blob/master/doc/SAE_Cage_1.jpg) ![](https://github.com/iperov/DeepFaceLab/blob/master/doc/SAE_Cage_1.jpg)
![](https://github.com/iperov/DeepFaceLab/blob/master/doc/SAE_Navalniy_0.jpg)
SAE model Cage-Trump video: https://www.youtube.com/watch?v=2R_aqHBClUQ SAE model Cage-Trump video: https://www.youtube.com/watch?v=2R_aqHBClUQ
![](https://github.com/iperov/DeepFaceLab/blob/master/doc/DeepFaceLab_convertor_overview.png) ![](https://github.com/iperov/DeepFaceLab/blob/master/doc/DeepFaceLab_convertor_overview.png)

BIN
doc/SAE_Navalniy_0.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

View file

@ -29,7 +29,7 @@ class SAEModel(ModelBase):
if is_first_run: if is_first_run:
self.options['resolution'] = input_int("Resolution (64,128, ?:help skip:128) : ", default_resolution, [64,128], help_message="More resolution requires more VRAM.") self.options['resolution'] = input_int("Resolution (64,128, ?:help skip:128) : ", default_resolution, [64,128], help_message="More resolution requires more VRAM.")
self.options['archi'] = input_str ("AE architecture (df, liae, ?:help skip:liae) : ", default_archi, ['df','liae'], help_message="DF keeps faces more natural, while LIAE can fix overly different face shapes.").lower() self.options['archi'] = input_str ("AE architecture (df, liae, ?:help skip:liae) : ", default_archi, ['df','liae'], help_message="DF keeps faces more natural, while LIAE can fix overly different face shapes.").lower()
self.options['lighter_encoder'] = input_bool ("Use lightweight encoder? (y/n, ?:help skip:n) : ", False, help_message="Lightweight encoder is 35% faster, but it is not tested on various scenes.").lower() self.options['lighter_encoder'] = input_bool ("Use lightweight encoder? (y/n, ?:help skip:n) : ", False, help_message="Lightweight encoder is 35% faster, but it is not tested on various scenes.")
else: else:
self.options['resolution'] = self.options.get('resolution', default_resolution) self.options['resolution'] = self.options.get('resolution', default_resolution)
self.options['archi'] = self.options.get('archi', default_archi) self.options['archi'] = self.options.get('archi', default_archi)