Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.db.morph
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
Model registry
Operate
Environments
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.db.morph
Commits
670bd4fc
Commit
670bd4fc
authored
5 years ago
by
Yannick DAYER
Browse files
Options
Downloads
Patches
Plain Diff
[py][fix] Correct way to implement the optim
Forgot to save the last change -_-
parent
239c99f5
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#39060
failed
5 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/db/morph/database.py
+1
-4
1 addition, 4 deletions
bob/db/morph/database.py
with
1 addition
and
4 deletions
bob/db/morph/database.py
+
1
−
4
View file @
670bd4fc
...
@@ -98,15 +98,12 @@ class Database:
...
@@ -98,15 +98,12 @@ class Database:
logger
.
debug
(
f
"
Reading
'
{
eyecoords_file
}
'
.
"
)
logger
.
debug
(
f
"
Reading
'
{
eyecoords_file
}
'
.
"
)
self
.
eyes_dataframe
=
pandas
.
read_csv
(
eyecoords_file
,
index_col
=
"
photo
"
)
self
.
eyes_dataframe
=
pandas
.
read_csv
(
eyecoords_file
,
index_col
=
"
photo
"
)
self
.
_allow_scoring_with_all_biometric_references
=
\
self
.
protoco
.
allow_scoring_with_all_references
logger
.
info
(
f
"
morph Database ready for queries.
"
)
logger
.
info
(
f
"
morph Database ready for queries.
"
)
@property
@property
def
allow_scoring_with_all_biometric_references
(
self
):
def
allow_scoring_with_all_biometric_references
(
self
):
# This allows some optimization during the scoring stage
# This allows some optimization during the scoring stage
return
self
.
_
allow_scoring_with_all_
biometric_
references
return
self
.
protocol
.
allow_scoring_with_all_references
def
background_model_samples
(
self
):
def
background_model_samples
(
self
):
"""
Returns :py:class:`Sample`
'
s to train a background model (group
"""
Returns :py:class:`Sample`
'
s to train a background model (group
...
...
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