frames evaluation removed

This commit is contained in:
leno3003 2022-04-01 17:44:26 +02:00
commit 77dd434409
4 changed files with 8 additions and 8 deletions

View file

@ -753,7 +753,7 @@ def main(detector=None,
io.log_err("Error in fetching the last index. Extraction cannot be continued.")
return
elif input_path != output_path:
io.input(f"\n WARNING !!! \n {output_path} contains files! \n They will be deleted. \n Press enter to continue.\n", "4")
io.input(f"\n WARNING !!! \n {output_path} contains files! \n They will be deleted. \n Press enter to continue.\n", answer_key="Extractor_continue_deleting_files")
for filename in output_images_paths:
Path(filename).unlink()

View file

@ -84,7 +84,7 @@ def trainerThread (s2c, c2s, e,
if model.get_target_iter() != 0:
if is_reached_goal:
io.log_info('Model already trained to target iteration. You can use preview.')
if io.get_default_answer('NoInteractiveMode') is not None:
if io.get_default_answer('NonInteractiveMode') is not None:
model_save()
os._exit(0)
else:
@ -166,7 +166,7 @@ def trainerThread (s2c, c2s, e,
model_save()
is_reached_goal = True
io.log_info ('You can use preview now.')
if io.get_default_answer('NoInteractiveMode') is not None:
if io.get_default_answer('NonInteractiveMode') is not None:
model_save()
os._exit(0)
need_save = False