Comments (5)
A work around for this is to install the dependencies via the given requirements.txt
instead of using the code given in the notebook.
from whisper-diarization.
@NasonZ I'm having same issues, can you paste what you edited in the notebook to get it working?
from whisper-diarization.
I uploaded the repo to colab as a zip file (cloning it would also work I guess), then ran.
!pip install cython
!sudo apt update && sudo apt install ffmpeg
!unzip /content/whisper-diarization-main.zip
!cd whisper-diarization-main/
%cd whisper-diarization-main/
!ls
!pip install -r requirements.txt
Managed to run the rest of the notebook without issue after this
from whisper-diarization.
Has not helped. The original notebook could not import (download) a model.
After I added the lines, as per above, to the notebook :
...
!pip install numba==0.58.0
!pwd
!pip install cython
!git clone https://github.com/MahmoudAshraf97/whisper-diarization
#!sudo apt update && sudo apt install ffmpeg
%cd whisper-diarization/
!ls
!pip install -r requirements.txt
i get
[<ipython-input-4-126e61cacd2c>](https://localhost:8080/#) in <cell line: 6>()
4 import json
5 import shutil
----> 6 from faster_whisper import WhisperModel
7 import whisperx
8 import torch
9 frames
[/usr/local/lib/python3.10/dist-packages/torch/__init__.py](https://localhost:8080/#) in <module>
227 if USE_GLOBAL_DEPS:
228 _load_global_deps()
--> 229 from torch._C import * # noqa: F403
230
231 # Appease the type checker; ordinarily this binding is inserted by the
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 0: invalid start byte
from whisper-diarization.
Notebook updated and confirmed working on colab
from whisper-diarization.
Related Issues (20)
- Issue with an audio/video file HOT 1
- Numpy Conflict - current requirements.txt HOT 2
- Is this repo usable for a production use case!! HOT 7
- Error in diarization
- Installing from requirements.txt leads to the installation of ?every version of the packages needed HOT 7
- Audio only part time transcribed and each time a different one? HOT 3
- faster-whisper branch/revision has changed HOT 3
- diarize.py unexpected keyword argument ‘max_new_tokens’ HOT 4
- Error: got an unexpected keyword argument 'max_new_tokens' HOT 2
- AssertionError: chunk size too large, text got clipped HOT 2
- Language param not working HOT 2
- install issue HOT 1
- WhisperX forced alignment HOT 1
- How to use Yaml File HOT 1
- Failed to install on Apple Silicon HOT 10
- word_timestamps - IndexError: list index out of range HOT 1
- Transcription for non-verbal/non-speech labels(laughter etc.)? HOT 3
- Any suggestions for improving speaker diarization!! HOT 3
- Install fails on Python 3.12 due to missing distutils HOT 5
- python version it best works in ?????? HOT 1
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 whisper-diarization.