coqui-ai / STT

🐸STT - The deep learning toolkit for Speech-to-Text. Training and deploying STT models has never been so easy.
https://coqui.ai
Mozilla Public License 2.0
2.27k stars 275 forks source link

Bug: Can't install model from Zoo #2295

Open badochov opened 2 years ago

badochov commented 2 years ago

Describe the bug I wanted to try out the software so I followed guide on docs https://stt.readthedocs.io/en/latest/. But when I try to install model from the zoo(I try polish language model) I get an error Install error, please ensure your server is running. And I get following output in the console: [2489:2519:0911/145857.425668:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [2489:2519:0911/145857.425835:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

To Reproduce Steps to reproduce the behavior:

  1. Follow guide from docs
  2. Try to install Polish model from the zoo

Expected behavior The model should be downloaded.

Environment (please complete the following information):

wasertech commented 2 years ago

image

Works for me using the model manager for STT.

$ pip install coqui_stt_model_manager
$ stt-model-manager

Once the web browser window is open, click on Install a new model from the Coqui STT Model Zoo. and select Polish STT v0.0.1.

If it still doesn't work on your system, we need more information to help you diagnose the issue effectively.

badochov commented 2 years ago

Those step are listed in the README that I followed. I redid them today and still I got the same error. Here is the full log from today's attempt.

INFO:engineio.server:Server initialized for threading.
DEBUG:root:No installed models.
 * Serving Flask app 'coqui_stt_model_manager.server' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:38450
Current installs: []
DEBUG:urllib3.connectionpool:http://127.0.0.1:38450 "GET / HTTP/1.1" 200 2945
Started server listening on http://127.0.0.1:38450 ...
[7642:7668:1003/150951.670120:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7642:7668:1003/150951.670230:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Opening in existing browser session.
Current installs: []
[7681:7681:0100/000000.769302:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is egl, ANGLE is 
wasertech commented 1 year ago

@badochov Is there any chance you are running Linux inside WSL? That would explain the Unknown address type.

badochov commented 1 year ago

Nope, it's linux on bare metal

ganttview commented 1 year ago

I had a similar issue using Brave browser, but I opened the page in firefox and it downloaded. Disabling Brave shields also worked.

badochov commented 1 year ago

@ganttview thank you so much. I disabling shileds on braved did the trick. Also I tested that on FireDragon(fork of firefox) install works without any setup. IMHO this should be in the docs. Thank again!

wasertech commented 1 year ago

IMHO this should be in the docs.

Yes and no.

Yes we should add a sentence or two about the fact your browser needs to be able to reach a local tcp/unix port on host. But this is normally given... unless you block it yourself basically.

Something like:

Your browser needs to be able to reach a local tcp/unix socket within host. If your browser is configured to shield those connections, you need to configure an exception for the model manager.