Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.vein
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.vein
Commits
1883c776
There was a problem fetching the pipeline summary.
Commit
1883c776
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Doc and identiation fixes
parent
788367d6
No related branches found
No related tags found
1 merge request
!18
Simplifications
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bob/bio/vein/database/verafinger.py
+1
-1
1 addition, 1 deletion
bob/bio/vein/database/verafinger.py
bob/bio/vein/preprocessor/FingerCrop.py
+3
-3
3 additions, 3 deletions
bob/bio/vein/preprocessor/FingerCrop.py
doc/baselines.rst
+4
-4
4 additions, 4 deletions
doc/baselines.rst
with
8 additions
and
8 deletions
bob/bio/vein/database/verafinger.py
+
1
−
1
View file @
1883c776
...
...
@@ -64,7 +64,7 @@ class Database(BioDatabase):
def
client_id_from_model_id
(
self
,
model_id
,
group
=
'
dev
'
):
"""
Required as ``model_id != client_id`` on this database
"""
"""
Required as ``model_id != client_id`` on this database
"""
return
self
.
__db
.
finger_name_from_model_id
(
model_id
)
...
...
This diff is collapsed.
Click to expand it.
bob/bio/vein/preprocessor/FingerCrop.py
+
3
−
3
View file @
1883c776
...
...
@@ -350,9 +350,9 @@ class FingerCrop (Preprocessor):
img_h
,
img_w
=
image
.
shape
# Calculates the mask edges along the columns
edges
=
numpy
.
zeros
(
2
,
img_w
)
edges
=
numpy
.
zeros
(
(
2
,
img_w
)
,
dtype
=
int
)
edges
[
0
,:]
=
mask
.
argmax
(
axis
=
0
)
# get upper edges
edges
[
1
,:]
=
len
(
mask
)
-
numpy
.
flipu
p
(
mask
).
argmax
(
axis
=
0
)
-
1
edges
[
1
,:]
=
len
(
mask
)
-
numpy
.
flipu
d
(
mask
).
argmax
(
axis
=
0
)
-
1
bl
=
edges
.
mean
(
axis
=
0
)
#baseline
x
=
numpy
.
arange
(
0
,
img_w
)
...
...
@@ -442,7 +442,7 @@ class FingerCrop (Preprocessor):
return
retval
def
__call__
(
self
,
data
):
def
__call__
(
self
,
data
,
annotations
):
"""
Reads the input image or (image, mask) and prepares for fex.
Parameters:
...
...
This diff is collapsed.
Click to expand it.
doc/baselines.rst
+
4
−
4
View file @
1883c776
...
...
@@ -107,10 +107,10 @@ protocol, do the following:
submit your job for SGE execution, you can run it in parallel (using 4
parallel tasks) by adding the options ``--parallel=4 --nice=10``.
Optionally, you may use the ``parallel` resource configuration which
already
sets the number of parallel jobs to the number of hardware cores you
have
installed on your machine (as with
:py:func:`multiprocessing.cpu_count`) and
sets ``nice=10``. For example:
Optionally, you may use the ``parallel`
`
resource configuration which
already
sets the number of parallel jobs to the number of hardware cores you
have
installed on your machine (as with
:py:func:`multiprocessing.cpu_count`) and
sets ``nice=10``. For example:
.. code-block:: sh
...
...
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