Changed the sampleloader

parent 764b8285
......@@ -10,7 +10,7 @@ from bob.bio.base.database import (
CSVDataset,
CSVDatasetZTNorm,
)
from bob.pipelines.datasets import CSVToSampleLoader
from bob.bio.base.database import CSVToSampleLoaderBiometrics
from bob.bio.face.database.sample_loaders import EyesAnnotations
from bob.extension import rc
from bob.extension.download import get_file
......@@ -108,7 +108,7 @@ class MEDSDatabase(CSVDatasetZTNorm):
filename,
protocol,
csv_to_sample_loader=make_pipeline(
CSVToSampleLoader(
CSVToSampleLoaderBiometrics(
data_loader=bob.io.base.load,
dataset_original_directory=rc["bob.db.meds.directory"]
if rc["bob.db.meds.directory"]
......
......@@ -10,7 +10,7 @@ from bob.bio.base.database import (
CSVDataset,
CSVDatasetZTNorm,
)
from bob.pipelines.datasets import CSVToSampleLoader
from bob.bio.base.database import CSVToSampleLoaderBiometrics
from bob.bio.face.database.sample_loaders import EyesAnnotations
from bob.extension import rc
from bob.extension.download import get_file
......@@ -63,7 +63,7 @@ class MobioDatabase(CSVDatasetZTNorm):
filename,
protocol,
csv_to_sample_loader=make_pipeline(
CSVToSampleLoader(
CSVToSampleLoaderBiometrics(
data_loader=bob.io.base.load,
dataset_original_directory=rc["bob.db.mobio.directory"]
if rc["bob.db.mobio.directory"]
......
......@@ -10,7 +10,7 @@ from bob.bio.base.database import (
CSVDataset,
CSVDatasetZTNorm,
)
from bob.pipelines.datasets import CSVToSampleLoader
from bob.bio.base.database import CSVToSampleLoaderBiometrics
from bob.bio.face.database.sample_loaders import EyesAnnotations
from bob.extension import rc
from bob.extension.download import get_file
......@@ -72,7 +72,7 @@ class MorphDatabase(CSVDatasetZTNorm):
filename,
protocol,
csv_to_sample_loader=make_pipeline(
CSVToSampleLoader(
CSVToSampleLoaderBiometrics(
data_loader=bob.io.base.load,
dataset_original_directory=rc["bob.db.morph.directory"]
if rc["bob.db.morph.directory"]
......
......@@ -7,7 +7,7 @@
"""
from bob.bio.base.database import CSVDataset
from bob.pipelines.datasets import CSVToSampleLoader
from bob.bio.base.database import CSVToSampleLoaderBiometrics
from bob.bio.face.database.sample_loaders import MultiposeAnnotations
from bob.extension import rc
from bob.extension.download import get_file
......@@ -35,7 +35,7 @@ class MultipieDatabase(CSVDataset):
filename,
protocol,
csv_to_sample_loader=make_pipeline(
CSVToSampleLoader(
CSVToSampleLoaderBiometrics(
data_loader=bob.io.base.load,
dataset_original_directory=rc["bob.db.multipie.directory"]
if rc["bob.db.multipie.directory"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment