mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
fix
This commit is contained in:
parent
8ad1481209
commit
30c93a9bdb
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ class ModelBase(object):
|
|||
def ask_override(self):
|
||||
return self.is_training and self.iter != 0 and io.input_in_time ("Press enter in 2 seconds to override model settings.", 5 if io.is_colab() else 2 )
|
||||
|
||||
def ask_autobackup_hour(self, default_value):
|
||||
def ask_autobackup_hour(self, default_value=0):
|
||||
default_autobackup_hour = self.options['autobackup_hour'] = self.load_or_def_option('autobackup_hour', default_value)
|
||||
self.options['autobackup_hour'] = io.input_int(f"Autobackup every N hour", default_autobackup_hour, add_info="0..24", help_message="Autobackup model files with preview every N hour. Latest backup located in model/<>_autobackups/01")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue