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
ImportError: cannot import name 'create_features' #3674
Comments
Did you find a solution to this problem ? |
Thanks for raising this issue, @Ghostvv will get back to you about it soon. |
what problem? |
In order to replace
I have installed the $ docker-compose exec medibot pip freeze | grep rasa
rasa-core==0.13.8
rasa-core-sdk==0.12.2
rasa-nlu==0.14.6
$ docker-compose exec medibot pip freeze | grep bert
bert-tensorflow==1.0.1 And now it seems that the The error is almost the same as the one reported by @sekhar14 :
I can import The first part of my pipeline file : language: "fr"
pipeline:
- name: "nlp_spacy"
- name: "tokenizer_spacy"
- name: "rasa_components.featurizers.bert_featurizer.BertFeaturizer"
model_dir: "multi_cased_L-12_H-768_A-12/" |
you should use this fork: https://github.com/RasaHQ/bert |
Thanks a lot ! It runs correctly now (even if it takes time on CPUs, I will try on GPUs). But I couldn't install the bert package from this branch neatly. How should I install it without having to take the bert directory from the branch and putting it directly in my working directory ? |
Rasa version: 0.14.1
Rasa X version (if used & relevant):
Python version: 3.6
Operating system (windows, osx, ...): ubuntu 16.04
Issue:
create_features not found in bert extract_features.py
Error (including full traceback):
Command or request that led to error:
Content of configuration file (config.yml) (if relevant):
Content of domain file (domain.yml) (if relevant):
The text was updated successfully, but these errors were encountered: