audb.infoΒΆ
Get information from database headers.
Instead of caching the header (db.yaml
)
of a database first locally to inspect it,
the functions under audb.info
provide you direct access to this information.
So instead of running:
>>> db = audb.load("emodb", version="1.4.1", only_metadata=True, verbose=False)
>>> db.tables
emotion:
type: filewise
columns:
emotion: {scheme_id: emotion, rater_id: gold}
emotion.confidence: {scheme_id: confidence, rater_id: gold}
emotion.categories.test.gold_standard:
type: filewise
split_id: test
columns:
emotion: {scheme_id: emotion, rater_id: gold}
emotion.confidence: {scheme_id: confidence, rater_id: gold}
emotion.categories.train.gold_standard:
type: filewise
split_id: train
columns:
emotion: {scheme_id: emotion, rater_id: gold}
emotion.confidence: {scheme_id: confidence, rater_id: gold}
files:
type: filewise
columns:
duration: {scheme_id: duration}
speaker: {scheme_id: speaker}
transcription: {scheme_id: transcription}
You can run:
>>> audb.info.tables("emodb", version="1.4.1")
emotion:
type: filewise
columns:
emotion: {scheme_id: emotion, rater_id: gold}
emotion.confidence: {scheme_id: confidence, rater_id: gold}
emotion.categories.test.gold_standard:
type: filewise
split_id: test
columns:
emotion: {scheme_id: emotion, rater_id: gold}
emotion.confidence: {scheme_id: confidence, rater_id: gold}
emotion.categories.train.gold_standard:
type: filewise
split_id: train
columns:
emotion: {scheme_id: emotion, rater_id: gold}
emotion.confidence: {scheme_id: confidence, rater_id: gold}
files:
type: filewise
columns:
duration: {scheme_id: duration}
speaker: {scheme_id: speaker}
transcription: {scheme_id: transcription}
Attachment(s) of database. |
|
Author(s) of database. |
|
Media bit depth. |
|
Media channels. |
|
Description of database. |
|
Total media duration. |
|
Media files included in the database. |
|
Media formats. |
|
Load header of database. |
|
Languages of database. |
|
License of database. |
|
License URL of database. |
|
Audio and video media of database. |
|
Meta information of database. |
|
Miscellaneous tables of database. |
|
Organization responsible for database. |
|
Raters contributed to database. |
|
Media sampling rates. |
|
Schemes of database. |
|
Source of database. |
|
Splits of database. |
|
Tables of database. |
|
Usage of database. |