mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-17 08:25:53 +00:00
Add experiment title and model version to reports
This commit is contained in:
@@ -12,6 +12,9 @@ for result in results:
|
||||
file_name = os.path.join(Folders.results, result)
|
||||
with open(file_name) as f:
|
||||
data = json.load(f)
|
||||
if "title" not in data:
|
||||
print(f"Repairing title in {result}")
|
||||
data["title"] = "default"
|
||||
if "version" not in data:
|
||||
print(f"Repairing version in {result}")
|
||||
model = data["model"]
|
||||
|
Reference in New Issue
Block a user