GaoQ1 / rasa_chatbot_cn

building a chinese dialogue system based on the newest version of rasa(基于最新版本rasa搭建的对话系统)
960 stars 290 forks source link

show_tokens_to_client #78

Open DaminZheng opened 4 years ago

DaminZheng commented 4 years ago
component = registry.create_component_by_config(component_config, cfg)

File "/Users/apple/opt/anaconda3/envs/py36/lib/python3.6/site-packages/rasa/nlu/registry.py", line 196, in create_component_by_config return component_class.create(component_config, config) File "/Users/apple/opt/anaconda3/envs/py36/lib/python3.6/site-packages/rasa/nlu/components.py", line 244, in create return cls(component_config) File "/Users/apple/opt/anaconda3/envs/py36/lib/python3.6/site-packages/rasa_nlu_gao/featurizers/bert_vectors_featurizer.py", line 61, in init identity=identity File "/Users/apple/opt/anaconda3/envs/py36/lib/python3.6/site-packages/bert_serving/client/init.py", line 451, in init self.availablebc = [BertClient(**kwargs) for in range(max_concurrency)] File "/Users/apple/opt/anaconda3/envs/py36/lib/python3.6/site-packages/bert_serving/client/init.py", line 451, in self.availablebc = [BertClient(**kwargs) for in range(max_concurrency)] File "/Users/apple/opt/anaconda3/envs/py36/lib/python3.6/site-packages/bert_serving/client/init.py", line 123, in init self.token_info_available = bool(s_status['show_tokens_to_client']) KeyError: 'show_tokens_to_client'

suzhaomin666 commented 4 years ago

你解决了吗?

DaminZheng commented 4 years ago

在linux运行可以