Giter Site home page Giter Site logo

Comments (5)

NasonZ avatar NasonZ commented on May 26, 2024

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.

luxunator avatar luxunator commented on May 26, 2024

@NasonZ I'm having same issues, can you paste what you edited in the notebook to get it working?

from whisper-diarization.

NasonZ avatar NasonZ commented on May 26, 2024

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.

Manamama avatar Manamama commented on May 26, 2024

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.

MahmoudAshraf97 avatar MahmoudAshraf97 commented on May 26, 2024

Notebook updated and confirmed working on colab

from whisper-diarization.

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.