Remove old output from hyperopt-list

This commit is contained in:
Matthias
2024-07-07 16:27:53 +02:00
parent f05c019757
commit 8f0ac0aaea
+3 -13
View File
@@ -41,24 +41,14 @@ def start_hyperopt_list(args: Dict[str, Any]) -> None:
if not export_csv: if not export_csv:
try: try:
print( h_out = HyperoptOutput()
HyperoptTools.get_result_table( h_out.add_data(
config,
epochs,
total_epochs,
not config.get("hyperopt_list_best", False),
print_colorized,
0,
)
)
hot = HyperoptOutput()
hot.add_data(
config, config,
epochs, epochs,
total_epochs, total_epochs,
not config.get("hyperopt_list_best", False), not config.get("hyperopt_list_best", False),
) )
hot.print(print_colorized=print_colorized) h_out.print(print_colorized=print_colorized)
except KeyboardInterrupt: except KeyboardInterrupt:
print("User interrupted..") print("User interrupted..")