linto-ai/linto-stt

Docker image not working

Closed this issue · 1 comments

tagny commented

Hi. I've tried to download the pre-built image from docker-hub using this command in Ubuntu 20.04 LTS:

sudo docker pull lintoai/linto-platform-stt-standalone-worker:latest

I runned it using the command:

sudo docker run -p 8888:8888 -v /home/me/linto_shared/AM_fr-FR:/opt/models/AM -v /home/me/linto_shared/DG_fr-FR_Small:/opt/models/LM -v /home/me/linto_shared/swagger.yml:/opt/swagger.yml lintoai/linto-platform-stt-standalone-worker:latest

and here is the result:

INFO:__stt-standelone-worker__:Create the new config files
INFO:__stt-standelone-worker__:Create word_boundary.int based on phones.txt
INFO:__stt-standelone-worker__:Load acoustic model and decoding graph
LOG (VoskAPI:Configure():vosk/model.cc:134) Loading decode config file from /opt/config/online.conf
LOG (VoskAPI:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (VoskAPI:ComputeDerivedVars():ivector-extractor.cc:204) Done.
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:159) Am model file /opt/models/AM/.//final.mdl
LOG (VoskAPI:RemoveOrphanNodes():nnet-nnet.cc:948) Removed 1 orphan nodes.
LOG (VoskAPI:RemoveOrphanComponents():nnet-nnet.cc:847) Removing 2 orphan components.
LOG (VoskAPI:Collapse():nnet-utils.cc:1488) Added 1 components, removed 2
LOG (VoskAPI:CompileLooped():nnet-compile-looped.cc:345) Spent 0.022691 seconds in looped compilation.
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:176) Loading HCLG from /opt/models/LM/HCLG.fst
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:196) Loading words from /opt/models/LM/words.txt
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:205) Loading winfo /opt/models/LM/word_boundary.int
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:260) Ivector silence weighting is deactivated

but trying http://localhost:8888/ in my browser says :

La connexion a été réinitialisée

La connexion avec le serveur a été réinitialisée pendant le chargement de la page.

    Le site est peut-être temporairement indisponible ou surchargé. Réessayez plus tard ;
    Si vous n’arrivez à naviguer sur aucun site, vérifiez la connexion au réseau de votre ordinateur ;
    Si votre ordinateur ou votre réseau est protégé par un pare-feu ou un proxy, assurez-vous que Firefox est autorisé à accéder au Web.

Please can anyone tell me why it doesn't work ?