Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.db.cuhk_cufs
Commits
058b7405
Commit
058b7405
authored
Oct 13, 2014
by
Tiago de Freitas Pereira
Browse files
Added annotation directory
parent
3d448ee5
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/db/cbsr_nir_vis_2/query.py
View file @
058b7405
...
...
@@ -24,9 +24,9 @@ class Database(bob.db.verification.filelist.Database):
this class defines a simple protocol for training, dev and and by splitting the audio files of the database in three main parts.
"""
def
__init__
(
self
,
original_directory
=
None
,
original_extension
=
None
):
def
__init__
(
self
,
original_directory
=
None
,
original_extension
=
None
,
annotation_directory
=
None
):
# call base class constructor
from
pkg_resources
import
resource_filename
lists
=
resource_filename
(
__name__
,
'lists'
)
bob
.
db
.
verification
.
filelist
.
Database
.
__init__
(
self
,
lists
,
original_directory
=
original_directory
,
original_extension
=
original_extension
)
bob
.
db
.
verification
.
filelist
.
Database
.
__init__
(
self
,
lists
,
original_directory
=
original_directory
,
original_extension
=
original_extension
,
annotation_directory
=
None
)
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