导入DeepSpeech2Model出错
Created by: frozenfires
在docker里启动demo_server.py时报错:from model_utils.model import DeepSpeech2Model,但是在本地运行是没问题的。
Traceback (most recent call last): File "deploy/demo_server.py", line 14, in <module> from model_utils.model import DeepSpeech2Model File "/deep/DeepSpeech-develop/deploy/../model_utils/model.py", line 15, in <module> from decoders.swig_wrapper import Scorer File "/deep/DeepSpeech-develop/deploy/../decoders/swig_wrapper.py", line 6, in <module> import swig_decoders File "/usr/local/lib/python2.7/dist-packages/swig_decoders-1.1-py2.7-linux-x86_64.egg/swig_decoders.py", line 28, in <module> _swig_decoders = swig_import_helper() File "/usr/local/lib/python2.7/dist-packages/swig_decoders-1.1-py2.7-linux-x86_64.egg/swig_decoders.py", line 24, in swig_import_helper _mod = imp.load_module('_swig_decoders', fp, pathname, description) ImportError: /usr/local/lib/python2.7/dist-packages/swig_decoders-1.1-py2.7-linux-x86_64.egg/_swig_decoders.so: undefined symbol: FLAGS_fst_default_cache_gc Failed in starting demo server!