CNN Model Body
This commit is contained in:
@@ -5,6 +5,8 @@ from collections import defaultdict
|
||||
from configparser import ConfigParser
|
||||
from pathlib import Path
|
||||
|
||||
from lib.utils.model_io import ModelParameters
|
||||
|
||||
|
||||
def is_jsonable(x):
|
||||
import json
|
||||
@@ -43,6 +45,10 @@ class Config(ConfigParser):
|
||||
return self._get_namespace_for_section('project')
|
||||
###################################################
|
||||
|
||||
@property
|
||||
def model_paramters(self):
|
||||
return ModelParameters(self.model, self.train, self.data)
|
||||
|
||||
@property
|
||||
def tags(self, ):
|
||||
return [f'{key}: {val}' for key, val in self.serializable.items()]
|
||||
|
||||
Reference in New Issue
Block a user