Giter Club home page Giter Club logo

Comments (3)

yl4579 avatar yl4579 commented on August 12, 2024

Which line did you add? Does this error only happen when you have your extra line?

from auxiliaryasr.

GUUser91 avatar GUUser91 commented on August 12, 2024

@yl4579
I just convert a wav file from this youtube video down to a 1 second 24000khz wav file.
https://www.youtube.com/watch?v=GQt4SY_6-w4.
Here is the converted wav file
https://files.catbox.moe/2jfn9u.wav
I also get the same error message if I add any more lines and wav files from this page. Note I also convert them to 24000 khz after downloading these wav files.
https://huggingface.co/Bluebomber182/Judy-Hopps/tree/main/audio

from auxiliaryasr.

korakoe avatar korakoe commented on August 12, 2024

As I've found out... All files need to be mono! You can do this by adding:

# Convert to mono if needed
if np.ndim(wave) > 1:
    wave = np.mean(wave, axis=1)

Under sf.read() in _load_tensor()

from auxiliaryasr.

Related Issues (11)

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.