Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(19)  |  Call(19)  |  Derive(0)  |  Import(0)

src/a/n/antispoofing.lbp-1.3.0/antispoofing/lbp/script/svmeval_lbp.py   antispoofing.lbp(Download)
  if fin.has_group('norm'):
    fin.cd('norm')
    mins = fin.get_attribute('mins')
    maxs = fin.get_attribute('maxs')
    fin.cd('..')

src/x/b/xbob.optflow.liu-1.1.2/xbob/optflow/liu/test.py   xbob.optflow.liu(Download)
  def run_for(self, sample, refdir):
 
    f = bob.io.HDF5File(os.path.join(refdir, '%s.hdf5' % sample))
    method = sor_flow if f.get_attribute('method', 'uv') == 'SOR' else cg_flow
 
    # the reference flow field to use
    uv = f.read('uv')
 
    # the values of parameters used for this flow field estimation
    alpha = f.get_attribute('alpha', 'uv')
    # the values of parameters used for this flow field estimation
    alpha = f.get_attribute('alpha', 'uv')
    ratio = f.get_attribute('ratio', 'uv')
    min_width = int(f.get_attribute('min_width', 'uv'))
    n_inner_fp_iterations = int(f.get_attribute('n_inner_fp_iterations', 'uv'))