Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pad.base
Commits
47ed8ac1
Commit
47ed8ac1
authored
Mar 27, 2018
by
Olegs NIKISINS
Browse files
Fixed a missing method in OneClassGMM algorithm
parent
15c88bed
Pipeline
#17849
passed with stage
in 23 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/algorithm/OneClassGMM.py
View file @
47ed8ac1
...
...
@@ -18,7 +18,7 @@ import bob.io.base
from
sklearn
import
mixture
from
bob.pad.base.utils
import
convert_frame_cont_to_array
,
mean_std_normalize
from
bob.pad.base.utils
import
convert_frame_cont_to_array
,
mean_std_normalize
,
convert_and_prepare_features
# ==============================================================================
# Main body :
...
...
@@ -184,7 +184,7 @@ class OneClassGMM(Algorithm):
"""
# training_features[0] - training features for the REAL class.
real
=
self
.
convert_and_prepare_features
(
real
=
convert_and_prepare_features
(
training_features
[
0
])
# output is array
# training_features[1] - training features for the ATTACK class.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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