Comments (13)
Hi, how do you override the faster-whisper from
git+https://github.com/m-bain/whisperx.git@d6562c26da467ca49866a4173c0e723f3837f367
? or do you fork it?
after installing whisperx you can do this:
pip install --upgrade faster-whisper==1.0.0
from whisperx.
Hi, I just solved the problem
I'm wondering would WhisperX work with https://github.com/SYSTRAN/faster-whisper/releases/tag/v1.0.0 ?
Yes, I just tried and it worked perfect now.
Problem Solved:
Change faster-whisper~=0.10.0 in requirements.txt to the newest version 1.0.0 then install -> working
from whisperx.
Hi, how do you override the faster-whisper from
git+https://github.com/m-bain/whisperx.git@d6562c26da467ca49866a4173c0e723f3837f367
? or do you fork it?
Hi, you can modify, clone and install in editable mode using the instruction like in Readme.txt:
git clone https://github.com/m-bain/whisperX.git
clone the whisperX repository and make change to the requirement.txt then install whisperx locally
pip install -e <WhisperX path>
from whisperx.
from whisperx.
Seems new faster-whisper broke it
https://github.com/SYSTRAN/faster-whisper/releases
For me faster-whisper-0.10.0
worked fine, but today I got the same error as you and checked my deps and found a new version: faster-whisper-0.10.1
from whisperx.
I'm wondering would WhisperX work with https://github.com/SYSTRAN/faster-whisper/releases/tag/v1.0.0 ?
from whisperx.
Hi, how do you override the faster-whisper from git+https://github.com/m-bain/whisperx.git@d6562c26da467ca49866a4173c0e723f3837f367
? or do you fork it?
from whisperx.
TypeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 model = whisperx.load_model("large-v2", device, compute_type=compute_type)
/usr/local/lib/python3.10/dist-packages/whisperx/asr.py in load_model(whisper_arch, device, device_index, compute_type, asr_options, language, vad_model_fp, vad_options, model, task, download_root, threads)
330 del default_asr_options["suppress_numerals"]
331
--> 332 default_asr_options = faster_whisper.transcribe.TranscriptionOptions(**default_asr_options)
333
334 default_vad_options = {
TypeError: TranscriptionOptions.new() missing 3 required positional arguments: 'max_new_tokens', 'clip_timestamps', and 'hallucination_silence_threshold' i am still gettting this error after upgrading faster-whisper to 1.0.0
is there any solution?
from whisperx.
TypeError Traceback (most recent call last) in <cell line: 1>() ----> 1 model = whisperx.load_model("large-v2", device, compute_type=compute_type)
/usr/local/lib/python3.10/dist-packages/whisperx/asr.py in load_model(whisper_arch, device, device_index, compute_type, asr_options, language, vad_model_fp, vad_options, model, task, download_root, threads) 330 del default_asr_options["suppress_numerals"] 331 --> 332 default_asr_options = faster_whisper.transcribe.TranscriptionOptions(**default_asr_options) 333 334 default_vad_options = {
TypeError: TranscriptionOptions.new() missing 3 required positional arguments: 'max_new_tokens', 'clip_timestamps', and 'hallucination_silence_threshold' i am still gettting this error after upgrading faster-whisper to 1.0.0 is there any solution?
I just tried to install it on colab and it ran so I don't know why you still had that problem
from whisperx.
TypeError Traceback (most recent call last) in <cell line: 1>() ----> 1 model = whisperx.load_model("large-v2", device, compute_type=compute_type)
/usr/local/lib/python3.10/dist-packages/whisperx/asr.py in load_model(whisper_arch, device, device_index, compute_type, asr_options, language, vad_model_fp, vad_options, model, task, download_root, threads) 330 del default_asr_options["suppress_numerals"] 331 --> 332 default_asr_options = faster_whisper.transcribe.TranscriptionOptions(**default_asr_options) 333 334 default_vad_options = {
TypeError: TranscriptionOptions.new() missing 3 required positional arguments: 'max_new_tokens', 'clip_timestamps', and 'hallucination_silence_threshold' i am still gettting this error after upgrading faster-whisper to 1.0.0 is there any solution?
Hi @sushk0841 ,
This way is working for my now:
pip install whisperx==3.1.1
pip install --upgrade faster-whisper==0.10.1
I still haven't tried what @longdaothanh said
from whisperx.
Update 2:
Don't take into account the latest update. It has been fixed in the latest version.
Update:
In addition to the above you will also have tu downgrade speechbrain:
pip install -U speechbrain==0.5.16
Because of this #723
from whisperx.
For me, the latest working version of WhisperX, with the capability of using Cuda 11.8 is:
pip install git+https://github.com/m-bain/whisperx.git@8227807fa9e076901ea4b4fbbf79c9777a6f5e03 --no-deps
And install whisperX requirements with replacement to
faster-whisper @ git+https://github.com/SYSTRAN/[email protected]
The change is connected with ?replacement tag from 0.10.0 to v0.10.0 .
from whisperx.
@longdaothanh are you satisfied this issue has now been solved? if so, could you close it please. Thank you.
from whisperx.
Related Issues (20)
- Getting no audio found error HOT 1
- whisperx.load_model & default_asr_options Error in Colab HOT 4
- Doesn't accept num_speakers as argument HOT 3
- whisperx.align has empty word intervals for numbers HOT 1
- Error While Using Machine With Only CPU (EC2 Instance) HOT 3
- No speaker labels in txt format with diarization enabled HOT 4
- Support for vulkan (intel arc gpu)
- IGNORE
- Diarization precision - is there way to improve it? HOT 4
- torchaudio._backend.set_audio_backend has been deprecated. HOT 3
- Probability or score coming from faster-whisper and not alignment model
- Timing of subtitles is way off if I limit max_line_count and max_line_width==bad things? HOT 3
- TypeError: TranscriptionOptions.__new__() got an unexpected keyword argument 'hotwords' HOT 2
- Load Model To CPU and Then GPU HOT 1
- My timestamps with whisperX are way off HOT 13
- Issue with Periods in Dates or numbers Causing Incorrect Segment Splitting in German Transcriptions
- Unable to Transcribe More Than 90 Minutes (1h30m) HOT 2
- Empty transcript is generated
- Benchmarks for whisperx, faster-whisper, and whispers2t! HOT 4
- Readability trashed after putting length limits.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whisperx.