GithubHelp home page GithubHelp logo

Comments (7)

MahmoudAshraf97 avatar MahmoudAshraf97 commented on August 11, 2024

Are you sure you have a working installation of ctc-forced-aligner?

from whisper-diarization.

azmatt avatar azmatt commented on August 11, 2024

I do not, and when I try to install it, it gives no errors, but doesn't produce an executable. I'm on Ubuntu 22.04.

from whisper-diarization.

MahmoudAshraf97 avatar MahmoudAshraf97 commented on August 11, 2024

Can you share the logs?

from whisper-diarization.

azmatt avatar azmatt commented on August 11, 2024

It looks like it may have installed under the name UNKNOWN

Processing /home/matt/Desktop/comeon/ctc-forced-aligner
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: UNKNOWN
Building wheel for UNKNOWN (pyproject.toml) ... done
Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-cp310-cp310-linux_x86_64.whl size=70794 sha256=bfc70c592ad730a97d161816e13dda280c8c57506849db6d37007a80c52dd9b9
Stored in directory: /root/.cache/pip/wheels/de/3d/3c/c503fe8bf126e4bc6e414f15a9af65d89de6fb13c2d19ced16
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Attempting uninstall: UNKNOWN
Found existing installation: UNKNOWN 0.0.0
Uninstalling UNKNOWN-0.0.0:
Successfully uninstalled UNKNOWN-0.0.0
Successfully installed UNKNOWN-0.0.0

from whisper-diarization.

azmatt avatar azmatt commented on August 11, 2024

I re-did a fresh Ubuntu 22.04 to make sure it wasn't some other issue, and the same thing.

matt@matt-virtual-machine:/Desktop/whisper-diarization$ python3 diarize.py -a audio_short.mp4
Traceback (most recent call last):
File "/home/matt/Desktop/whisper-diarization/diarize.py", line 8, in
from ctc_forced_aligner import (
ImportError: cannot import name 'generate_emissions' from 'ctc_forced_aligner' (unknown location)
matt@matt-virtual-machine:
/Desktop/whisper-diarization$ cd ..
matt@matt-virtual-machine:/Desktop$ pip install git+https://github.com/MahmoudAshraf97/ctc-forced-aligner.git
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/MahmoudAshraf97/ctc-forced-aligner.git
Cloning https://github.com/MahmoudAshraf97/ctc-forced-aligner.git to /tmp/pip-req-build-on094l9n
Running command git clone --filter=blob:none --quiet https://github.com/MahmoudAshraf97/ctc-forced-aligner.git /tmp/pip-req-build-on094l9n
Resolved https://github.com/MahmoudAshraf97/ctc-forced-aligner.git to commit abd458dd879305566cd4ed0c8624c95f22e3126a
Running command git submodule update --init --recursive -q
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
matt@matt-virtual-machine:
/Desktop$ python3 diarize.py -a audio_short.mp4
python3: can't open file '/home/matt/Desktop/diarize.py': [Errno 2] No such file or directory
matt@matt-virtual-machine:/Desktop$ cd whisper-diarization/
matt@matt-virtual-machine:
/Desktop/whisper-diarization$ python3 diarize.py -a audio_short.mp4
Traceback (most recent call last):
File "/home/matt/Desktop/whisper-diarization/diarize.py", line 8, in
from ctc_forced_aligner import (
ImportError: cannot import name 'generate_emissions' from 'ctc_forced_aligner' (unknown location)
matt@matt-virtual-machine:~/Desktop/whisper-diarization$

from whisper-diarization.

MahmoudAshraf97 avatar MahmoudAshraf97 commented on August 11, 2024

I just tried

pip install git+https://github.com/MahmoudAshraf97/ctc-forced-aligner.git

on colab and it worked fine

from whisper-diarization.

azmatt avatar azmatt commented on August 11, 2024

I finally had to go into the directory and run sudo python3 setup.py install and that time it seemed to work.

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.