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
5c01e41c
Commit
5c01e41c
authored
3 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Plain Diff
Merge branch 'rename-verify-cli' into 'master'
Removed last trace of vanilla See merge request
!281
parents
4b0fd65d
16622243
No related branches found
No related tags found
1 merge request
!281
Removed last trace of vanilla
Pipeline
#59904
passed
3 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/bio/base/script/compare_samples.py
+2
-2
2 additions, 2 deletions
bob/bio/base/script/compare_samples.py
bob/bio/base/transformers/algorithm.py
+5
-2
5 additions, 2 deletions
bob/bio/base/transformers/algorithm.py
with
7 additions
and
4 deletions
bob/bio/base/script/compare_samples.py
+
2
−
2
View file @
5c01e41c
...
...
@@ -14,7 +14,7 @@ from bob.extension.scripts.click_helper import (
)
import
bob.io.base
from
tabulate
import
tabulate
from
bob.bio.base.pipelines
.entry_points
import
dask_vanilla_biometrics
from
bob.bio.base.pipelines
import
dask_pipeline_simple
from
bob.pipelines
import
SampleSet
,
DelayedSample
import
functools
...
...
@@ -74,7 +74,7 @@ def compare_samples(samples, pipeline, dask_client, verbose):
for
i
,
s
in
enumerate
(
samples
)
]
if
dask_client
is
not
None
:
pipeline
=
dask_
vanilla_biometrics
(
pipeline
)
pipeline
=
dask_
pipeline_simple
(
pipeline
)
table
=
[[
s
for
s
in
samples
]]
biometric_references
=
pipeline
.
create_biometric_reference
(
sample_sets
)
...
...
This diff is collapsed.
Click to expand it.
bob/bio/base/transformers/algorithm.py
+
5
−
2
View file @
5c01e41c
...
...
@@ -19,7 +19,7 @@ class AlgorithmTransformer(TransformerMixin, BaseEstimator):
-------
Wrapping Distance algorithm with functools
>>>
from
bob.bio.base.pipelines
.vanilla_biometrics
import
AlgorithmTransformer
>>>
from
bob.bio.base.pipelines
import
AlgorithmTransformer
>>>
from
bob.bio.base.algorithm
import
Distance
>>>
transformer
=
AlgorithmTransformer
(
Distance
)
...
...
@@ -32,7 +32,10 @@ class AlgorithmTransformer(TransformerMixin, BaseEstimator):
"""
def
__init__
(
self
,
instance
,
projector_file
=
None
,
**
kwargs
,
self
,
instance
,
projector_file
=
None
,
**
kwargs
,
):
if
not
isinstance
(
instance
,
Algorithm
):
...
...
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