YongyuG/separation_data_preparation

window下的具体修改如下

Opened this issue · 1 comments

s1WavName = "{}_{}".format(line[0].split('\')[-2], line[0].split('\')[-1][:-4]) # .TIMIT\TRAIN\TRAIN_DR1_FCJF0_SX307
s2WavName = "{}
{}".format(line[2].split('\')[-2], line[2].split('\')[-1][:-4]) # ._TIMIT\TRAIN\TRAIN_DR1_FDAW0_SI2036

并且run.sh中,也要改成用//
input_dir=.\TIMIT #Dataset files
output_dir=.\test_sep_make #output data dir, all output will be here

s1WavName = "{}_{}".format(line[0].split('')[-2], line[0].split('')[-1][:-4]) # .TIMIT\TRAIN\TRAIN_DR1_FCJF0_SX307 s2WavName = "{}{}".format(line[2].split('')[-2], line[2].split('')[-1][:-4]) # ._TIMIT\TRAIN\TRAIN_DR1_FDAW0_SI2036

并且run.sh中,也要改成用//
input_dir=.\TIMIT #Dataset files
output_dir=.\test_sep_make #output data dir, all output will be here

点赞哦,我后期换个系统测试一下