Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ambuj Mehrish
sidekit
Commits
4f2f730b
Commit
4f2f730b
authored
May 13, 2019
by
Anthony Larcher
Browse files
bug fix for S4D
parent
4a9d4a42
Changes
1
Hide whitespace changes
Inline
Side-by-side
features_extractor.py
View file @
4f2f730b
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment