Hello,
I'm on Prodigy 1.11.14 and I've been struggling to get pyannote to work. My primary source of reference is Audio and Video · Prodigy · An annotation tool for AI, Machine Learning & NLP.
I installed pyannote (2.1.1) the recommended way:
pip install -qq https://github.com/pyannote/pyannote-audio/archive/refs/heads/develop.zip
Question 1: Is pyannote.sad.manual
still supported?
The example on the Audio & Video page:
prodigy pyannote.sad.manual speech_activity ./data/wav -chunk 5
yields ✘ Can't find recipe or command 'pyannote.sad.manual'.
Following the link on that page, I was brought to this in the pyannote repo. It actually doesn't look like that manual is there in the most recent version (2.1.1). A quick inspection of version 1.1.1 of pyannote (via github) seems to suggest it does exist in the earlier version.
Question 2: Is it possible to have pyannote in the loop at all?
Even using this from their tutorial:
prodigy pyannote.audio dataset /path/to/audio/directory pyannote/speaker-segmentation
I'm seeing Could not download 'pyannote/speaker-segmentation' pipeline
. I've logged in with huggingface-cli login
and loading the pipeline directly in Python works, so I'm not sure why I'm seeing that message.
I tried putting the hard-coded token in the file just to test it out, which fixed that error, but now I'm seeing:
FileNotFoundError: [Errno 2] No such file or directory: '.../site-packages/pyannote/audio/interactive/common/controller.js'
Any pointers would be greatly appreciated! Thanks.