VAD icon indicating copy to clipboard operation
VAD copied to clipboard

Error while running main.py file

Open rajeevbaalwan opened this issue 6 years ago • 7 comments
trafficstars

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 ??

rajeevbaalwan avatar Jan 22 '19 09:01 rajeevbaalwan

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

jtkim-kaist avatar Jan 22 '19 10:01 jtkim-kaist

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

rajeevbaalwan avatar Jan 22 '19 13:01 rajeevbaalwan

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

jtkim-kaist avatar Jan 22 '19 13:01 jtkim-kaist

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

rajeevbaalwan avatar Jan 23 '19 05:01 rajeevbaalwan

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!

jtkim-kaist avatar Jan 23 '19 06:01 jtkim-kaist

Thanks!! Eagerly waiting for that.

rajeevbaalwan avatar Jan 23 '19 08:01 rajeevbaalwan

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

rajeevbaalwan avatar Jan 23 '19 11:01 rajeevbaalwan