mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 14:24:40 -07:00
added random flip to override
This commit is contained in:
parent
9a695340b5
commit
84649f1b66
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class ModelBase(object):
|
||||||
self.options['sort_by_yaw'] = self.options.get('sort_by_yaw', False)
|
self.options['sort_by_yaw'] = self.options.get('sort_by_yaw', False)
|
||||||
|
|
||||||
if ask_random_flip:
|
if ask_random_flip:
|
||||||
if (self.iter == 0):
|
if (self.iter == 0 or ask_override):
|
||||||
self.options['random_flip'] = io.input_bool("Flip faces randomly? (y/n ?:help skip:y) : ", 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("Flip faces randomly? (y/n ?:help skip:y) : ", True, 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', True)
|
self.options['random_flip'] = self.options.get('random_flip', True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue