cleaned up for submission

This commit is contained in:
2026-07-10 20:13:13 +02:00
parent 47fbb19761
commit 7eff030e89
38 changed files with 39 additions and 4175 deletions

View File

@@ -2,6 +2,7 @@
from pathlib import Path
import os
# used for logging metrics to files
def _log_to_csv(arch, mode, accuracy, report_dict, strategy):
"""Handles directory structures, file setups, and distinct CSV column formatting."""
#arch_name = model.__class__.__name__.lower()
@@ -33,7 +34,7 @@ def _log_to_csv(arch, mode, accuracy, report_dict, strategy):
print(f">> Direct CSV metrics appended to {csv_path}")
# creates a file for
def _initialize_log_file(log_file):
"""Creates a unique log file for this strategy with a header if it doesn't exist."""
log_file.parent.mkdir(parents=True, exist_ok=True)