Coder Social home page Coder Social logo

Error on CPU about w2v2-vad HOT 2 OPEN

bagustris avatar bagustris commented on June 8, 2024
Error on CPU

from w2v2-vad.

Comments (2)

bagustris avatar bagustris commented on June 8, 2024

Solved by uninstall torchaudio and re-install using the CPU version.

$ pip uninstall torchaudio
$ pip install torch==1.13.0+cpu torchvision==0.14.0+cpu torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cpu

Then running again the inference above:

$./plot_va_chunks.py bagus-test_16000.wav -d 4
valence, arousal #0: [0.05988836], [-0.42164636]
valence, arousal #0: [0.05988836], [-0.42164636]
valence, arousal #1: [0.01307821], [-0.3457173]
valence, arousal #2: [-0.07059836], [-0.46733314]
valence, arousal #3: [-0.2612871], [-0.27828753]

from w2v2-vad.

bagustris avatar bagustris commented on June 8, 2024

Torchaudio is replaced by audiofile and audresample for simplicity (no need to install torch).

from w2v2-vad.

Related Issues (1)

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.