Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.face
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.face
Commits
bd556dc2
Commit
bd556dc2
authored
4 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Patches
Plain Diff
Implemented score_multiple_models
parent
16717689
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!64
Dask pipelines
Pipeline
#40606
failed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/face/algorithm/Histogram.py
+7
-1
7 additions, 1 deletion
bob/bio/face/algorithm/Histogram.py
with
7 additions
and
1 deletion
bob/bio/face/algorithm/Histogram.py
+
7
−
1
View file @
bd556dc2
...
...
@@ -155,4 +155,10 @@ class Histogram (Algorithm):
def
read_feature
(
*
args
,
**
kwargs
)
:
raise
NotImplementedError
(
"
This function is not implemented and should not be called.
"
)
def
train_enroller
(
*
args
,
**
kwargs
)
:
raise
NotImplementedError
(
"
This function is not implemented and should not be called.
"
)
def
load_enroller
(
*
args
,
**
kwargs
)
:
pass
def
score_for_multiple_models
(
*
args
,
**
kwargs
)
:
raise
NotImplementedError
(
"
This function is not implemented and should not be called.
"
)
def
score_for_multiple_models
(
self
,
models
,
probe
):
self
.
_check_feature
(
probe
,
self
.
_is_sparse
(
probe
))
scores
=
[
self
.
score
(
m
,
probe
)
for
m
in
models
]
return
scores
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment