Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.base
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.base
Commits
792c7b8a
There was a problem fetching the pipeline summary.
Commit
792c7b8a
authored
6 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken click commands cref
bob.extension!86
parent
efe3f3e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!168
Documentation changes in bob bio annotate
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/bio/base/script/baseline.py
+2
-2
2 additions, 2 deletions
bob/bio/base/script/baseline.py
bob/bio/base/script/gen.py
+1
-1
1 addition, 1 deletion
bob/bio/base/script/gen.py
with
3 additions
and
3 deletions
bob/bio/base/script/baseline.py
+
2
−
2
View file @
792c7b8a
...
...
@@ -25,7 +25,7 @@ logger = logging.getLogger("bob.bio.base")
@click.argument
(
'
database
'
,
required
=
True
)
@verbosity_option
()
@click.pass_context
def
baseline
(
ctx
,
baseline
,
database
):
def
baseline
(
ctx
,
baseline
,
database
,
**
kwargs
):
"""
Run a biometric recognition baseline.
\b
...
...
@@ -65,7 +65,7 @@ def baseline(ctx, baseline, database):
sub_directory
=
os
.
path
.
join
(
database
,
baseline
)
else
:
sub_directory
=
baseline
logger
.
debug
(
'
Database groups are %s
'
,
database_data
[
"
groups
"
])
# call verify with newly generated config file. We will create a new config
...
...
This diff is collapsed.
Click to expand it.
bob/bio/base/script/gen.py
+
1
−
1
View file @
792c7b8a
...
...
@@ -87,7 +87,7 @@ def write_scores_to_file(neg, pos, filename, n_sys=1, five_col=False):
@click.option
(
'
-n
'
,
'
--n-sys
'
,
default
=
1
,
type
=
click
.
INT
,
show_default
=
True
)
@click.option
(
'
--five-col/--four-col
'
,
default
=
False
,
show_default
=
True
)
@verbosity_option
()
def
gen
(
outdir
,
mean_match
,
mean_non_match
,
n_sys
,
five_col
):
def
gen
(
outdir
,
mean_match
,
mean_non_match
,
n_sys
,
five_col
,
**
kwargs
):
"""
Generate random scores.
Generates random scores in 4col or 5col format. The scores are generated
using Gaussian distribution whose mean is an input
...
...
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