-
Notifications
You must be signed in to change notification settings - Fork 87
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
only works in cpu mode , but gpu outputs nothing #26
Comments
Does it make any difference if you use base, tiny, small or large-v2 models? |
large-v2 is still downloading , but the other 3 , shows nothing (venv) D:\py\whisper-ctranslate2>whisper-ctranslate2 1.mp3 --model medium (venv) D:\py\whisper-ctranslate2>whisper-ctranslate2 1.mp3 --model base (venv) D:\py\whisper-ctranslate2>whisper-ctranslate2 1.mp3 --model small |
Can you try an older version like:
to see if it works? Thanks |
I installed 0.1.0 just now , it said : it works I update whisper-ctranslate2 to -0.1.9 , it works too But there is a problem about live_transcribe , 0.1.0 does not have this command in 0.1.9 , whisper-ctranslate2 --live_transcribe True --language en or leave '--language' empty or fill with other language , It works at most 6 dialogs and then quit without any message is it possiable out of memery ? how to get details or some logs |
when you say output, do you mean specifically not saving the files out? Does it display to the termianl, though? There is this issue about display but no saved files: |
display to the termianl but not save , everytime i use this. I have no choice but to use the original version, which is slow but no problem. 1.0 could save,but when i use --word_timestamps=ture ,the --highlight_words=true will auto turn on,and cant be closed. |
@Zacharie-Jacob this is my cmd line this is it's output
and then quit without showing anything |
The problem is in the from faster_whisper import WhisperModel
model_size = "large-v2"
model = WhisperModel(model_size, device="cuda", compute_type="float16")
segments, info = model.transcribe("audio.wav", beam_size=5)
print("Detected language '%s' with probability %f" % (info.language, info.language_probability))
for segment in segments:
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
The error has been solved by installing zlib: Maybe it would be good to show the error in |
thank you for your reply , I ve fix the zlib issue (see above ,line 5 ) . the matter is , live_transcribe , print out 'Transcribing..' and the quit without any outputs
and @jordimas |
This has been fixed with version 0.26 |
os: win11 , cuda 11.6 cudnn 8.9 rtx3060 4G
every example in readme i've tried , if no --device , no outputs , if --device cpu it works but slow.
and I've tried the newest version
whisper-ctranslate2-0.1.9
whisper-ctranslate2-0.2.0
The text was updated successfully, but these errors were encountered: