Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show_tokens_to_client #78

Open
DaminZheng opened this issue Mar 25, 2020 · 3 comments
Open

show_tokens_to_client #78

DaminZheng opened this issue Mar 25, 2020 · 3 comments

Comments

@DaminZheng
Copy link

No description provided.

@DaminZheng
Copy link
Author

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.available_bc = [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.available_bc = [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
Copy link

你解决了吗?

@DaminZheng
Copy link
Author

在linux运行可以

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants