Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(140) | Call(140) | Derive(0) | Import(0)
src/a/n/antispoofing.lbp-1.3.0/antispoofing/lbp/script/svmtrain_lbp.py antispoofing.lbp(Download)
if args.normalize: fout.create_group('norm') fout.cd('norm') fout.set_attribute('mins', mins) fout.set_attribute('maxs', maxs) fout.cd('..') if args.pca_reduction: fout.create_group('pca_machine') fout.cd('pca_machine')
fout.cd('pca_machine') pca_machine.save(fout) fout.cd('..') fout.create_group('svm_machine') fout.cd('svm_machine')
src/a/n/antispoofing.lbp-1.3.0/antispoofing/lbp/script/svmeval_lbp.py antispoofing.lbp(Download)
fin = bob.io.HDF5File(os.path.join(args.infile), 'r') if fin.has_group('norm'): fin.cd('norm') mins = fin.get_attribute('mins') maxs = fin.get_attribute('maxs') fin.cd('..') else: mins = None; maxs = None if fin.has_group('pca_machine'): fin.cd('pca_machine')
fin.cd('pca_machine') pca_machine = bob.machine.LinearMachine(fin) fin.cd('..') else: pca_machine = None fin.cd('svm_machine')
src/x/b/xbob.thesis.elshafey2014-0.0.1a0/xbob/thesis/elshafey2014/scripts/para_jfa.py xbob.thesis.elshafey2014(Download)
hdf5file = bob.io.HDF5File(self.m_tool.m_projector_toreplace, "w") hdf5file.create_group('Projector') hdf5file.cd('Projector') ubm.save(hdf5file) hdf5file.cd('/') hdf5file.create_group('Enroller') hdf5file.cd('Enroller')
hdf5file = bob.io.HDF5File(self.m_tool.m_projector_toreplace, "w") hdf5file.create_group('Projector') hdf5file.cd('Projector') ubm.save(hdf5file) hdf5file.cd('/')
src/x/b/xbob.thesis.elshafey2014-0.0.1a0/xbob/thesis/elshafey2014/tools/JFA.py xbob.thesis.elshafey2014(Download)
def _save_projector_together(self, projector_file): """Save the GMM and the JFA model in the same HDF5 file""" hdf5file = bob.io.HDF5File(projector_file, "w") hdf5file.create_group('Projector') hdf5file.cd('Projector') self.m_ubm.save(hdf5file) hdf5file.cd('/') hdf5file.create_group('Enroller') hdf5file.cd('Enroller')
# Load Projector hdf5file.cd('/Projector') # read UBM self.m_ubm = bob.machine.GMMMachine(hdf5file)
# Load Enroller hdf5file.cd('/Enroller') self.m_jfabase = bob.machine.JFABase(hdf5file) # add UBM model from base class
src/x/b/xbob.thesis.elshafey2014-0.0.1a0/xbob/thesis/elshafey2014/tools/IVector.py xbob.thesis.elshafey2014(Download)
def _save_projector_together(self, projector_file): """Save the GMM and the ISV model in the same HDF5 file""" hdf5file = bob.io.HDF5File(projector_file, "w") hdf5file.create_group('Projector') hdf5file.cd('Projector') self.m_ubm.save(hdf5file) hdf5file.cd('/') hdf5file.create_group('Enroller') hdf5file.cd('Enroller')
# Load Projector hdf5file.cd('/Projector') # read UBM self.m_ubm = bob.machine.GMMMachine(hdf5file)
# Load Enroller hdf5file.cd('/Enroller') self.m_tv = bob.machine.IVectorMachine(hdf5file) # add UBM model from base class
src/f/a/facereclib-1.2.1/facereclib/tools/IVector.py facereclib(Download)
def _save_projector_together(self, projector_file): """Save the GMM and the ISV model in the same HDF5 file""" hdf5file = bob.io.HDF5File(projector_file, "w") hdf5file.create_group('Projector') hdf5file.cd('Projector') self.m_ubm.save(hdf5file) hdf5file.cd('/') hdf5file.create_group('Enroller') hdf5file.cd('Enroller')
# Load Projector hdf5file.cd('/Projector') # read UBM self.m_ubm = bob.machine.GMMMachine(hdf5file)
# Load Enroller hdf5file.cd('/Enroller') self.m_tv = bob.machine.IVectorMachine(hdf5file) # add UBM model from base class
src/f/a/facereclib-1.2.1/facereclib/tools/ISV.py facereclib(Download)
def _save_projector_together(self, projector_file): """Save the GMM and the ISV model in the same HDF5 file""" hdf5file = bob.io.HDF5File(projector_file, "w") hdf5file.create_group('Projector') hdf5file.cd('Projector') self.m_ubm.save(hdf5file) hdf5file.cd('/') hdf5file.create_group('Enroller') hdf5file.cd('Enroller')
# Load Projector hdf5file.cd('/Projector') # read UBM self.m_ubm = bob.machine.GMMMachine(hdf5file)
# Load Enroller hdf5file.cd('/Enroller') self.m_isvbase = bob.machine.ISVBase(hdf5file) # add UBM model from base class
src/f/a/facereclib-HEAD/facereclib/tools/IVector.py facereclib(Download)
def _save_projector_together(self, projector_file): """Save the GMM and the ISV model in the same HDF5 file""" hdf5file = bob.io.HDF5File(projector_file, "w") hdf5file.create_group('Projector') hdf5file.cd('Projector') self.m_ubm.save(hdf5file) hdf5file.cd('/') hdf5file.create_group('Enroller') hdf5file.cd('Enroller')
# Load Projector hdf5file.cd('/Projector') # read UBM self.m_ubm = bob.machine.GMMMachine(hdf5file)
# Load Enroller hdf5file.cd('/Enroller') self.m_tv = bob.machine.IVectorMachine(hdf5file) # add UBM model from base class
src/f/a/facereclib-HEAD/facereclib/tools/ISV.py facereclib(Download)
def _save_projector_together(self, projector_file): """Save the GMM and the ISV model in the same HDF5 file""" hdf5file = bob.io.HDF5File(projector_file, "w") hdf5file.create_group('Projector') hdf5file.cd('Projector') self.m_ubm.save(hdf5file) hdf5file.cd('/') hdf5file.create_group('Enroller') hdf5file.cd('Enroller')
# Load Projector hdf5file.cd('/Projector') # read UBM self.m_ubm = bob.machine.GMMMachine(hdf5file)
# Load Enroller hdf5file.cd('/Enroller') self.m_isvbase = bob.machine.ISVBase(hdf5file) # add UBM model from base class
src/f/a/facereclib-1.2.1/facereclib/utils/video.py facereclib(Download)
# Read content (frames) from HDF5File f = bob.io.HDF5File(filename, "r") f.cd('/data/') for path in f.paths(): # Resolve frame_id
1 | 2 | 3 Next