I tried to install whisper to transcribe an audio, I followed the instruction, I managed to install the package whisper, and ffmpeg (using homebrew). But when I use the following command : transcription = model.transcribe(audio_path, fp16=False), I get the following error : FileNotFoundErr...
对我来说(Python 3.9.13,Mac OS),通过添加以下行解决了这个问题:
对我来说(Python 3.9.13,Mac OS),通过添加以下行解决了这个问题:
I've tried all of the above solutions, I either get"FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg' or AttributeError: module 'ffmpeg' has no attribute 'input' I've tried uninstall and re-installing in various different orders ...
Again, the issue appears to be non-specific to any particular import as previously thought (such as whisperx), as it hangs at a different random place (e.g. from pathlib import Path) when delaying that import. So if there is some argument I can add to the PyInstaller build process that...
Directly load the model from a local directory: model = faster_whisper.WhisperModel("whisper-large-v3-ct2")Upload your model to the Hugging Face Hub and load it from its name: model = faster_whisper.WhisperModel("username/whisper-large-v3-ct2")...
I can confirm that I have the same problem. No output file is created. My command line is (in powershell): whisper-ctranslate2 $_ --model medium --language 'Japanese' --vad_filter True --device cuda --compute_type int8 --output_format srt --output_dir $directory --task translate ...
Directly load the model from a local directory: model = faster_whisper.WhisperModel("whisper-large-v3-ct2")Upload your model to the Hugging Face Hub and load it from its name: model = faster_whisper.WhisperModel("username/whisper-large-v3-ct2")...