def _load_label_dict(self):
    return json.load(open(os.path.join(self.output_dir, 'label2idx.json'), 'rb'))
def _load_label_dict(self):
    return json.load(open(os.path.join(self.output_dir, 'label2idx.json'), 'rb'))