Errors Here
Opened this issue · 1 comments
AndrewBeniston commented
Hi there currently getting this error on Windows 11 - I have python in my path ENVIRONMENT variables and I also put in pyvenv to install a version for this. Any help would be amazing as I am excited to use this, thank you!
WARNING: There was an error checking the latest version of pip.
(venv) PS C:\Projects\whisper-diarization> python diarize.py -a session-05-short.m4a --language en
[NeMo W 2024-10-17 18:02:14 nemo_logging:349] C:\Projects\whisper-diarization\venv\lib\site-packages\pyannote\audio\core\io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
torchaudio.set_audio_backend("soundfile")
[NeMo W 2024-10-17 18:02:14 nemo_logging:349] C:\Projects\whisper-diarization\venv\lib\site-packages\pyannote\audio\pipelines\speaker_verification.py:43: UserWarning: torchaudio._backend.get_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
backend = torchaudio.get_audio_backend()
[NeMo W 2024-10-17 18:02:15 nemo_logging:349] C:\Program Files\Python310\lib\inspect.py:869: UserWarning: Module 'speechbrain.pretrained' was deprecated, redirecting to 'speechbrain.inference'. Please update your script. This is a change from SpeechBrain 1.0. See: https://github.com/speechbrain/speechbrain/releases/tag/v1.0.0
if ismodule(module) and hasattr(module, '__file__'):
[NeMo W 2024-10-17 18:02:15 nemo_logging:349] C:\Projects\whisper-diarization\venv\lib\site-packages\pyannote\audio\pipelines\speaker_verification.py:45: UserWarning: Module 'speechbrain.pretrained' was deprecated, redirecting to 'speechbrain.inference'. Please update your script. This is a change from SpeechBrain 1.0. See: https://github.com/speechbrain/speechbrain/releases/tag/v1.0.0
from speechbrain.pretrained import (
[NeMo W 2024-10-17 18:02:15 nemo_logging:349] C:\Projects\whisper-diarization\venv\lib\site-packages\pyannote\audio\pipelines\speaker_verification.py:53: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
torchaudio.set_audio_backend(backend)
[NeMo W 2024-10-17 18:02:15 nemo_logging:349] C:\Projects\whisper-diarization\venv\lib\site-packages\pyannote\audio\tasks\segmentation\mixins.py:37: UserWarning: `torchaudio.backend.common.AudioMetaData` has been moved to `torchaudio.AudioMetaData`. Please update the import path.
from torchaudio.backend.common import AudioMetaData
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
WARNING:root:Source splitting failed, using original audio file. Use --no-stem argument to disable it.
Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.4.0. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint C:\Users\andrewbeniston\.cache\torch\whisperx-vad-segmentation.bin`
Model was trained with pyannote.audio 0.0.1, yours is 3.1.1. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.10.0+cu102, yours is 2.5.0+cpu. Bad things might happen unless you revert torch to 1.x.
MahmoudAshraf97 commented
can you try running this simple script?
import os
os.system('python3 --version')