-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Speaker Detection Keeps Failing #187
Comments
Update: it works fine in CMD with administrator privileges |
Update: HOWEVER, group questions is throwing this error regardless of whether the CMD has administrator privileges or not. ERROR: Unable to execute task <bound method ToolkitOps.group_questions of <storytoolkitai.core.toolkit_ops.toolkit_ops.ToolkitOps object at 0x00000189570B2920>> for queue item TranslationofLiJingQiA.wav(GroupQuestions)-1721907363.7646039 The above exception was the direct cause of the following exception: Traceback (most recent call last): |
When I try to run speaker detection in v 0.24, I get this error
ERROR: Unable to execute task <bound method ToolkitOps.speaker_detection of <storytoolkitai.core.toolkit_ops.toolkit_ops.ToolkitOps object at 0x000001F43005AD70>> for queue item TranslationofLiJingQiA.wav(SpeakerDetection)-1721905998.6038613
Traceback (most recent call last):
File "E:\StoryToolkitAI\StoryToolkitAI\storytoolkitai..\storytoolkitai\core\toolkit_ops\processing_queue.py", line 739, in execute_item_tasks
kwargs = task(**{**kwargs, **item})
File "E:\StoryToolkitAI\StoryToolkitAI\storytoolkitai..\storytoolkitai\core\toolkit_ops\toolkit_ops.py", line 1502, in speaker_detection
for resulting_segments, speaker_embeddings in detect_speaker_changes(
File "E:\StoryToolkitAI\StoryToolkitAI\storytoolkitai..\storytoolkitai\core\toolkit_ops\speaker_diarization.py", line 101, in detect_speaker_changes
model = PretrainedSpeakerEmbedding("speechbrain/spkrec-ecapa-voxceleb", device=torch.device(torch_device))
File "E:\StoryToolkitAI\venv\lib\site-packages\pyannote\audio\pipelines\speaker_verification.py", line 754, in PretrainedSpeakerEmbedding
return SpeechBrainPretrainedSpeakerEmbedding(
File "E:\StoryToolkitAI\venv\lib\site-packages\pyannote\audio\pipelines\speaker_verification.py", line 260, in init
self.classifier_ = SpeechBrain_EncoderClassifier.from_hparams(
File "E:\StoryToolkitAI\venv\lib\site-packages\speechbrain\pretrained\interfaces.py", line 467, in from_hparams
hparams_local_path = fetch(
File "E:\StoryToolkitAI\venv\lib\site-packages\speechbrain\pretrained\fetching.py", line 181, in fetch
destination.symlink_to(sourcepath)
File "C:\Users\Alex\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1255, in symlink_to
self._accessor.symlink(target, self, target_is_directory)
OSError: [WinError 1314] A required privilege is not held by the client: 'C:\Users\Alex\.cache\huggingface\hub\models--speechbrain--spkrec-ecapa-voxceleb\snapshots\eac27266f68caa806381260bd44ace38b136c76a\hyperparams.yaml' -> 'C:\Users\Alex\.cache\torch\pyannote\speechbrain\hyperparams.yaml'
The text was updated successfully, but these errors were encountered: