generate test
This commit is contained in:
parent
789da44114
commit
7882b8cca3
|
|
@ -37,6 +37,9 @@ pwd
|
||||||
python noisyspeech_synthesizer.py
|
python noisyspeech_synthesizer.py
|
||||||
echo "files"
|
echo "files"
|
||||||
#mkdir /scratch/c.sistc3/MS-SNSD/DNS10
|
#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 ./CleanSpeech_testing/ /scratch/c.sistc3/MS-SNSD/DNS10
|
||||||
mv ./NoisySpeech_testing/ /scratch/c.sistc3/MS-SNSD/DNS10
|
mv ./NoisySpeech_testing/ /scratch/c.sistc3/MS-SNSD/DNS10
|
||||||
ls /scratch/c.sistc3/MS-SNSD/DNS10
|
ls /scratch/c.sistc3/MS-SNSD/DNS10
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,9 @@ def main(cfg):
|
||||||
)
|
)
|
||||||
if not os.path.exists(clean_proc_dir):
|
if not os.path.exists(clean_proc_dir):
|
||||||
os.makedirs(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):
|
if not os.path.exists(noise_proc_dir):
|
||||||
os.makedirs(noise_proc_dir)
|
os.makedirs(noise_proc_dir)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue