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