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

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

src/a/n/antispoofing.utils-1.1.3/antispoofing/utils/ml/svmCountermeasure.py   antispoofing.utils(Download)
def writeNormalizationData(fileName,lowbound,highbound,mins,maxs):
  hdf5File = bob.io.HDF5File(fileName, openmode_string='w')
  hdf5File.append('lowbound',lowbound)
  hdf5File.append('highbound',highbound)
  hdf5File.append('mins',mins)
  hdf5File.append('maxs',maxs)

src/a/n/antispoofing.lbp-1.3.0/antispoofing/lbp/script/mkhistmodel.py   antispoofing.lbp(Download)
  print "Saving the model histograms..."
  histmodelsfile = bob.io.HDF5File(os.path.join(args.outputdir, 'histmodelsfile.hdf5'),'w')
  histmodelsfile.append('model_hist_real', numpy.array(model_hist_real))
 
  del histmodelsfile

src/a/n/antispoofing.lbptop-1.0.4/antispoofing/lbptop/script/lbptop_mkhistmodel.py   antispoofing.lbptop(Download)
    if(verbose):
      print "Saving the model histogram..."
    histmodelsfile.append(models[i], numpy.array(model_hist_real_plane))
 
  del histmodelsfile