def _load_image_set_index(self):
    "\n        Load the indexes listed in this dataset's image set file.\n        "
    image_set_file = os.path.join(self._data_path, 'ImageSets', 'Main', (self._image_set + '.txt'))
    assert os.path.exists(image_set_file), 'Path does not exist: {}'.format(image_set_file)
    with open(image_set_file) as f:
        image_index = [x.strip() for x in f.readlines()]
    return image_index
Load the indexes listed in this dataset's image set file.
def _load_image_set_index(self):
    "\n        \n        "
    image_set_file = os.path.join(self._data_path, 'ImageSets', 'Main', (self._image_set + '.txt'))
    assert os.path.exists(image_set_file), 'Path does not exist: {}'.format(image_set_file)
    with open(image_set_file) as f:
        image_index = [x.strip() for x in f.readlines()]
    return image_index