New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: inconsistent "classes" (is ['non_change', 'change'], should be: ['non_speech', 'speech']) #430
Comments
It looks like your To confirm this, can you please share the content of |
Thanks for getting back to me Herve. I'm almost certain I trained with SCD - the content also looks like scd...
|
What about an existing Did you first apply |
Thank you again for the effort! There is no metadata.yml file directly in EXP_DIR
When I trained the SCD I followed the scd finetune tutorial -
|
I may have accidentally trained SAD there for a couple of epochs and then stopped it and trained a SCD. Is there a way to check - I don't remember. |
And is there a way to fix that if that's the case? |
If you could share the content of every |
First option is enough: use a brand new SCD folder. |
nope - same warning remains. I opened a new folder. trained an SCD there from scratch. |
Maybe I'm calling the model incorrectly? |
See |
I think I did that right... Do I need to "apply" in the validate dir (as is the last step of this tutorial)? I skipped that step since the first step of the diarization pipeline is applying. |
Yes, apply it first in the Then, update the diarization pipeline configuration file to link to the |
ok - I think that could work. I'll try it out and if it works I'll update my journey into the documentation. |
Just to let you know - I'm still running this process when I get a few minutes here and there. One thing I'd like to edit already is every place where the export has "$ export varName = /path/to/some/where". It's stupid and minor but at least on my machine export doesn't work with spaces around the "=" sign. |
Looks like the apply locally trick worked! The diarization pipeline is training ... |
Hi Herve, It's been a few months since I last did any PRs with github. Do you need to give me permission? am I doing something obvious wrong? |
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'm trying to go through the diarization pipeline tutorial on my own data.
I am trying to run "apply" on my own data and model for speaker change detection.
I get an error that looks like it's trying to apply speech activity detection
ValueError: inconsistent "classes" (is ['non_change', 'change'], should be: ['non_speech', 'speech'])
To Reproduce
Steps to reproduce the behavior:
pyannote environment
$ pip freeze | grep pyannote pyannote.core==4.1 pyannote.database==4.0.1 pyannote.metrics==3.0.1 pyannote.pipeline==1.5.2
Additional context
I only prepared a development set called "train" right now - so I'm running on that.
I successfully ran the SAD apply step before moving to SCD.
The text was updated successfully, but these errors were encountered: