diff --git a/notebooks/voxforge_config.py b/notebooks/voxforge_config.py deleted file mode 100644 index 31deb480a2c62e7a213f152d93f96ced135fcce5..0000000000000000000000000000000000000000 --- a/notebooks/voxforge_config.py +++ /dev/null @@ -1,87 +0,0 @@ -# Config script for running experiments on Voxforge - -from bob.db.voxforge import Database -import bob.bio.spear -import bob.bio.gmm - - -groups = ['train'] -#groups = ['train', 'dev', 'eval'] - -allow_missing_files = False -skip_kmeans = False -skip_gmm = False -skip_extractor_training = True -skip_projector_training = False -skip_enroller_training = False - -voxforge_wav_directory = "[YOUR_VOXFORGE_DIRECTORY]" - -database = Database( - original_directory=voxforge_wav_directory, - original_extension=".wav", -) - -database_directories_file = "path_to_voxforge.txt" - -preprocessor = bob.bio.spear.preprocessor.Energy_2Gauss() - -extractor = bob.bio.spear.extractor.Cepstral( - win_length_ms = 20, - win_shift_ms = 10, - n_filters = 24, - dct_norm = False, - f_min = 0.0, - f_max = 8000, - delta_win = 2, - mel_scale = True, - with_energy = True, - with_delta = False, - with_delta_delta = False, - n_ceps = 19, # 0-->18 - pre_emphasis_coef = 0.95, - features_mask = numpy.arange(0,20), - # Normalization - normalize_flag = True, -) - -algorithm = bob.bio.gmm.algorithm.GMM( - number_of_gaussians = 64, - kmeans_training_iterations = 5, - gmm_training_iterations = 5, - training_threshold = 0.0, # This ensure the use of maximum number of iterations as stopping criterion -) - -verbose = 3 - -grid = bob.bio.base.grid.Grid( - number_of_preprocessing_jobs=24, - number_of_extraction_jobs=24, - number_of_projection_jobs=24, - number_of_enrollment_jobs=24, - number_of_scoring_jobs=1, - training_queue = '16G', - # preprocessing - preprocessing_queue = '4G-io-big', - # feature extraction - extraction_queue = '4G-io-big', - # feature projection - projection_queue = '4G-io-big', - # model enrollment - enrollment_queue = '4G-io-big', - # scoring - scoring_queue = '4G-io-big' -) - -#grid = None - -# a grid for testing on a local machine -#grid = bob.bio.base.grid.Grid( -# grid_type='local', -# number_of_parallel_processes=1 -#) -#run_local_scheduler = True -#nice = 10 - - -