dialogflow / asr-server

FastCGI support for Kaldi ASR
Apache License 2.0
184 stars 86 forks source link

503 Service Unavailable when call to /asr #10

Closed ghost closed 7 years ago

ghost commented 7 years ago

I'm use ubuntu 16.04+apache2+php7.1fpm

I'm install all dependency package already and try to run asr-server via ../asr-server/fcgi-nnet3-decoder --fcgi-socket=127.0.0.1:9999 after run ../asr-server/fcgi-nnet3-decoder --feature-type=mfcc --mfcc-config=mfcc.conf --frame-subsampling-factor=3 --max-active=2000 --beam=15.0 --lattice-beam=6.0 --acoustic-scale=1.0 --endpoint.silence-phones=1 --endpoint.rule1.min-trailing-silence=0.5 --endpoint.rule2.min-trailing-silence=0.15 --endpoint.rule3.min-trailing-silence=0.1 --fcgi-socket=127.0.0.1:9999 LOG (fcgi-nnet3-decoder[5.0.51~1380-cd97]:Run():FcgiDecodingApp.cc:199) Listening FastCGI data at "127.0.0.1:9999"

next try to go to http://localhost/asr-html/ and record sound after that request(/asr) still pending until timeout I'm don't know why?

and I'm try to run example in apiai/kaldi/egs/apiai_decode/s5 that it work

can some one help me Thanks.

HEY resolved must to run spawn-fcgi -n -p 9999 -- ../asr-server/fcgi-nnet3-decoder