Loading create_items_p800.py +10 −6 Original line number Diff line number Diff line Loading @@ -12,15 +12,19 @@ class Arguments: self.debug = False def create_items(testname): p800_path = Path(f"experiments/selection/{testname}") p800_cfgs = p800_path.joinpath("config").glob("P800*cat*.yml") for cfg in p800_cfgs: args_dummy = Arguments(str(cfg)) generate_test(args_dummy) # if is necessary here so that multiprocessing does not crash if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("testname", choices=P800_TESTS) args = parser.parse_args() p800_path = Path(f"experiments/selection/{args.testname}") p800_cfgs = p800_path.joinpath("config").glob("P800*cat*.yml") for cfg in p800_cfgs: args_dummy = Arguments(str(cfg)) generate_test(args_dummy) No newline at end of file create_items(args.testname) experiments/selection/P800-2/background_noises/.gitkeep→experiments/selection/P800-2/background_noise/.gitkeep +0 −0 File moved. experiments/selection/P800-2/config/P800-2-cat1.yml +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ preprocessing_2: ### REQUIRED: SNR for background noise in dB snr: 15 ### REQUIRED: Path to background noise, must have same format and sampling rate as input signal(s) background_noise_path: "experiments/selection/P800-2/background_noises/background_noise_cat1.wav" background_noise_path: "experiments/selection/P800-2/background_noise/background_noise_cat1.wav" ################################################# ### Bitstream processing Loading experiments/selection/P800-2/config/P800-2-cat2.yml +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ preprocessing_2: ### REQUIRED: SNR for background noise in dB snr: 15 ### REQUIRED: Path to background noise, must have same format and sampling rate as input signal(s) background_noise_path: "experiments/selection/P800-2/background_noises/background_noise_cat2.wav" background_noise_path: "experiments/selection/P800-2/background_noise/background_noise_cat2.wav" ################################################# ### Bitstream processing Loading experiments/selection/P800-2/config/P800-2-cat3.yml +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ preprocessing_2: ### REQUIRED: SNR for background noise in dB snr: 15 ### REQUIRED: Path to background noise, must have same format and sampling rate as input signal(s) background_noise_path: "experiments/selection/P800-2/background_noises/background_noise_cat3.wav" background_noise_path: "experiments/selection/P800-2/background_noise/background_noise_cat3.wav" ################################################# ### Bitstream processing Loading Loading
create_items_p800.py +10 −6 Original line number Diff line number Diff line Loading @@ -12,15 +12,19 @@ class Arguments: self.debug = False def create_items(testname): p800_path = Path(f"experiments/selection/{testname}") p800_cfgs = p800_path.joinpath("config").glob("P800*cat*.yml") for cfg in p800_cfgs: args_dummy = Arguments(str(cfg)) generate_test(args_dummy) # if is necessary here so that multiprocessing does not crash if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("testname", choices=P800_TESTS) args = parser.parse_args() p800_path = Path(f"experiments/selection/{args.testname}") p800_cfgs = p800_path.joinpath("config").glob("P800*cat*.yml") for cfg in p800_cfgs: args_dummy = Arguments(str(cfg)) generate_test(args_dummy) No newline at end of file create_items(args.testname)
experiments/selection/P800-2/background_noises/.gitkeep→experiments/selection/P800-2/background_noise/.gitkeep +0 −0 File moved.
experiments/selection/P800-2/config/P800-2-cat1.yml +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ preprocessing_2: ### REQUIRED: SNR for background noise in dB snr: 15 ### REQUIRED: Path to background noise, must have same format and sampling rate as input signal(s) background_noise_path: "experiments/selection/P800-2/background_noises/background_noise_cat1.wav" background_noise_path: "experiments/selection/P800-2/background_noise/background_noise_cat1.wav" ################################################# ### Bitstream processing Loading
experiments/selection/P800-2/config/P800-2-cat2.yml +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ preprocessing_2: ### REQUIRED: SNR for background noise in dB snr: 15 ### REQUIRED: Path to background noise, must have same format and sampling rate as input signal(s) background_noise_path: "experiments/selection/P800-2/background_noises/background_noise_cat2.wav" background_noise_path: "experiments/selection/P800-2/background_noise/background_noise_cat2.wav" ################################################# ### Bitstream processing Loading
experiments/selection/P800-2/config/P800-2-cat3.yml +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ preprocessing_2: ### REQUIRED: SNR for background noise in dB snr: 15 ### REQUIRED: Path to background noise, must have same format and sampling rate as input signal(s) background_noise_path: "experiments/selection/P800-2/background_noises/background_noise_cat3.wav" background_noise_path: "experiments/selection/P800-2/background_noise/background_noise_cat3.wav" ################################################# ### Bitstream processing Loading