Improve logging

This commit is contained in:
Stevan Stevic 2023-12-16 22:09:02 +01:00
parent 9b11091fc7
commit bc1ad3acbd

View File

@ -637,6 +637,8 @@ class Hyperopt:
HyperoptTools.show_epoch_details(self.current_best_epoch, self.total_epochs, HyperoptTools.show_epoch_details(self.current_best_epoch, self.total_epochs,
self.print_json) self.print_json)
elif self.num_epochs_saved > 0:
print("No good result found for given optimization function.")
else: else:
# This is printed when Ctrl+C is pressed quickly, before first epochs have # This is printed when Ctrl+C is pressed quickly, before first epochs have
# a chance to be evaluated. # a chance to be evaluated.