You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am runnning the example in the readme using python 3.6, adjusting the paths:
importaudiomatefromaudiomate.corpusimportio# Download a datasetesc_downloader=io.ESC50Downloader()
esc_downloader.download('esc')
# Load and work with the datasetesc50=audiomate.Corpus.load('esc', reader='esc-50')
# e.g. Read the audio signal and the label of specific sample/utteranceutterance=esc50.utterances['1-100032-A-0']
samples=utterance.read_samples()
label=utterance.label_lists[audiomate.corpus.LL_SOUND_CLASS][0].value
While the download worked without problems, retrieving labels resulted in an error:
Traceback (most recent call last):
File "test.py", line 14, in <module>
label = utterance.label_lists[audiomate.corpus.LL_SOUND_CLASS][0].value
TypeError: 'LabelList' object does not support indexing
The text was updated successfully, but these errors were encountered:
I am runnning the example in the readme using python 3.6, adjusting the paths:
While the download worked without problems, retrieving labels resulted in an error:
The text was updated successfully, but these errors were encountered: