-
Notifications
You must be signed in to change notification settings - Fork 72
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
No file output if output folder/type not selected #20
Comments
Try |
@ZhengLiu97 If you can please open a seperate issue specifying which operating system version, whisper-ctranslate2 version, etc. |
@rsmith02ct I cannot reproduce the problem. I spin off a Windows Box with the same versions and I just cannot reproduce. If you can please run:
I'm trying to understand if what makes this work for you is a) specifying only --output_dir, b) specifying only --output_format or c) specifying both --output_dir and --output_format |
Sure, happy to report what's going on specifically. Here are three command lines. whisper-ctranslate2.exe file.wav "C:\Users\rsmit\Dropbox\Videos\080109-002.wav" whisper-ctranslate2.exe "C:\Users\rsmit\Dropbox\Videos\080109-002.wav" --output_dir "C:\Users\rsmit\Dropbox\Videos" whisper-ctranslate2.exe "C:\Users\rsmit\Dropbox\Videos\080109-002.wav" --output_dir "C:\Users\rsmit\Dropbox\Videos" --output_format "srt" All three of them don't work. No text appears in the command prompt window and no files are output: Second try Shows text in the command line window but no files are output into the folder with the source video (I assume that's where it would go?) whisper-ctranslate2.exe --device CPU "C:\Users\rsmit\Dropbox\Videos\080109-002.wav" --output_dir "C:\Users\rsmit\Dropbox\Videos" Outputs a .json, srt, tsv, txt and vtt in C:\Users\rsmit\Dropbox\Videos whisper-ctranslate2.exe --device CPU "C:\Users\rsmit\Dropbox\Videos\080109-002.wav" --output_dir "C:\Users\rsmit\Dropbox\Videos" --output_format "srt" Outputs a srt in C:\Users\rsmit\Dropbox\Videos |
You should look in a folder where is your executable located. |
Really, it defaults there? I didn't have that folder open. Okay, so: whisper-ctranslate2.exe --device CPU "C:\Users\rsmit\Dropbox\Videos\080109-002.wav" Output json, srt, tsv, txt, vtt in C:\Users\rsmit\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts So this issue's resolved, my remaining problem is just CUDA. Thank you. |
Thanks. This has been a good discussion. Now when in verbose mode the tool displays the output directory to make sure that everybody is clear were the files are: |
Don't you remember? A ~month ago you asked me same thing about whisper-OpenAI. :) |
Using whisper-ctranslate2 0.1.8 (Windows 11 Pro 64 bit build 22621) I am not getting any transcription output if I don't select a type/location for it.
Text is generated but nothing is output at C:\Users\rsmit\Dropbox\Videos
Using this command line: whisper-ctranslate2.exe --language en --model "base" --device CPU --output_dir "C:\Users\rsmit\Dropbox\Videos" --output_format "srt" "C:\Users\rsmit\Dropbox\Videos\080109-002.wav"
I get a SRT file in that folder with the contents:
1
00:00:00,000 --> 00:00:07,280
Hi, this is Roger Smith with the U.S. Base Conservation Group, my dearth.
The text was updated successfully, but these errors were encountered: