ARIA-VALUSPA / AVP

This is the ARIA-VALUSPA Platform, or AVP for short. Use this platform to build your own Virtual Humans with audio-visual input and output, language models for English, French, and German, emotional understanding, and many more. This work was funded by European Union Horizon 2020 research and innovation programme, grant agreement No 645378.
https://aria-agent.eu
32 stars 16 forks source link

StandAlone ASR client fails if webrtcvad is installed (python 3) #3

Closed pirelaurent closed 6 years ago

pirelaurent commented 6 years ago

Client run well as long as webrtcvad was not installed (with only the warning message about it.) Once webrtcvad installed ( caution pip install webrtcvad needs a valid compiler on windows) , program fails line 116 : buffer += msg -> cannot convert 'bytes' object to str implicitly . I saw that buffer is initialised as a string buffer = "" , while msg comes from the queue.

Note: Config is python3.5.2 as indicated in doc.

mvalstar commented 6 years ago

Peter, let's see if we can solve this without the help of Eduardo. If you don't know what's going on, let's involve them.

g-pechorin commented 6 years ago

I was able to reproduce the error (and more) before fixing this.

It looks like empty strings "" were being used where bytes() would be (strictly speaking) more-correct.

I've pushed the changes

mvalstar commented 6 years ago

Thanks Peter. Pierre, it would be great if you could confirm this solved the issue for you.

pirelaurent commented 6 years ago

Yes, thanks. Client runs now with VAD is on. I can test a step further.