Comments (4)
I think you have not updated to recent commit
from whisperx.
Yes, it seems something is wrong to do the upgrade, though I still don't know if it has to do with my installation or with whisperx y/o pip:
!pip install git+https://github.com/m-bain/whisperx.git --upgrade --verbose
Using pip 21.1.3 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
Value for scheme.platlib does not match. Please report this to pypa/pip#9617
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.purelib does not match. Please report this to pypa/pip#9617
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.headers does not match. Please report this to pypa/pip#9617
distutils: /usr/local/include/python3.7/UNKNOWN
sysconfig: /usr/include/python3.7m/UNKNOWN
Value for scheme.scripts does not match. Please report this to pypa/pip#9617
distutils: /usr/local/bin
sysconfig: /usr/bin
Value for scheme.data does not match. Please report this to pypa/pip#9617
distutils: /usr/local
sysconfig: /usr
Additional context:
user = False
home = None
root = None
prefix = None
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-mpwa59r2
Created temporary directory: /tmp/pip-req-tracker-8vi0634l
Initialized build tracking at /tmp/pip-req-tracker-8vi0634l
Created build tracker: /tmp/pip-req-tracker-8vi0634l
Entered build tracker: /tmp/pip-req-tracker-8vi0634l
Created temporary directory: /tmp/pip-install-n0bpfmvu
Collecting git+https://github.com/m-bain/whisperx.git
Created temporary directory: /tmp/pip-req-build-1ubzv1wf
Cloning https://github.com/m-bain/whisperx.git to /tmp/pip-req-build-1ubzv1wf
Running command git clone -q https://github.com/m-bain/whisperx.git /tmp/pip-req-build-1ubzv1wf
Added git+https://github.com/m-bain/whisperx.git to build tracker '/tmp/pip-req-tracker-8vi0634l'
Running setup.py (path:/tmp/pip-req-build-1ubzv1wf/setup.py) egg_info for package from git+https://github.com/m-bain/whisperx.git
Created temporary directory: /tmp/pip-pip-egg-info-lfpf4rgb
Running command python setup.py egg_info
running egg_info
creating /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info
writing /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/dependency_links.txt
writing entry points to /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/entry_points.txt
writing requirements to /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/SOURCES.txt'
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'readme'
warnings.warn(msg)
file whisperx.py (for module whisperx) not found
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-pip-egg-info-lfpf4rgb/whisperx.egg-info/SOURCES.txt'
Source in /tmp/pip-req-build-1ubzv1wf has version 1.0, which satisfies requirement whisperx==1.0 from git+https://github.com/m-bain/whisperx.git
Removed whisperx==1.0 from git+https://github.com/m-bain/whisperx.git from build tracker '/tmp/pip-req-tracker-8vi0634l'
from whisperx.
I have uninstalled whisperx and installed it again. Now I don't get the error of "unrecognized arguments" but a new one instead, regardless of trying to use the new arguments or not:
Traceback (most recent call last):
File "/usr/local/bin/whisperx", line 5, in
from whisperx.transcribe import cli
File "/usr/local/lib/python3.7/dist-packages/whisperx/init.py", line 13, in
from .model import Whisper, ModelDimensions
File "/usr/local/lib/python3.7/dist-packages/whisperx/model.py", line 11, in
from .transcribe import transcribe as transcribe_function
File "/usr/local/lib/python3.7/dist-packages/whisperx/transcribe.py", line 10, in
from .alignment import load_align_model, align, get_trellis, backtrack, merge_repeats, merge_words
File "/usr/local/lib/python3.7/dist-packages/whisperx/alignment.py", line 248
seg_lens_cumsum = [v := v + n for n in seg_lens]
^
SyntaxError: invalid syntax
from whisperx.
The previous issues had to do with the version of python (3.7), I have upgraded to version 3.8.16 and now everything works fine
from whisperx.
Related Issues (20)
- Some transcriptions missing properties HOT 1
- RuntimeError: parallel_for failed: cudaErrorNoKernelImageForDevice: no kernel image is available for execution on the device HOT 5
- 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 6
- 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 14
- 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
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.