Spaces:
Runtime error
Runtime error
Gagan Bhatia commited on
Commit ·
05f29e7
1
Parent(s): 45e8538
Update train_model.py
Browse files
src/models/train_model.py
CHANGED
|
@@ -33,6 +33,8 @@ def train_model():
|
|
| 33 |
with open('wandb/latest-run/files/wandb-summary.json') as json_file:
|
| 34 |
data = json.load(json_file)
|
| 35 |
|
|
|
|
|
|
|
| 36 |
|
| 37 |
if __name__ == '__main__':
|
| 38 |
train_model()
|
|
|
|
| 33 |
with open('wandb/latest-run/files/wandb-summary.json') as json_file:
|
| 34 |
data = json.load(json_file)
|
| 35 |
|
| 36 |
+
json.dump(data, fp)
|
| 37 |
+
|
| 38 |
|
| 39 |
if __name__ == '__main__':
|
| 40 |
train_model()
|