mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 05:22:06 -07:00
fix random_flip option bug
This commit is contained in:
parent
1de1e0029f
commit
24eac44dd9
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class ModelBase(object):
|
||||||
if ask_random_flip:
|
if ask_random_flip:
|
||||||
default_random_flip = self.options.get('random_flip', True)
|
default_random_flip = self.options.get('random_flip', True)
|
||||||
if (self.iter == 0 or ask_override):
|
if (self.iter == 0 or ask_override):
|
||||||
self.options['random_flip'] = io.input_bool(f"Flip faces randomly? (y/n ?:help skip:{yn_str[default_random_flip]}) : ", True, help_message="Predicted face will look more naturally without this option, but src faceset should cover all face directions as dst faceset.")
|
self.options['random_flip'] = io.input_bool(f"Flip faces randomly? (y/n ?:help skip:{yn_str[default_random_flip]}) : ", default_random_flip, help_message="Predicted face will look more naturally without this option, but src faceset should cover all face directions as dst faceset.")
|
||||||
else:
|
else:
|
||||||
self.options['random_flip'] = self.options.get('random_flip', default_random_flip)
|
self.options['random_flip'] = self.options.get('random_flip', default_random_flip)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue