jtkim-kaist / Speech-enhancement

Deep neural network based speech enhancement toolkit
GNU General Public License v2.0
210 stars 62 forks source link

IndexError : list index out of range #21

Open MayMiao0923 opened 5 years ago

MayMiao0923 commented 5 years ago

I used Ubuntu 16.04 to run the program under your suggestion. But I got the following error when I ran the program. 1 At this point, in main.py: 2 in train.py: 3 4 in datareader.py: 5 I placed the program in the lib folder: 6 I still don't know how to solve this problem after consulting the information. How can I solve it? @jtkim-kaist

jtkim-kaist commented 5 years ago

I seems the validation path is incorrect. Please verify.

sreepathysois commented 3 years ago

Change confi.py in SE/lib/config.py to your path. For example

train_input_path = '/home/jtkim/hdd3/github/SE_data_raw/data/train/noisy'

train_input_path = '/home/sois/Speech-enhancement/SE/data/train/noisy'

train_output_path = '/home/jtkim/hdd3/github/SE_data_raw/data/train/clean'

train_output_path = '/home/sois/Speech-enhancement/SE/data/train/clean'

norm_path = '/home/jtkim/hdd3/github/SE_data_raw/data/train/norm'

norm_path = '/home/sois/Speech-enhancement/SE/data/train/norm'

valid_input_path = '/home/jtkim/hdd3/github/SE_data_raw/data/valid/noisy'

valid_input_path = '/home/sois/Speech-enhancement/SE/data/valid/noisy'

valid_output_path = '/home/jtkim/hdd3/github/SE_data_raw/data/valid/clean'

valid_output_path = '/home/sois/Speech-enhancement/SE/data/valid/clean'

small_test_clean_path = '/home/jtkim/hdd3/github/SE_data_raw/data/test/clean'

small_test_clean_path = '/home/sois/Speech-enhancement/SE/data/test/clean'

small_test_noisy_path = '/home/jtkim/hdd3/github/SE_data_raw/data/test/noisy'

small_test_noisy_path = '/home/sois/Speech-enhancement/SE/data/test/noisy'

full_test_clean_path = '/home/jtkim/hdd3/github/SE_data_raw/data/test/clean'

full_test_clean_path = '/home/sois/Speech-enhancement/SE/data/test/clean'

full_test_noisy_path = '/home/jtkim/hdd3/github/SE_data_raw/data/test/noisy'

full_test_noisy_path = '/home/sois/Speech-enhancement/SE/data/test/noisy'