parameters: (self)
return_statement: return roidb
docstring: Return the database of selective search regions of interest.
          Ground-truth ROIs are also included.
  
          This function loads/saves from/to a cache file to speed up future calls.
docstring_summary: Return the database of selective search regions of interest.
          Ground-truth ROIs are also included.
docstring_tokens: Return the database of selective search regions of interest . Ground - truth ROIs are also included .
function: def selective_search_IJCV_roidb(self):
          """
          Return the database of selective search regions of interest.
          Ground-truth ROIs are also included.
  
          This function loads/saves from/to a cache file to speed up future calls.
          """
          cache_file = os.path.join(self.cache_path,
                  '{:s}_selective_search_IJCV_top_{:d}_roidb.pkl'.
                  format(self.name, self.config['top_k']))
  
          if os.path.exists(cache_file):
              with open(cache_file, 'rb') as fid:
                  roidb = cp.load(fid)
              print ('{} ss roidb loaded from {}'.format(self.name, cache_file))
              return roidb
  
          gt_roidb = self.gt_roidb()
          ss_roidb = self._load_selective_search_IJCV_roidb(gt_roidb)
          roidb = imdb.merge_roidbs(gt_roidb, ss_roidb)
          with open(cache_file, 'wb') as fid:
              cp.dump(roidb, fid, cp.HIGHEST_PROTOCOL)
          print ('wrote ss roidb to {}'.format(cache_file))
  
          return roidb
function_tokens: def selective_search_IJCV_roidb ( self ) : cache_file = os . path . join ( self . cache_path , '{:s}_selective_search_IJCV_top_{:d}_roidb.pkl' . format ( self . name , self . config [ 'top_k' ] ) ) if os . path . exists ( cache_file ) : with open ( cache_file , 'rb' ) as fid : roidb = cp . load ( fid ) print ( '{} ss roidb loaded from {}' . format ( self . name , cache_file ) ) return roidb gt_roidb = self . gt_roidb ( ) ss_roidb = self . _load_selective_search_IJCV_roidb ( gt_roidb ) roidb = imdb . merge_roidbs ( gt_roidb , ss_roidb ) with open ( cache_file , 'wb' ) as fid : cp . dump ( roidb , fid , cp . HIGHEST_PROTOCOL ) print ( 'wrote ss roidb to {}' . format ( cache_file ) ) return roidb