def __init__(self, mode):
        Directory.__init__(self, mode)

        self.data_path += '/cnf'
        ''' DATASET '''
        self.raw_data_filename = self.data_path + self.raw_data_filename
        self.data_filename = self.data_path + self.data_filename
        self.gold_label_filename = self.data_path + self.gold_label_filename
        self.weak_label_filename = self.data_path + self.weak_label_filename
示例#2
0
    def __init__(self, mode):
        Directory.__init__(self, mode)

        self.data_path += '/tar'
        ''' DATASET '''
        self.raw_data_filename = self.data_path + self.raw_data_filename
        self.data_filename = self.data_path + self.data_filename
        self.gold_label_filename = self.data_path + self.gold_label_filename  # For valid gold label is used as weak label
        self.weak_label_filename = self.data_path + self.weak_label_filename  # For train, only weak label