Commit 126753bb authored by Yannick DAYER's avatar Yannick DAYER

Add a SampleLoader to the VoxForge CSVDataset

parent 69375ac5
Pipeline #51858 failed with stage
in 4 minutes and 31 seconds
......@@ -11,7 +11,10 @@ import click
from tqdm import tqdm
import bob.io.base
from bob.bio.base.database import CSVDataset
from bob.bio.base.database import CSVToSampleLoaderBiometrics
from bob.extension import rc
from bob.extension.download import download_and_unzip
from bob.extension.download import get_file
......@@ -105,6 +108,11 @@ def VoxforgeBioDatabase(
name="VoxForge",
protocol=protocol,
dataset_protocol_path=dataset_protocol_path,
csv_to_sample_loader=CSVToSampleLoaderBiometrics(
data_loader=bob.io.base.load,
dataset_original_directory=data_path,
extension=".wav",
),
allow_scoring_with_all_biometric_references=True,
**kwargs,
)
......
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