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
a080d605
There was a problem fetching the pipeline summary.
Commit
a080d605
authored
8 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Plain Diff
Merge branch '19-bug-in-lfw-extension' into 'master'
Fixed issue in the LFW scores (
#19
) Closes
#19
See merge request
!24
parents
25e87d12
653b9b03
No related branches found
No related tags found
1 merge request
!24
Fixed issue in the LFW scores (#19)
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/face/database/lfw.py
+10
-0
10 additions, 0 deletions
bob/bio/face/database/lfw.py
with
10 additions
and
0 deletions
bob/bio/face/database/lfw.py
+
10
−
0
View file @
a080d605
...
@@ -55,3 +55,13 @@ class LFWBioDatabase(BioDatabase):
...
@@ -55,3 +55,13 @@ class LFWBioDatabase(BioDatabase):
def
annotations
(
self
,
myfile
):
def
annotations
(
self
,
myfile
):
return
self
.
_db
.
annotations
(
myfile
.
_f
)
return
self
.
_db
.
annotations
(
myfile
.
_f
)
def
client_id_from_model_id
(
self
,
model_id
,
group
=
'
dev
'
):
"""
Return the client id associated with the given model id.
In this base class implementation, it is assumed that only one model is enrolled for each client and, thus, client id and model id are identical.
All key word arguments are ignored.
Please override this function in derived class implementations to change this behavior.
"""
# since there is one model per file, we can re-use the function above.
return
self
.
_db
.
get_client_id_from_file_id
(
model_id
)
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