Code Monkey home page Code Monkey logo

docker-deepspeech-server's Issues

Server fails to respond in docker, but not outside

With your docker container running, if I then do:

curl -X POST --data-binary @foo.wav http://localhost:8080/stt

... where foo.wav is a wave file with some speech, I get:

curl: (56) Recv failure: Connection reset by peer

... and I see nothing in the output on the deepspeech-server container (beyond the initial startup messages).

If I run the exact same commands in the dockerfile, just in a virtualenv, natively on my machine (Debian bullseye/testing), and then start up the server, then it works fine; the server responds with the expected text from the wave file.

Any ideas? I'm a bit new to docker, so I'm not sure what exactly about the environment is different.

Issue with versions?

I've been trying to get this working but I receive a strange error on startup:
Top line(s):
deepspeech-server | Exception in callback None()
deepspeech-server | handle: <Handle cancelled>
deepspeech-server | Traceback (most recent call last):
deepspeech-server | File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run

Final line:
deepspeech-server | AttributeError: 'x' object has no attribute 'lm_alpha'

I noticed that it's been a while since the last update and I can see that the latest python is being pulled. Is there a possible issue with versions?

error if using deepspeech-gpu

hi, if i tried to use deepspeech-gpu instead, it throws the error as below

ImportError: libcublas.so.8.0: cannot open shared object file: No such file or directory

I am using nvidia-docker

Integrate into main repo

The normal convention with Dockerfiles is to put them in the root directory of the main project. Perhaps this should be done here?

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.