Commit 4f2f730b authored by Anthony Larcher's avatar Anthony Larcher
Browse files

bug fix for S4D

parent 4a9d4a42
......@@ -598,6 +598,7 @@ class FeaturesExtractor(object):
_, threshold_id = self._vad(None, energy[idx], None, None)
logging.info('show: ' + show + ' cluster: ' + _id + ' thr:' + str(threshold_id))
label_id = energy > threshold_id
label_id = label_id.ravel()
label[idx] = label_id[idx]
if not keep_all:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment