jtkim-kaist / VAD

Voice activity detection (VAD) toolkit including DNN, bDNN, LSTM and ACAM based VAD. We also provide our directly recorded dataset.
834 stars 232 forks source link

A question from the beginner #38

Closed Robin4-ever closed 3 years ago

Robin4-ever commented 3 years ago

Hi,Kim,I'm just a new beginner,and i meet some problems when i run the code. in the file "data_reader_DNN_v2", in next_batch, self._input_spec_list[self._num_file], when i run it ,it reveals a IndexError : list index out of range. i think that it is because there is no .txt file in VAD/sample_data i don't know if this is true,hope for your answer.

Robin4-ever commented 3 years ago

I have solved this problem. it is a mistake made by myself…… anyway,thanks for the code.

lxylxyoo commented 3 years ago

Hi @Robin4-ever , I have met the same issue with you. Could you please tell me how you solved this problem ? Thanks!

Robin4-ever commented 3 years ago

Sorry,i have to say, it's been too long. i can't remember that. Maybe you can try it from two aspects:

  1. the correct instruction. you must run the file as  run ./lib/python/VAD_test.py -m %d -l %d -d %d --data_dir=./sample_data --model_dir=./saved_model --norm_dir=./norm_data'

  2. check the path of the files. Find where the error occurred, maybe the path in the code doesn't have the file you want.

------------------ 原始邮件 ------------------ 发件人: "jtkim-kaist/VAD" <notifications@github.com>; 发送时间: 2021年3月3日(星期三) 下午4:29 收件人: "jtkim-kaist/VAD"<VAD@noreply.github.com>; 抄送: "xxxxxs"<1121172696@qq.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [jtkim-kaist/VAD] A question from the beginner (#38)

Hi @Robin4-ever , I have met the same issue with you. Could you please tell me how you solved this problem ? Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

lxylxyoo commented 3 years ago

@Robin4-ever Thanks for your quick reply! I will have a try.