def _load_selective_search_IJCV_roidb(self, gt_roidb):
    IJCV_path = os.path.abspath(os.path.join(self.cache_path, '..', 'selective_search_IJCV_data', ('voc_' + self._year)))
    assert os.path.exists(IJCV_path), 'Selective search IJCV data not found at: {}'.format(IJCV_path)
    top_k = self.config['top_k']
    box_list = []
    for i in range(self.num_images):
        filename = os.path.join(IJCV_path, (self.image_index[i] + '.mat'))
        raw_data = sio.loadmat(filename)
        box_list.append((raw_data['boxes'][:top_k, :] - 1).astype(np.uint16))
    return self.create_roidb_from_box_list(box_list, gt_roidb)
def _load_selective_search_IJCV_roidb(self, gt_roidb):
    IJCV_path = os.path.abspath(os.path.join(self.cache_path, '..', 'selective_search_IJCV_data', ('voc_' + self._year)))
    assert os.path.exists(IJCV_path), 'Selective search IJCV data not found at: {}'.format(IJCV_path)
    top_k = self.config['top_k']
    box_list = []
    for i in range(self.num_images):
        filename = os.path.join(IJCV_path, (self.image_index[i] + '.mat'))
        raw_data = sio.loadmat(filename)
        box_list.append((raw_data['boxes'][:top_k, :] - 1).astype(np.uint16))
    return self.create_roidb_from_box_list(box_list, gt_roidb)