Update 2 files
Browse files- /util.py
- /trainer.py
- trainer.py +2 -1
- util.py +1 -1
trainer.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
|
| 2 |
class Trainer:
|
| 3 |
-
def __init__(config: Config):
|
|
|
|
|
|
| 1 |
|
| 2 |
class Trainer:
|
| 3 |
+
def __init__(self, config: Config):
|
| 4 |
+
pass
|
util.py
CHANGED
|
@@ -3,7 +3,7 @@ import json
|
|
| 3 |
|
| 4 |
|
| 5 |
class ConfigParser:
|
| 6 |
-
def __init__(path: str):
|
| 7 |
with open(path, 'r') as f:
|
| 8 |
json_obj = json.load(f)
|
| 9 |
|
|
|
|
| 3 |
|
| 4 |
|
| 5 |
class ConfigParser:
|
| 6 |
+
def __init__(self, path: str):
|
| 7 |
with open(path, 'r') as f:
|
| 8 |
json_obj = json.load(f)
|
| 9 |
|