Exemple #1
0
 def setup(self):
     AbstractConfigClass.__init__(self)
     self.validation_list = self.config_parser.eval(
         self.__class__.__name__, 'validation_list').split(',')
     self.validation_args = json.loads(
         self.config_parser.get(self.__class__.__name__, 'validation_args'))
     self.train_directory_path = self.getPath(
         relative_path=self.config_parser.eval(self.__class__.__name__,
                                               "train_directory_path"))
     self.label_directory_path = self.getPath(
         relative_path=self.config_parser.eval(
             self.__class__.__name__, "train_label_directory_path"))
     self.validation_dict = {}
     self.val_dir = []
 def __init__(self):
     AbstractConfigClass.__init__(self)
 def setup(self):
     AbstractConfigClass.__init__(self)
     self.metrics_list = self.config_parser.eval(self.__class__.__name__, 'metrics_list').split(',')
     self.metrics_args = json.loads(self.config_parser.get(self.__class__.__name__, 'metrics_args'))
     self.metrics_dict={}
     self.metrics_dir = []