I am using NNET2online decoder.when I am trying to start the worker it is showing
python kaldigstserver/worker.py -u ws://localhost:8888/worker/ws/speech -c sample_english_nnet2.yaml
DEBUG 2018-07-29 10:12:43,703 Starting up worker
2018-07-29 10:12:43 - INFO: decoder2: Creating decoder using conf: {'post-processor': "perl -npe 'BEGIN {use IO::Handle; STDOUT->autoflush(1);} s/(.*)/\1./;'", 'logging': {'version': 1, 'root': {'level': 'DEBUG', .......}
Traceback (most recent call last):
File "kaldigstserver/worker.py", line 419, in
main()
File "kaldigstserver/worker.py", line 409, in main
decoder_pipeline = DecoderPipeline2(conf)
File "/var/www/html/kaldi/kaldi-gstreamer-server-master/kaldigstserver/decoder2.py", line 25, in init
self.create_pipeline(conf)
File "/var/www/html/kaldi/kaldi-gstreamer-server-master/kaldigstserver/decoder2.py", line 55, in create_pipeline
self.asr.set_property("use-threaded-decoder", conf["decoder"]["use-threaded-decoder"])
AttributeError: 'NoneType' object has no attribute 'set_property'
I am using NNET2online decoder.when I am trying to start the worker it is showing python kaldigstserver/worker.py -u ws://localhost:8888/worker/ws/speech -c sample_english_nnet2.yaml DEBUG 2018-07-29 10:12:43,703 Starting up worker 2018-07-29 10:12:43 - INFO: decoder2: Creating decoder using conf: {'post-processor': "perl -npe 'BEGIN {use IO::Handle; STDOUT->autoflush(1);} s/(.*)/\1./;'", 'logging': {'version': 1, 'root': {'level': 'DEBUG', .......} Traceback (most recent call last): File "kaldigstserver/worker.py", line 419, in
main()
File "kaldigstserver/worker.py", line 409, in main
decoder_pipeline = DecoderPipeline2(conf)
File "/var/www/html/kaldi/kaldi-gstreamer-server-master/kaldigstserver/decoder2.py", line 25, in init
self.create_pipeline(conf)
File "/var/www/html/kaldi/kaldi-gstreamer-server-master/kaldigstserver/decoder2.py", line 55, in create_pipeline
self.asr.set_property("use-threaded-decoder", conf["decoder"]["use-threaded-decoder"])
AttributeError: 'NoneType' object has no attribute 'set_property'