-
-
Notifications
You must be signed in to change notification settings - Fork 766
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
WinError 1314 (admin rights) #1473
Comments
Thank you for your issue.You might want to check the FAQ if you haven't done so already. Feel free to close this issue if you found an answer in the FAQ. If your issue is a feature request, please read this first and update your request accordingly, if needed. If your issue is a bug report, please provide a minimum reproducible example as a link to a self-contained Google Colab notebook containing everthing needed to reproduce the bug:
Providing an MRE will increase your chance of getting an answer from the community (either maintainers or other power users). Companies relying on
|
If you look closely at the trace, it seems to be an issue with speechbrain library. |
Ah thanks, I see they have several open issues about it e.g. speechbrain/speechbrain#1155 I guess this means there's nothing you can do for now, but is it helpful to leave this issue open for if/when they produce a fix? (Because I imagine some follow-up work would be required to integrate their update...) |
Look at this PR: #1359 and especially my comment: #1359 (comment) This is how I managed to get the pyannote.audio speaker diarization pipeline running on windows without admin rights. I have not tested this with version 3 though... |
Thanks for this @kaixxx, But I'm afraid I can't find a Could you possibly elaborate on how this solution might work with the current version of pyannote? (pyannote-audio 2.1.1 in my case) |
Sorry for the confusion. In the original tutorial on offline use (https://github.com/pyannote/pyannote-audio/blob/develop/tutorials/applying_a_pipeline.ipynb), the file is simply called "config.yaml". I must have renamed it in my app to make it more clear that this belongs to pyannote. You can name it anyway you want. But the main point of my suggestion was something different: I guess that pyannote needs an elevated prompt because speechbrain wants to create a symlink to the file "custom.py". In the other thread, I described how I got around that. I hope that helps. |
Thanks @kaixxx, this set me on the right track! Once I'd created "custom.py" in the speechbrain cache, in my case located at There were 5 files, each created sequentially so I had to run the code 5 times to get the next error prompt. In one case I also had to rename the file. But with these all in place, the code ran fine without throwing any errors about admin permissions. 💪 |
I'm having a similar issue, can I check what you had in your config.yaml @tomwagstaff-opml? Appreciate anything you can share, I have tried many different configurations.. |
My config is here (for pyannote 2, so a bit outdated): https://github.com/kaixxx/noScribe/blob/main/models/pyannote_config.yaml |
Thank you. I've gone as far as to download the models folder whole from your repo, then used it like so:
It returns this error:
Which is quite similar to the one I was finding before.. |
If I change the config to the below:
I get the 'modules architecture' error instead:
|
You might need to give it a full path. Look here how I use it: https://github.com/kaixxx/noScribe/blob/main/diarize.py |
I think I found a way, thank you kaixxx for the help! It involved removing the reference to speechbrain entirely and replacing it with wespeakerc as the embedding model. For anyone who might be having trouble, try replacing 'speechbrain' with 'wespeakerc' the config yaml should look like this:
You can download the model bin for wespeaker here: https://huggingface.co/pyannote/wespeaker-voxceleb-resnet34-LM/tree/main Also:
|
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. |
Hi there,
I'd like to effectively re-open this issue which was closed automatically a few months ago:
The issue is you need to be in a command prompt with elevated permissions.
Is it possible to remove this requirement so that users without admin rights can run pyannote?
Reference: https://discuss.huggingface.co/t/pyannote-speaker-diarization-winerror-1314-a-required-privilege-is-not-held-by-the-client/32624
Originally posted by @theyaoster in #1232 (comment)
The text was updated successfully, but these errors were encountered: