IMPORT ERROR FROM RASA
See original GitHub issuehello rasa friends i have a issue , i recently update the rasa how normaly i do when i check the rasa docs web the issue is when i tried to train a bot or activate it, it send me a error what does it say:
C:\Users\capitalminds\Desktop\prueba 3>py -m rasa_core.train interactive -o models/dialogue -d domain.yml -s stories.md Processed Story Blocks: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββ| 13/13 [00:00<?, ?it/s, # trackers=1] Processed Story Blocks: 100%|ββββββββββββββββββββββββββββββββββββββββββ| 13/13 [00:00<00:00, 416.69it/s, # trackers=13] Processed Story Blocks: 100%|ββββββββββββββββββββββββββββββββββββββββββ| 13/13 [00:00<00:00, 138.65it/s, # trackers=38] Processed Story Blocks: 100%|ββββββββββββββββββββββββββββββββββββββββββ| 13/13 [00:00<00:00, 138.60it/s, # trackers=30] 2019-03-01 11:46:41.510388: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 Traceback (most recent call last): File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\train.py", line 356, in <module> additional_args) File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\train.py", line 328, in do_interactive_learning additional_arguments) File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\train.py", line 190, in train_dialogue_model agent.train(training_data, **kwargs) File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\agent.py", line 520, in train **kwargs) File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\policies\ensemble.py", line 63, in train policy.train(training_trackers, domain, **kwargs) File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\policies\keras_policy.py", line 162, in train shuffled_y.shape[1:]) File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_core\policies\keras_policy.py", line 93, in model_architecture from tensorflow.keras.models import Sequential File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\keras\__init__.py", line 20, in <module> from tensorflow.keras import layers File "C:\Users\capitalminds\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\keras\layers\__init__.py", line 8, in <module> from tensorflow.python.estimator.keras import Layer ImportError: cannot import name 'Layer'
so i really need to fix this error
regards π
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
iΒ΄ll fix it its a problem from the credentials.yml thanks for yours ansewers
regards π
let me try it,