VAD
VAD copied to clipboard
Exception while executing vad_test.py.
Traceback (most recent call last):
File "/usr/lib/pycharm-community/helpers/pydev/pydevd.py", line 1596, in
---> There is no txt file in input_dir, so when 0th index was accessed, Exception occured. self._input_spec_list = sorted(glob.glob(input_dir+'/*.txt'))
def next_batch(self, batch_size):
if self._start_idx == self._w:
self._inputs = self._padding(
self._read_input(self._input_file_list[self._num_file],
self._input_spec_list[self._num_file]), batch_size, self._w)
- Can you upload the text file in input_dir?
- Also, can you give more info regarding data_len = int(arg) which is passed as a parameter to graph_test.do_test()?
- Do you have comparison results of this VAD algorithm with webrtc VAD? If so, can you post it here
I'm very sorry for late answer.
-
audio_dir = './data/example/clean_speech.wav' # directory for specific audio file
-
the length of your audio data i.e. length(audio) in matlab notation.
-
Unfortunately there is no comparison.
i met the same issue with you, i haven't the *.txt file, please tell me how to solve it?