Model Training
This commit is contained in:
@ -5,5 +5,5 @@ from models.binary_classifier import BinaryClassifier
|
||||
class MConfig(Config):
|
||||
|
||||
@property
|
||||
def model_map(self):
|
||||
def _model_map(self):
|
||||
return dict(BinaryClassifier=BinaryClassifier)
|
||||
|
11
util/logging.py
Normal file
11
util/logging.py
Normal file
@ -0,0 +1,11 @@
|
||||
from pathlib import Path
|
||||
|
||||
from ml_lib.utils.logging import Logger
|
||||
|
||||
|
||||
class MLogger(Logger):
|
||||
|
||||
@property
|
||||
def outpath(self):
|
||||
# FIXME: Specify a special path
|
||||
return Path(self.config.train.outpath)
|
Reference in New Issue
Block a user