This commit is contained in:
Stevan Stevic 2023-12-16 22:36:56 +01:00
parent bc1ad3acbd
commit c580e8783f

View File

@ -638,7 +638,9 @@ class Hyperopt:
HyperoptTools.show_epoch_details(self.current_best_epoch, self.total_epochs,
self.print_json)
elif self.num_epochs_saved > 0:
print("No good result found for given optimization function.")
print(
f"No good result found for given optimization function in {self.num_epochs_saved} "
f"{plural(self.num_epochs_saved, 'epoch')}.")
else:
# This is printed when Ctrl+C is pressed quickly, before first epochs have
# a chance to be evaluated.