def _load_split(self):
    with open(path.join(self.root_dir, ISSDataset._METADATA_FILE), 'rb') as fid:
        metadata = umsgpack.unpack(fid, encoding='utf-8')
    with open(path.join(self._lst_dir, (self.split_name + '.txt')), 'r') as fid:
        lst = fid.readlines()
    lst = set((line.strip() for line in lst))
    meta = metadata['meta']
    images = [img_desc for img_desc in metadata['images'] if (img_desc['id'] in lst)]
    return (meta, images)
def _load_split(self):
    with open(path.join(self.root_dir, ISSDataset._METADATA_FILE), 'rb') as fid:
        metadata = umsgpack.unpack(fid, encoding='utf-8')
    with open(path.join(self._lst_dir, (self.split_name + '.txt')), 'r') as fid:
        lst = fid.readlines()
    lst = set((line.strip() for line in lst))
    meta = metadata['meta']
    images = [img_desc for img_desc in metadata['images'] if (img_desc['id'] in lst)]
    return (meta, images)