Skip to content

Commit

Permalink
Updated the database configuration files so that they work in other p…
Browse files Browse the repository at this point in the history
…ackages as well
  • Loading branch information
siebenkopf committed Nov 17, 2015
1 parent 05095a4 commit e479123
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
5 changes: 3 additions & 2 deletions bob/bio/spear/config/database/banca_audio_G.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
#!/usr/bin/env python

import pkg_resources
import bob.db.verification.filelist
import bob.bio.base

banca_wav_directory = "[YOUR_BANCA_WAV_DIRECTORY]"

database = bob.bio.base.database.DatabaseBob(
database = bob.db.verification.filelist.Database('bob/bio/spear/config/database/banca/',
database = bob.db.verification.filelist.Database(pkg_resources.resource_filename('bob.bio.spear', 'config/database/banca'),
original_directory = banca_wav_directory,
original_extension = ".wav",
),
name = "banca",
protocol = 'G',
protocol = 'G',
)
6 changes: 4 additions & 2 deletions bob/bio/spear/config/database/mobio_female.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
#!/usr/bin/env python

import pkg_resources
import bob.db.verification.filelist
import bob.bio.base

mobio_wav_directory = "[YOUR_MOBIO_WAV_DIRECTORY]"

database = bob.bio.base.database.DatabaseBob(
database = bob.db.verification.filelist.Database('bob/bio/spear/config/database/mobio/mobile0-female/',
database = bob.db.verification.filelist.Database(pkg_resources.resource_filename('bob.bio.spear', 'config/database/mobio/mobile0-female'),
original_directory = mobio_wav_directory,
original_extension = ".wav",
),
name = "mobile0-female",
protocol = '',

)
6 changes: 3 additions & 3 deletions bob/bio/spear/config/database/mobio_male.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/usr/bin/env python

import pkg_resources
import bob.db.verification.filelist
import bob.bio.base

mobio_wav_directory = "[YOUR_MOBIO_WAV_DIRECTORY]"
database = bob.bio.base.database.DatabaseBob(
database = bob.db.verification.filelist.Database('bob/bio/spear/config/database/mobio/mobile0-male/',
database = bob.db.verification.filelist.Database(pkg_resources.resource_filename('bob.bio.spear', 'config/database/mobio/mobile0-male'),
original_directory = mobio_wav_directory,
original_extension = ".wav",
),
name = "mobio-male",
protocol = '',

)

)
5 changes: 3 additions & 2 deletions bob/bio/spear/config/database/timit.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
#!/usr/bin/env python

import pkg_resources
import bob.db.verification.filelist
import bob.bio.base

timit_wav_directory = "[YOUR_TIMIT_WAV_DIRECTORY]"

database = bob.bio.base.database.DatabaseBob(
database = bob.db.verification.filelist.Database('bob/bio/spear/config/database/timit/',
database = bob.db.verification.filelist.Database(pkg_resources.resource_filename('bob.bio.spear', 'config/database/timit'),
original_directory = timit_wav_directory,
original_extension = ".wav",
),
name = "timit",
protocol = '2',
protocol = '2',
)

0 comments on commit e479123

Please sign in to comment.