Giter VIP home page Giter VIP logo

Comments (9)

zhengliuer avatar zhengliuer commented on May 20, 2024

I used

whisper-ctranslate2.exe --language en --model "base" --device CPU --output_dir "D:\" --output_format "srt" ".\Day01.wav"

And I got nothing. The terminal warned me, but no error showed up!
image

from whisper-ctranslate2.

Purfview avatar Purfview commented on May 20, 2024

Try whisper-ctranslate2 0.1.9 from that post: #15 (comment)

from whisper-ctranslate2.

jordimas avatar jordimas commented on May 20, 2024

@ZhengLiu97 If you can please open a seperate issue specifying which operating system version, whisper-ctranslate2 version, etc.

from whisper-ctranslate2.

jordimas avatar jordimas commented on May 20, 2024

@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:

  • whisper-ctranslate2.exe file.wav
  • whisper-ctranslate2.exe file.wav --output_dir directory
  • whisper-ctranslate2.exe file.wav --output_dir --output_format "srt"

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

from whisper-ctranslate2.

rsmith02ct avatar rsmith02ct commented on May 20, 2024

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
whisper-ctranslate2.exe --device CPU "C:\Users\rsmit\Dropbox\Videos\080109-002.wav"

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

from whisper-ctranslate2.

Purfview avatar Purfview commented on May 20, 2024

whisper-ctranslate2.exe --device CPU "C:\Users\rsmit\Dropbox\Videos\080109-002.wav"

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?)

You should look in a folder where is your executable located.

from whisper-ctranslate2.

rsmith02ct avatar rsmith02ct commented on May 20, 2024

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.

from whisper-ctranslate2.

jordimas avatar jordimas commented on May 20, 2024

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:

bcea4cd

from whisper-ctranslate2.

Purfview avatar Purfview commented on May 20, 2024

Really, it defaults there?

Don't you remember? A ~month ago you asked me same thing about whisper-OpenAI. :)

from whisper-ctranslate2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.