MahmoudAshraf97 / whisper-diarization

Automatic Speech Recognition with Speaker Diarization based on OpenAI Whisper
BSD 2-Clause "Simplified" License
3.66k stars 323 forks source link

Issue running diarize_parallel only #262

Open corneliusgerico opened 1 week ago

corneliusgerico commented 1 week ago

Hi there,

I have just updated to the newest version.

I am able to run diarize.py fine but parallel gives me the following error. Any ideas? Thanks

Using Python 10.0.0 on Windows 11 with a 3060 12gb ram.

Traceback (most recent call last):
  File "C:\Users\admin\Documents\whisper-diarization-main\diarize_parallel.py", line 113, in <module>
    nemo_process = subprocess.Popen(
                   ^^^^^^^^^^^^^^^^^
  File "C:\Users\admin\miniconda3\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\admin\miniconda3\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
corneliusgerico commented 1 week ago

Anyone else having this issue?

MahmoudAshraf97 commented 6 days ago

make sure that nemo_process.py exists and you have permissions to execute it using python

corneliusgerico commented 6 days ago

Thanks. It does exist. How do I go about checking permissions?

MahmoudAshraf97 commented 5 days ago

using chmod for linux, I don't know about windows unfortunately