Describe the bug
I can't run the step of extracting embedding normally.
this is the log:
/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/audio/embedding/approaches/arcface_loss.py:170: FutureWarning: The 's' parameter is deprecated in favor of 'scale', and will be removed in a future release
warnings.warn(msg, FutureWarning)
Loading labels: 0file [00:01, ?file/s]
Traceback (most recent call last):
File "/root/anaconda3/envs/pyannote_2/bin/pyannote-audio", line 8, in <module>
sys.exit(main())
File "/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/audio/applications/pyannote_audio.py", line 366, in main
app.train(protocol, **params)
File "/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/audio/applications/base.py", line 205, in train
batch_generator = self.task_.get_batch_generator(
File "/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/audio/embedding/approaches/base.py", line 111, in get_batch_generator
return SpeechSegmentGenerator(
File "/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/audio/embedding/generators.py", line 99, in __init__
total_duration = self._load_metadata(protocol, subset=subset)
File "/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/audio/embedding/generators.py", line 148, in _load_metadata
support = Segment(start=0, end=current_file["duration"])
File "/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/database/protocol/protocol.py", line 122, in __getitem__
value = self.lazy[key](self)
File "/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/audio/features/utils.py", line 56, in get_audio_duration
with SoundFile(current_file["audio"], "r") as f:
File "/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/database/protocol/protocol.py", line 122, in __getitem__
value = self.lazy[key](self)
File "/root/anaconda3/envs/pyannote_2/lib/python3.8/site-packages/pyannote/database/util.py", line 120, in __call__
path_templates = self.config_[database]
KeyError: 'VoxCeleb'
I can't find the yml of ~/.pyannote/database.yml,
so I run:
vim ~/.pyannote/database.yml
and added these configurations:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug I can't run the step of extracting embedding normally. this is the log:
I can't find the yml of ~/.pyannote/database.yml, so I run: vim ~/.pyannote/database.yml and added these configurations:
So I I guess there is a problem with voxceleb data config, but I don’t know how to modify it. Can you help me? Thanks!
To Reproduce Steps to reproduce the behavior:
Content of
config.yml
pyannote environment
Additional context Add any other context about the problem here.