Hparams passing with user warnings

This commit is contained in:
steffen
2020-04-17 18:07:54 +02:00
parent e53107420d
commit f5c240f038
5 changed files with 27 additions and 16 deletions

View File

@ -37,8 +37,8 @@ class Logger(LightningLoggerBase):
@property
def outpath(self):
# ToDo: Add further path modification such as dataset config etc.
return Path(self.config.train.outpath) / self.config.data.mode
# FIXME: Move this out of here, this is not the right place to do this!!!
return Path(self.config.train.outpath) / self.config.model.type
def __init__(self, config: Config):
"""