Giter Site home page Giter Site logo

numpy.core._exceptions._UFuncNoLoopError: ufunc 'add' did not contain a loop with signature matching types (dtype('S96000'), dtype('float32')) -> None about ovos-dinkum-listener HOT 5 CLOSED

goldyfruit avatar goldyfruit commented on July 20, 2024
numpy.core._exceptions._UFuncNoLoopError: ufunc 'add' did not contain a loop with signature matching types (dtype('S96000'), dtype('float32')) -> None

from ovos-dinkum-listener.

Comments (5)

NeonDaniel avatar NeonDaniel commented on July 20, 2024

Not sure what datatype S96000 is, but it doesn't like being added to a float.. Can you add some debugging to see what the actual value is being passed there?

from ovos-dinkum-listener.

goldyfruit avatar goldyfruit commented on July 20, 2024

Not sure what datatype S96000 is, but it doesn't like being added to a float.. Can you add some debugging to see what the actual value is being passed there?

https://paste.api-zulu.com/ramihutini.coffeescript

self._buffer is <class 'bytes'> and data is <class 'numpy.ndarray'>

from ovos-dinkum-listener.

NeonDaniel avatar NeonDaniel commented on July 20, 2024

Looks like that's passing a list of lists instead of a list of floats?

from ovos-dinkum-listener.

goldyfruit avatar goldyfruit commented on July 20, 2024

Looks like that's passing a list of lists instead of a list of floats?

Does this could be related to the ovos-microphone-plugin-sounddevice plugin?

https://github.com/OpenVoiceOS/ovos-microphone-plugin-sounddevice/blob/dev/ovos_microphone_plugin_sounddevice/__init__.py

from ovos-dinkum-listener.

NeonDaniel avatar NeonDaniel commented on July 20, 2024

Does this could be related to the ovos-microphone-plugin-sounddevice plugin?

https://github.com/OpenVoiceOS/ovos-microphone-plugin-sounddevice/blob/dev/ovos_microphone_plugin_sounddevice/__init__.py

I'd suspect so since I don't see it with the ALSA plugin. I think nparray has an asbytes function or something; this looks familiar...

from ovos-dinkum-listener.

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.