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

Error while running main.py file #18

Open rajeevbaalwan opened 5 years ago

rajeevbaalwan commented 5 years ago

Traceback (most recent call last): File "./lib/python/VAD_test.py", line 60, in pred, label = graph_test.do_test(graph_list[-1], data_dir, norm_dir, data_len, is_default, mode) File "/home/rajeev/pb/VAD/lib/python/graph_test.py", line 89, in do_test valid_inputs, valid_labels = valid_data_set.next_batch(valid_batch_size) File "/home/rajeev/pb/VAD/lib/python/data_reader_bDNN_v2.py", line 144, in next_batch inputs = utils.bdnn_transform(inputs, self._w, self._u) AttributeError: module 'lib.matlab_py.utils' has no attribute 'bdnn_transform'

utils file does not contain any function with name bdnn_transform. Any help ??

jtkim-kaist commented 5 years ago

It seems you import incorrect utils.py, utils.py definitely has bdnn_transform.

rajeevbaalwan commented 5 years ago

Sorry!! There were 2 utils file. I choosed the wrong one. When u are removing matlab dependency for MRCG Extraction and other TODO's. ????????

jtkim-kaist commented 5 years ago

We already remove the dependency : ). From py branch you can enjoy full python version.

rajeevbaalwan commented 5 years ago

Okay !! :+1:
Does py branch support spectogram feature(didn't found in training script) instead of MRCG ???

jtkim-kaist commented 5 years ago

No while I already have the spectrogram feature based VAD but not arranged yet for uploading. I will upload that version in this month. thank you!

rajeevbaalwan commented 5 years ago

Thanks!! Eagerly waiting for that.

rajeevbaalwan commented 5 years ago

More eagerly waiting now as i find matlab is paid. :):)