marvinlvn / voice-type-classifier Goto Github PK
View Code? Open in Web Editor NEWA deep learning model for classifying audio frames into [SPEECH, KCHI, CHI, MAL, FEM] classes.
A deep learning model for classifying audio frames into [SPEECH, KCHI, CHI, MAL, FEM] classes.
Running the command in the installation doc "conda env create -f vtc.yml" yields the error:
Pip subprocess error:
ERROR: Directory 'pyannote-audio/' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
failed
CondaEnvException: Pip failed
This can easily be reproduced by running the above command using the vtc.yml file in the repo.
I believe the issue lies in the last line: - pyannote-audio/
It seems like pyannote audio must be installed using the syntax pyannote.audio, but even manually installing the package through pip install pyannote.audio does not seem to fix the error since when running the apply script later on, an error pops up saying:
pyannote-audio can't be found.
Check that you activated your conda environment and than you installed pyannote-audio.
My suspicion is the old syntax, pyannote-audio, has been hardcoded into the file dependencies but is no longer applicable. This is only my suspicion though and could totally be wrong. Regardless, I would love some guidance on how to fix this. Thanks!
Hello!
I am having an issue applying the model to the given audio file. I have been looking through the other issues and could not find a solution. Above is what happens when I try to run the model on an audio file. The word "dominic" at the end of the line I think is just a quirk of apple that can't be changed (though is this is the issue I also do not know how to fix it.)
Thanks in Advance
I did a fresh install and ran apply.sh outside the voice_type_classifier folder the first time I called it. As a result, I got the following error (the "pyannote_tmp_config" folder was created to the current folder in bash from which apply.sh was called, not where apply.sh is located.
Found wav files.
Creating config for pyannote.
/Users/rasaneno/Documents/koodit/dists/ALICE/voice_type_classifier/apply.sh: line 42: /Users/rasaneno/Documents/koodit/dists/ALICE/voice_type_classifier/pyannote_tmp_config/database.yml: No such file or directory
/Users/rasaneno/Documents/koodit/dists/ALICE/voice_type_classifier/apply.sh: line 81: /Users/rasaneno/Documents/koodit/dists/ALICE/voice_type_classifier/pyannote_tmp_config/tmp_data.uem: No such file or directory
Done creating config for pyannote.
Hi,
I am running the VTC in googlecolab, using a conda environment loaded from vtc.yml as in the installation guide, and running into an issue with a deprecated np.long type:
"AttributeError: module 'numpy' has no attribute 'long'".
I will post the entire output below. If anyone has a solution for me, I would really appreciate it. Thank you.
Creating config for pyannote.
Done creating config for pyannote.
/usr/local/lib/python3.8/site-packages/numba/types/init.py:110: FutureWarning: In the future np.long
will be defined as the corresponding NumPy scalar. (This may have returned Python scalars in past versions.
long_ = _make_signed(np.long)
Traceback (most recent call last):
File "/usr/local/bin/pyannote-audio", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/pyannote/audio/applications/pyannote_audio.py", line 307, in main
from .labels_detection import MultilabelDetection
File "/usr/local/lib/python3.8/site-packages/pyannote/audio/applications/labels_detection.py", line 39, in
from pyannote.audio.applications.base import create_zip
File "/usr/local/lib/python3.8/site-packages/pyannote/audio/applications/base.py", line 46, in
from pyannote.audio.features.utils import get_audio_duration
File "/usr/local/lib/python3.8/site-packages/pyannote/audio/features/init.py", line 33, in
from .base import FeatureExtraction
File "/usr/local/lib/python3.8/site-packages/pyannote/audio/features/base.py", line 32, in
from .utils import RawAudio
File "/usr/local/lib/python3.8/site-packages/pyannote/audio/features/utils.py", line 32, in
import librosa
File "/usr/local/lib/python3.8/site-packages/librosa/init.py", line 209, in
from . import core
File "/usr/local/lib/python3.8/site-packages/librosa/core/init.py", line 5, in
from .convert import * # pylint: disable=wildcard-import
File "/usr/local/lib/python3.8/site-packages/librosa/core/convert.py", line 7, in
from . import notation
File "/usr/local/lib/python3.8/site-packages/librosa/core/notation.py", line 8, in
from ..util.exceptions import ParameterError
File "/usr/local/lib/python3.8/site-packages/librosa/util/init.py", line 77, in
from .utils import * # pylint: disable=wildcard-import
File "/usr/local/lib/python3.8/site-packages/librosa/util/utils.py", line 9, in
import numba
File "/usr/local/lib/python3.8/site-packages/numba/init.py", line 15, in
from . import config, errors, runtests as runtests, types
File "/usr/local/lib/python3.8/site-packages/numba/types/init.py", line 110, in
long = _make_signed(np.long)
File "/usr/local/lib/python3.8/site-packages/numpy/init.py", line 284, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'long'
Something went wrong when applying the model
Aborting.
I'm getting the following error on my OSX machine (that has no NVidia card and hence no CUDA):
(pyannote) ws-12129-imac:voice_type_classifier rasaneno$ sh apply.sh /Users/rasaneno/speechdb/demofiles/
apply.sh: line 5: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
Found wav files.
Creating config for pyannote.
apply.sh: line 41: soxi: command not found
Done creating config for pyannote.
Extracting KCHI
awk: can't open file model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/demofiles.SpeakerDiarization.All.test.rttm
source line number 1
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
Traceback (most recent call last):
File "/anaconda3/envs/pyannote/bin/pyannote-multilabel", line 8, in <module>
sys.exit(main())
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/multilabel.py", line 463, in main
_ = torch.Tensor([0]).to(device)
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 192, in _lazy_init
_check_driver()
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 95, in _check_driver
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
Extracting CHI
awk: can't open file model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/demofiles.SpeakerDiarization.All.test.rttm
source line number 1
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
Traceback (most recent call last):
File "/anaconda3/envs/pyannote/bin/pyannote-multilabel", line 8, in <module>
sys.exit(main())
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/multilabel.py", line 463, in main
_ = torch.Tensor([0]).to(device)
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 192, in _lazy_init
_check_driver()
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 95, in _check_driver
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
Extracting MAL
awk: can't open file model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/demofiles.SpeakerDiarization.All.test.rttm
source line number 1
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
Traceback (most recent call last):
File "/anaconda3/envs/pyannote/bin/pyannote-multilabel", line 8, in <module>
sys.exit(main())
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/multilabel.py", line 463, in main
_ = torch.Tensor([0]).to(device)
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 192, in _lazy_init
_check_driver()
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 95, in _check_driver
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
Extracting FEM
awk: can't open file model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/demofiles.SpeakerDiarization.All.test.rttm
source line number 1
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
Traceback (most recent call last):
File "/anaconda3/envs/pyannote/bin/pyannote-multilabel", line 8, in <module>
sys.exit(main())
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/multilabel.py", line 463, in main
_ = torch.Tensor([0]).to(device)
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 192, in _lazy_init
_check_driver()
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 95, in _check_driver
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
Extracting SPEECH
awk: can't open file model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/demofiles.SpeakerDiarization.All.test.rttm
source line number 1
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
Traceback (most recent call last):
File "/anaconda3/envs/pyannote/bin/pyannote-multilabel", line 8, in <module>
sys.exit(main())
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/multilabel.py", line 463, in main
_ = torch.Tensor([0]).to(device)
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 192, in _lazy_init
_check_driver()
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/torch/cuda/__init__.py", line 95, in _check_driver
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
showing the readme to someone, I realized the only links to papers & code are to ALICE. We should:
Hi all,
This isn't so much a problem but it would be great to get any thoughts on why the following might happen.
Our group has found that when plotting the distribution of the duration of vocalisations output by the VTC, we see these strange periodic peaks in the distribution:
This particular plot is from one of the RTTMs produced by the VTC. But we have found the same when plotting from our own processing of the .npy arrays and on different datasets. I'd be really interested to get any thoughts on this or to hear if it's a common issue.
Hello,
I am running into an issue while going through the applying step of the docs. When I try to run ./apply.sh /home/sarp/projects/0396_scrubbed.wav
I get the following output:
(pyannote) sarp@sarp:~/projects/voice_type_classifier$ ./apply.sh /home/sarp/projects/0396_scrubbed.wav
Creating config for pyannote.
Done creating config for pyannote.
Test set: 0it [00:00, ?it/s]./apply.sh: line 145: 28491 Killed pyannote-audio mlt apply --$DEVICE --batch=$BATCH --subset=test --parallel=8 $VAL_DIR ${bn}_protocol.SpeakerDiarization.All
Something went wrong when applying the model
Aborting.
I have attached the packages in my conda environment, output of conda info
, the output of soxi on the file I am using and information about my cpu (I am trying to run it on cpu on my machine). I am on an Ubuntu 16.04.7 LTS
machine. Thank you very much in advance for any help!
Hi, I was using an old model in commit 530a80f14 and I've noticed that the new model detects electronic speech much better.
I was wondering if that difference is related to my data only or if the new model actually detect electronic speech better (ie it was trained with electronic speech and the old model was not).
Also, I'd like to know if there are plans to include an "electronic speech" label which come in handy for our research.
thanks in advance.
Here's an error I get when I try to process 2x 2min ACLEW R1-R3 clips placed inside a folder callde LUC. As a result, I get ALL.rttm and SPEECH.rttm, but other ones are empty.
/Users/rasaneno/Documents/koodit/voice_type_classifier/apply.sh: line 5: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
Found wav files.
Creating config for pyannote.
Done creating config for pyannote.
Extracting KCHI
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/base.py:87: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
params_yml = yaml.load(fp)
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:26, 26.74s/it]
Test set: 2it [00:53, 26.83s/it]
Test set: 2it [00:53, 26.88s/it]
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:00, 3.22it/s]
Test set: 2it [00:00, 3.40it/s]
Test set: 2it [00:00, 3.52it/s]
awk: can't open file /Users/rasaneno/Documents/koodit/voice_type_classifier/model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/LUC.SpeakerDiarization.All.test.rttm
source line number 1
Extracting CHI
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/base.py:87: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
params_yml = yaml.load(fp)
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:27, 27.46s/it]
Test set: 2it [00:53, 26.93s/it]
Test set: 2it [00:53, 26.58s/it]
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:00, 3.85it/s]
Test set: 2it [00:00, 4.02it/s]
Test set: 2it [00:00, 4.15it/s]
awk: can't open file /Users/rasaneno/Documents/koodit/voice_type_classifier/model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/LUC.SpeakerDiarization.All.test.rttm
source line number 1
Extracting MAL
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/base.py:87: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
params_yml = yaml.load(fp)
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:26, 26.67s/it]
Test set: 2it [00:52, 26.46s/it]
Test set: 2it [00:52, 26.32s/it]
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:00, 3.61it/s]
Test set: 2it [00:00, 3.75it/s]
Test set: 2it [00:00, 3.84it/s]
awk: can't open file /Users/rasaneno/Documents/koodit/voice_type_classifier/model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/LUC.SpeakerDiarization.All.test.rttm
source line number 1
Extracting FEM
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/base.py:87: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
params_yml = yaml.load(fp)
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:27, 27.02s/it]
Test set: 2it [00:52, 26.68s/it]
Test set: 2it [00:52, 26.46s/it]
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:00, 3.67it/s]
Test set: 2it [00:00, 3.83it/s]
Test set: 2it [00:00, 3.94it/s]
awk: can't open file /Users/rasaneno/Documents/koodit/voice_type_classifier/model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/LUC.SpeakerDiarization.All.test.rttm
source line number 1
Extracting SPEECH
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/base.py:87: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
params_yml = yaml.load(fp)
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:26, 26.72s/it]
Test set: 2it [00:52, 26.44s/it]
Test set: 2it [00:52, 26.24s/it]
Test set: 0it [00:00, ?it/s]
Test set: 1it [00:00, 3.79it/s]
Test set: 2it [00:00, 3.95it/s]
Test set: 2it [00:00, 4.06it/s]
0
When attempting to retrain the model on our data, we're getting the following error:
(pyannote) leemoore@ip-172-31-9-0:~/projects/voice-type-classifier$ pyannote-audio mlt train --subset=train --to=50 --from=100 --parallel=4 model/ ELLIS.SpeakerDiarization.Classroom
Training set: 10it [01:34, 9.46s/it]
Traceback (most recent call last):
File "/opt/miniconda3/envs/pyannote/bin/pyannote-audio", line 8, in <module>
sys.exit(main())
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/applications/pyannote_audio.py", line 376, in main
app.train(protocol, **params)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/applications/base.py", line 225, in train
for _ in iterations:
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/train/trainer.py", line 329, in fit_iter
self.optimizer_ = get_optimizer(self.parameters(), lr=lr)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/train/trainer.py", line 166, in parameters
return chain(self.model_.parameters(), self.more_parameters())
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/labeling/tasks/labels_detection.py", line 387, in more_parameters
n_classes = len(self.specifications[self.domain]['classes'])
KeyError: 'domain'
We are using the following database.yml file and configured the .lst, .rttm, and .uem accordingly to the specifications provided (and our labels in the .rttm file are strictly FEM/MAL/CHI/KCHI). We have made no alternations to the config.yml
Databases:
ELLIS: /home/leemoore/projects/data/ellis/{uri}.wav
Protocols:
ELLIS:
SpeakerDiarization:
Classroom:
train:
uri: /home/leemoore/projects/data/ellis/ellis.trn.lst
annotation: /home/leemoore/projects/data/ellis/ellis.trn.rttm
annotated: /home/leemoore/projects/data/ellis/ellis.trn.uem
development:
uri: /home/leemoore/projects/data/ellis/ellis.dev.lst
annotation: /home/leemoore/projects/data/ellis/ellis.dev.rttm
annotated: /home/leemoore/projects/data/ellis/ellis.dev.uem
test:
uri: /home/leemoore/projects/data/ellis/ellis.tst.lst
annotation: /home/leemoore/projects/data/ellis/ellis.tst.rttm
annotated: /home/leemoore/projects/data/ellis/ellis.tst.uem
The train .lst file looks like this:
e6001_000000
e6002_080126
e6003_080125
e6009_080211
e6009_080217
e6010_080127
e6011_080127
e6012_080127
e6013_080127
e6014_080127
When calling apply.sh, the script assumes that the /model/ folder can be found under the current terminal folder from which the call is made, not under the folder where apply.sh is located. This can be circumvented by first cd:ing to the voice-type-classifier folder, and then calling apply.sh, but it would be more conventional if the function could be called from anywhere, and a relative path would be used for finding the model.
We've fine-tuned the VTC model for a modest 6 epoches to ensure its working as expected before investing in our full fine-tuning effort. We noticed a few progress metrics that we were not sure we understood fully and wanted to check with you that they were not a source of concern before we proceeded. Specifically, we executed the following training command (using your updated config.yml file):
pyannote-audio mlt train --subset=train --to=106 --from=100 model_ellis6_sad/ ELLIS.SpeakerDiarization.Classroom
and during training we noted that the denominator reported in the progress bar (10,800) and the duration of training (~7 hours) for the initial epoch (see screenshot below) was considerably more than for the subsequent epoches (101 through 106), where the denominator was 1,350 and duration of training was less than 1 hour each.
Would you be able to confirm that this is the expected behavior and possibly provide some intuition why this would be the case? Our best guess is that it may have to do with GPU caching of the calculations but we're not certain.
Separately, but potentially related, when we apply our new (validated) model on the test set, we observed the following progress output:
This was a little confusing given that it appears 6 separates models were used for prediction (which aligns to our 6 sets of model weights resulting from our training) however our understanding was that the validate step would select the single best performing model and apply that alone. So we are unclear why the 'apply' command would assess all 6 models, and assuming this is the case, we see once again a dramatic difference in duration of time required for this assessment between the first interation and subsequent ones (9min:45sec for the first versus less than 2 minutes for the rest).
We are hoping to launch our extended training (50+ epoches) over the weekend but want to ensure these initial trials do not indicate a lingering configuration problem.
I am a very beginner and when I installed this software I met the following problem. Could anyone help?
I try to install this software on a Ubuntu 20.04 LTS (subsystem installed on windows10). When I come to the step of "conda env create -f vtc.yml" it shows errors like this,
The python version I used is python 3.8.
Thanks in advance!
I tried to install voice_type_classifier on another machine (OSX). I did not encounter any particular problems during following the installation instructions, but now I get the following error when I run apply.sh after activating the conda environment:
Extracting SPEECH
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/base.py:87: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
params_yml = yaml.load(fp)
Test set: 0it [00:00, ?it/s]
Traceback (most recent call last):
File "/anaconda3/envs/pyannote/bin/pyannote-multilabel", line 8, in
sys.exit(main())
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/multilabel.py", line 554, in main
application.apply(protocol_name, step=step, subset=subset)
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/multilabel.py", line 400, in apply
fX = sequence_labeling(current_file)
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/labeling/extraction.py", line 260, in call
incomplete=True)]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/labeling/extraction.py", line 259, in
batches = [batch for batch in self.from_file(current_file,
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/generators/batch.py", line 285, in from_file
incomplete=incomplete):
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/generators/batch.py", line 334, in from_files
for fragment in self.generator.from_file(preprocessed_file):
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/generators/fragment.py", line 160, in from_file
source = get_audio_duration(current_file)
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
File "/anaconda3/envs/pyannote/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/database/protocol/protocol.py", line 124, in getitem
value = self.lazykey
File "/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/features/utils.py", line 55, in get_audio_duration
if 'duration' in current_file:
RecursionError: maximum recursion depth exceeded while calling a Python object
awk: can't open file /Users/rasaneno/Documents/ACLEW/demo_Jan2020/ALICE/voice_type_classifier/model/train/BBT_emp.SpeakerDiarization.All.train/validate_SPEECH/BBT_emp.SpeakerDiarization.All.development/apply/0495/rasaneno.SpeakerDiarization.All.test.rttm
source line number 1
./apply.sh ../LENA/OLD_PROTOCOL/03m_IDP/ --device=gpu --batch=1
Creating config for pyannote.
Done creating config for pyannote.
Usage:
pyannote-audio (sad | scd | ovl | emb | dom) train [--cpu | --gpu] [options]
pyannote-audio (sad | scd | ovl | emb | dom) validate [--cpu | --gpu] [options]
pyannote-audio (sad | scd | ovl | emb | dom) apply [--cpu | --gpu] [options]
pyannote-audio -h | --help
pyannote-audio --version
Something went wrong when applying the model
Aborting.
I followed all the steps in the documentation, and installed pytorch in new environment with conda install -c pytorch pytorch
Of the apply.sh outputs, CHI.rttm, FEM.rttm, KCHI.rttm, MAL.rttm, and SPEECH.rttm look sensible, but all.rttm also contains rows that correspond to files that were not transcribed in that given call of apply.sh, but on the previous (?) call. Not sure how to interpret this.
(pyannote) nb639@air116:/scratches/dialfs/child/splash/exp-nb639/voice_type_classifier$ ./apply.sh /scratches/dialfs/child/splash/exp-nb639/data/diarisation_training_data/uri/test/audio
Creating config for pyannote.
Done creating config for pyannote.
Feature extraction using pretrained models are not available because something went wrong at import: "cannot import name 'SafeFunction' from 'joblib._parallel_backends' (/scratches/dialfs/child/splash/exp-nb639/conda_environments/miniconda_pyth3.11/envs/pyannote/lib/python3.8/site-packages/joblib/_parallel_backends.py)".
Traceback (most recent call last):
File "/scratches/dialfs/child/splash/exp-nb639/conda_environments/miniconda_pyth3.11/envs/pyannote/bin/pyannote-audio", line 8, in
sys.exit(main())
File "/scratches/dialfs/child/splash/exp-nb639/conda_environments/miniconda_pyth3.11/envs/pyannote/lib/python3.8/site-packages/pyannote/audio/applications/pyannote_audio.py", line 307, in main
from .labels_detection import MultilabelDetection
File "/scratches/dialfs/child/splash/exp-nb639/conda_environments/miniconda_pyth3.11/envs/pyannote/lib/python3.8/site-packages/pyannote/audio/applications/labels_detection.py", line 39, in
from pyannote.audio.applications.base import create_zip
File "/scratches/dialfs/child/splash/exp-nb639/conda_environments/miniconda_pyth3.11/envs/pyannote/lib/python3.8/site-packages/pyannote/audio/applications/base.py", line 54, in
from pyannote.audio.features import Pretrained
ImportError: cannot import name 'Pretrained' from 'pyannote.audio.features' (/scratches/dialfs/child/splash/exp-nb639/conda_environments/miniconda_pyth3.11/envs/pyannote/lib/python3.8/site-packages/pyannote/audio/features/init.py)
Something went wrong when applying the model
Aborting."
Hi,
I am getting this error while trying to apply the model to a folder of audio files, I have tried changing to various versions of pyannote.audio to no success. I created the environment using:
"conda env create -f vtc.yml"
Thanks
As noted in #10 we had CUDA out of memory errors during training which were resolved by reducing batch size from 64 to 32. However, upon initiating validation, we ran into another CUDA out of memory error which we haven't been able to resolve yet.
(pyannote) leemoore@ip-172-31-9-0:~/voice_type_classifier$ pyannote-audio mlt validate --subset=development --from=10 --to=150 --every=10 model_ellis/train/ELLIS.SpeakerDiarization.Classroom.train/ ELLIS.SpeakerDiarization.Classroom
0iteration [00:00, ?iteration/s]Traceback (most recent call last):
File "/opt/miniconda3/envs/pyannote/bin/pyannote-audio", line 8, in <module>
sys.exit(main())
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/applications/pyannote_audio.py", line 432, in main
app.validate(protocol, **params)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/applications/labels_detection.py", line 310, in validate
**kwargs)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/applications/labels_detection.py", line 124, in validate_epoch
current_file['scores'] = pretrained(current_file)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/features/base.py", line 149, in __call__
features = self.get_features(y.data, sample_rate)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/features/pretrained.py", line 212, in get_features
progress_hook=self.progress_hook).data
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/train/model.py", line 341, in slide
tfX = self(tX, return_intermediate=return_intermediate)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
result = self.forward(*input, **kwargs)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/models/models.py", line 492, in forward
output = self.sincnet_(waveforms)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
result = self.forward(*input, **kwargs)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/models/sincnet.py", line 385, in forward
output = self.instance_norm1d_[i](output)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in __call__
result = self.forward(*input, **kwargs)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/torch/nn/modules/instancenorm.py", line 49, in forward
self.training or not self.track_running_stats, self.momentum, self.eps)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/torch/nn/functional.py", line 1945, in instance_norm
use_input_stats, momentum, eps, torch.backends.cudnn.enabled
RuntimeError: CUDA out of memory. Tried to allocate 332.00 MiB (GPU 0; 7.44 GiB total capacity; 6.86 GiB already allocated; 13.25 MiB free; 6.97 GiB reserved in total by PyTorch)
0iteration [00:06, ?iteration/s]
We have tried the following to resolve this issue
torch.cuda.empty_cache()
torch.cuda.memory_stats(device=None)
OrderedDict([('active.all.allocated', 0),
('active.all.current', 0),
('active.all.freed', 0),
('active.all.peak', 0),
('active.large_pool.allocated', 0),
('active.large_pool.current', 0),
('active.large_pool.freed', 0),
('active.large_pool.peak', 0),
('active.small_pool.allocated', 0),
('active.small_pool.current', 0),
('active.small_pool.freed', 0),
('active.small_pool.peak', 0),
('active_bytes.all.allocated', 0),
('active_bytes.all.current', 0),
('active_bytes.all.freed', 0),
('active_bytes.all.peak', 0),
('active_bytes.large_pool.allocated', 0),
('active_bytes.large_pool.current', 0),
('active_bytes.large_pool.freed', 0),
('active_bytes.large_pool.peak', 0),
('active_bytes.small_pool.allocated', 0),
('active_bytes.small_pool.current', 0),
('active_bytes.small_pool.freed', 0),
('active_bytes.small_pool.peak', 0),
('allocated_bytes.all.allocated', 0),
('allocated_bytes.all.current', 0),
('allocated_bytes.all.freed', 0),
('allocated_bytes.all.peak', 0),
('allocated_bytes.large_pool.allocated', 0),
('allocated_bytes.large_pool.current', 0),
('allocated_bytes.large_pool.freed', 0),
('allocated_bytes.large_pool.peak', 0),
('allocated_bytes.small_pool.allocated', 0),
('allocated_bytes.small_pool.current', 0),
('allocated_bytes.small_pool.freed', 0),
('allocated_bytes.small_pool.peak', 0),
('allocation.all.allocated', 0),
('allocation.all.current', 0),
('allocation.all.freed', 0),
('allocation.all.peak', 0),
('allocation.large_pool.allocated', 0),
('allocation.large_pool.current', 0),
('allocation.large_pool.freed', 0),
('allocation.large_pool.peak', 0),
('allocation.small_pool.allocated', 0),
('allocation.small_pool.current', 0),
('allocation.small_pool.freed', 0),
('allocation.small_pool.peak', 0),
('inactive_split.all.allocated', 0),
('inactive_split.all.current', 0),
('inactive_split.all.freed', 0),
('inactive_split.all.peak', 0),
('inactive_split.large_pool.allocated', 0),
('inactive_split.large_pool.current', 0),
('inactive_split.large_pool.freed', 0),
('inactive_split.large_pool.peak', 0),
('inactive_split.small_pool.allocated', 0),
('inactive_split.small_pool.current', 0),
('inactive_split.small_pool.freed', 0),
('inactive_split.small_pool.peak', 0),
('inactive_split_bytes.all.allocated', 0),
('inactive_split_bytes.all.current', 0),
('inactive_split_bytes.all.freed', 0),
('inactive_split_bytes.all.peak', 0),
('inactive_split_bytes.large_pool.allocated', 0),
('inactive_split_bytes.large_pool.current', 0),
('inactive_split_bytes.large_pool.freed', 0),
('inactive_split_bytes.large_pool.peak', 0),
('inactive_split_bytes.small_pool.allocated', 0),
('inactive_split_bytes.small_pool.current', 0),
('inactive_split_bytes.small_pool.freed', 0),
('inactive_split_bytes.small_pool.peak', 0),
('num_alloc_retries', 0),
('num_ooms', 0),
('reserved_bytes.all.allocated', 0),
('reserved_bytes.all.current', 0),
('reserved_bytes.all.freed', 0),
('reserved_bytes.all.peak', 0),
('reserved_bytes.large_pool.allocated', 0),
('reserved_bytes.large_pool.current', 0),
('reserved_bytes.large_pool.freed', 0),
('reserved_bytes.large_pool.peak', 0),
('reserved_bytes.small_pool.allocated', 0),
('reserved_bytes.small_pool.current', 0),
('reserved_bytes.small_pool.freed', 0),
('reserved_bytes.small_pool.peak', 0),
('segment.all.allocated', 0),
('segment.all.current', 0),
('segment.all.freed', 0),
('segment.all.peak', 0),
('segment.large_pool.allocated', 0),
('segment.large_pool.current', 0),
('segment.large_pool.freed', 0),
('segment.large_pool.peak', 0),
('segment.small_pool.allocated', 0),
('segment.small_pool.current', 0),
('segment.small_pool.freed', 0),
('segment.small_pool.peak', 0)])
Is it possible that vtc work flow makes use of cached information about the GPU's available memory which fails to update despite attempts to clear gpu memory via commands such as empty_cache()?
Hi,
I have finished training using pyannote-audio mlt train and am now running the validation on my development set with command:
_pyannote-audio mlt validate <path/to/train> MyProject.SpeakerDiarization.MyProtocol
Initially, I ran out of CUDA memory but specifying --batch=16 seemed to fix this. I am now receiving an error message which links me to orasanen/ALICE#21.
I tried creating a new env with the updated ALICE.yml from the solution of that page's error but this didn't solve my issue.
I am on an Ubuntu machine.
Any help would be greatly appreciated :)
I am interested in fine-tuning the VTC model (rather than retraining it) such that only the outer LSTM and FF layers are affected. Is there a way to specify this within the config.yml file? Thank you!
Hello! Just a note to say that running conda env create -f vtc.yml
on M1 macs returns the following error message: Failed to build numba llvmlite
. A simple workaround is to remove the "numba==0.48.0" dependency from "vtc.yml" and "pyannote-audio/requirements.txt" and then run conda install numba
after activating the pyannote env. Hope this helps future users!
When attempting to apply the vtc model on a wav file which is named using only numerals and underscores (i.e. 6001_000000.wav), the prediction fails with a KeyError and ValueError. Resolved when adding an alphabetical character to the beginning of the file name.
(pyannote) leemoore@ip-172-31-9-0:~/voice_type_classifier$ ./apply.sh 6001_000000.wav
Creating config for pyannote.
Done creating config for pyannote.
Traceback (most recent call last):
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/database/__init__.py", line 107, in get_database
database = DATABASES[database_name]
KeyError: '6001_000000'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/miniconda3/envs/pyannote/bin/pyannote-audio", line 8, in <module>
sys.exit(main())
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/applications/pyannote_audio.py", line 452,in main
Application.apply_pretrained(validate_dir, protocol, **params)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/audio/applications/labels_detection.py", line 450, in apply_pretrained
preprocessors=preprocessors)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/database/__init__.py", line 151, in get_protocol
**kwargs)
File "/opt/miniconda3/envs/pyannote/lib/python3.7/site-packages/pyannote/database/__init__.py", line 124, in get_database
raise ValueError(msg)
ValueError: Could not find any protocol for "6001_000000" database. Please refer to pyannote.database documentation to learn how to define them: https://github.com/pyannote/pyannote-database
Something went wrong when applying the model
Aborting.
This now works with a different file name:
(pyannote) leemoore@ip-172-31-9-0:~/voice_type_classifier$ mv 6001_000000.wav e6001_000000.wav
(pyannote) leemoore@ip-172-31-9-0:~/voice_type_classifier$ ./apply.sh e6001_000000.wav
Creating config for pyannote. Done creating config for pyannote.
Test set: 1it [00:32, 32.62s/it] Test set: 1it [00:00, 3.64it/s]
Test set: 1it [00:00, 3.68it/s] Test set: 1it [00:00, 3.68it/s]
Test set: 1it [00:00, 3.69it/s] Test set: 1it [00:00, 3.72it/s]
Took 39 sec on e6001_000000.
--
Using of the voice-type-classifier creates intermediate files that are not removed afterwards. This leads to uncontrolled accumulation of folder size, including relatively large .npy files for each input file. It would be beneficial to conduct clean-up routines after the .rttm files have been created.
After using the scripts for a while, voice_type_classifier stopped following the arguments for classes to extract (worked initially). I changed nothing inside the folder, but did a number of different calls of apply.sh.
(pyannote) ws-12129-imac:ALICE rasaneno$ sh voice_type_classifier/apply.sh /Users/rasaneno/rundata/testdata_daylong/ "MAL FEM"
Found wav files.
Creating config for pyannote.
Done creating config for pyannote.
Extracting KCHI
Feature extractors based on "yaafe" are not available because "yaafelib" could not be found.
/anaconda3/envs/pyannote/lib/python3.6/site-packages/pyannote/audio/applications/base.py:87: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
params_yml = yaml.load(fp)
Test set: 0it [00:00, ?it/s]
...
going through all five classes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.