def setConf(self, conf, features_file, annotations_filename=None, annotations_id=None): self.query_strategy = conf.query_strategy Experiment.setConf(self, conf, features_file, annotations_filename=annotations_filename, annotations_id=annotations_id) if self.conf.validation_conf is not None: self.test_exp = self.createValidationExperiment()
def setConf(self, conf, features_file, annotations_filename=None, annotations_id=None): Experiment.setConf(self, conf, features_file, annotations_filename=annotations_filename, annotations_id=annotations_id) if self.conf.test_conf.method == 'dataset': self.test_exp = self.createTestExperiment()