def _load_selective_search_roidb(self, gt_roidb):
    filename = os.path.abspath(os.path.join(self.cache_path, '..', 'selective_search_data', (self.name + '.mat')))
    assert os.path.exists(filename), 'Selective search data not found at: {}'.format(filename)
    raw_data = sio.loadmat(filename)['boxes'].ravel()
    box_list = []
    for i in range(raw_data.shape[0]):
        box_list.append((raw_data[i][:, (1, 0, 3, 2)] - 1))
    return self.create_roidb_from_box_list(box_list, gt_roidb)
def _load_selective_search_roidb(self, gt_roidb):
    filename = os.path.abspath(os.path.join(self.cache_path, '..', 'selective_search_data', (self.name + '.mat')))
    assert os.path.exists(filename), 'Selective search data not found at: {}'.format(filename)
    raw_data = sio.loadmat(filename)['boxes'].ravel()
    box_list = []
    for i in range(raw_data.shape[0]):
        box_list.append((raw_data[i][:, (1, 0, 3, 2)] - 1))
    return self.create_roidb_from_box_list(box_list, gt_roidb)