Loading tests/test_experiments.py +5 −4 Original line number Diff line number Diff line Loading @@ -92,6 +92,7 @@ def setup_input_files_for_config(config, category=1): shutil.copy(md_f, md_f_out) # create background noise files with white noise if "background_noise" in config.preprocessing_2: noise = random((48000 * 30, 2)) - 0.5 noise *= 2**15 - 1 bg_noise_path = Path(config.preprocessing_2["background_noise"]["background_noise_path"]).absolute() Loading Loading
tests/test_experiments.py +5 −4 Original line number Diff line number Diff line Loading @@ -92,6 +92,7 @@ def setup_input_files_for_config(config, category=1): shutil.copy(md_f, md_f_out) # create background noise files with white noise if "background_noise" in config.preprocessing_2: noise = random((48000 * 30, 2)) - 0.5 noise *= 2**15 - 1 bg_noise_path = Path(config.preprocessing_2["background_noise"]["background_noise_path"]).absolute() Loading