generate test

This commit is contained in:
shahules786 2022-10-15 11:46:52 +05:30
parent 789da44114
commit 7882b8cca3
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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)