diff --git a/hpc_entrypoint.sh b/hpc_entrypoint.sh index 21df43d..cc84012 100644 --- a/hpc_entrypoint.sh +++ b/hpc_entrypoint.sh @@ -37,6 +37,9 @@ pwd python noisyspeech_synthesizer.py echo "files" #mkdir /scratch/c.sistc3/MS-SNSD/DNS10 +rm -rf /scratch/c.sistc3/MS-SNSD/DNS10/CleanSpeech_testing +rm -rf /scratch/c.sistc3/MS-SNSD/DNS10/NoisySpeech_testing + mv ./CleanSpeech_testing/ /scratch/c.sistc3/MS-SNSD/DNS10 mv ./NoisySpeech_testing/ /scratch/c.sistc3/MS-SNSD/DNS10 ls /scratch/c.sistc3/MS-SNSD/DNS10 diff --git a/noisyspeech_synthesizer.py b/noisyspeech_synthesizer.py index 167f93a..0ea0498 100644 --- a/noisyspeech_synthesizer.py +++ b/noisyspeech_synthesizer.py @@ -43,7 +43,9 @@ def main(cfg): ) if not os.path.exists(clean_proc_dir): os.makedirs(clean_proc_dir) - noise_proc_dir = os.path.join(os.path.dirname(__file__), f"Noise_{name}ing") + noise_proc_dir = os.path.join( + os.path.dirname(__file__), f"NoisySpeech_{name}ing" + ) if not os.path.exists(noise_proc_dir): os.makedirs(noise_proc_dir)