Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.base
Commits
518da4e1
Commit
518da4e1
authored
Mar 10, 2021
by
Amir MOHAMMADI
Browse files
[bob.piplines] sample loaders have moved in bob.pipelines
parent
cea347c0
Pipeline
#48598
passed with stage
in 9 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/database/csv_dataset.py
View file @
518da4e1
...
...
@@ -14,7 +14,7 @@ import logging
import
bob.db.base
from
bob.bio.base.pipelines.vanilla_biometrics.abstract_classes
import
Database
from
bob.extension.download
import
search_file
from
bob.pipelines.
dataset
s
import
CSVToSampleLoader
from
bob.pipelines.
sample_loader
s
import
CSVToSampleLoader
logger
=
logging
.
getLogger
(
__name__
)
...
...
@@ -109,7 +109,7 @@ class CSVToSampleLoaderBiometrics(CSVToSampleLoader):
dataset_original_directory: str
Path of where data is stored
extension: str
Default file extension
...
...
@@ -219,10 +219,10 @@ class CSVDataset(Database):
protocol_na,e: str
The name of the protocol
csv_to_sample_loader: `bob.pipelines.
dataset
s.CSVToSampleLoader`
csv_to_sample_loader: `bob.pipelines.
sample_loader
s.CSVToSampleLoader`
Base class that whose objective is to generate :any:`bob.pipelines.Sample`
and/or :any:`bob.pipelines.SampleSet` from csv rows
"""
...
...
@@ -470,7 +470,7 @@ class CSVDatasetZTNorm(Database):
"""
Generic filelist dataset for :any:`bob.bio.base.pipelines.vanilla_biometrics.ZTNormPipeline` pipelines.
Check :any:`vanilla_biometrics_features` for more details about the Vanilla Biometrics Dataset
interface.
interface.
This dataset interface takes as in put a :any:`CSVDataset` as input and have two extra methods:
:any:`CSVDatasetZTNorm.zprobes` and :any:`CSVDatasetZTNorm.treferences`.
...
...
@@ -490,7 +490,7 @@ class CSVDatasetZTNorm(Database):
Parameters
----------
database: :any:`CSVDataset`
:any:`CSVDataset` to be aggregated
...
...
@@ -626,7 +626,7 @@ class CSVDatasetCrossValidation:
samples_for_enrollment: float
Number of samples used for enrollment
csv_to_sample_loader: `bob.pipelines.
dataset
s.CSVToSampleLoader`
csv_to_sample_loader: `bob.pipelines.
sample_loader
s.CSVToSampleLoader`
Base class that whose objective is to generate :any:`bob.pipelines.Sample`
and/or :any:`bob.pipelines.SampleSet` from csv rows
...
...
bob/bio/base/test/test_filelist.py
View file @
518da4e1
...
...
@@ -26,7 +26,7 @@ from bob.bio.base.database import FileListBioDatabase
from
sklearn.preprocessing
import
FunctionTransformer
from
sklearn.pipeline
import
make_pipeline
from
bob.pipelines
import
wrap
from
bob.pipelines.
dataset
s
import
AnnotationsLoader
from
bob.pipelines.
sample_loader
s
import
AnnotationsLoader
legacy_example_dir
=
os
.
path
.
realpath
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment