Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
·
51b4b2d
1
Parent(s):
26689f9
Update train_model.py
Browse files
src/models/train_model.py
CHANGED
@@ -37,7 +37,7 @@ def train_model():
|
|
37 |
|
38 |
model.save_model(model_dir=params["model_dir"])
|
39 |
|
40 |
-
with open(
|
41 |
data = json.load(json_file)
|
42 |
|
43 |
with open("reports/training_metrics.txt", "w") as fp:
|
|
|
37 |
|
38 |
model.save_model(model_dir=params["model_dir"])
|
39 |
|
40 |
+
with open("wandb/latest-run/files/wandb-summary.json") as json_file:
|
41 |
data = json.load(json_file)
|
42 |
|
43 |
with open("reports/training_metrics.txt", "w") as fp:
|