When i am training rasa it is showing error please solve it

(krish) D:\storing rasa>rasa train 2021-03-24 16:02:33.248135: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found 2021-03-24 16:02:33.254042: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. 2021-03-24 16:02:49.809136: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library ‘nvcuda.dll’; dlerror: nvcuda.dll not found 2021-03-24 16:02:49.813586: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303) 2021-03-24 16:02:49.822659: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: MC-CORP-D128 2021-03-24 16:02:49.827987: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: MC-CORP-D128 c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Issue found in ‘data\stories.yml’: Found intent ‘FirstName - slot{“firstN”:“anusha”}’ in stories which is not part of the domain. More info at Stories c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Issue found in ‘data\stories.yml’: Found intent ‘LastName - slot{“lastN”:"kothapalli}’ in stories which is not part of the domain. More info at Stories c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Issue found in ‘data\stories.yml’: Found intent ‘feedback - slot{“feedback”:“good”}’ in stories which is not part of the domain. More info at Stories c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Action ‘utter_greet’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain. More info at Responses c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Action ‘utter_goodbye’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain. More info at Responses c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Action ‘utter_iamabot’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain. More info at Responses c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Action ‘utter_feedback’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain. More info at Responses c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Action ‘utter_last_name’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain. More info at Responses c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Action ‘utter_first_name’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain. More info at Responses c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Action ‘utter_submit’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain. More info at Responses c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\shared\utils\io.py:96: UserWarning: Action ‘utter_thanks’ is listed as a response action in the domain file, but there is no matching response defined. Please check your domain. More info at Responses 2021-03-24 16:02:50 INFO rasa.model - Data (core-config) for Core model section changed. 2021-03-24 16:02:50 INFO rasa.model - Data (nlu-config) for NLU model section changed. 2021-03-24 16:02:50 INFO rasa.model - Data (nlg) for NLG responses section changed. 2021-03-24 16:02:50 INFO rasa.model - Data (core-config) for Core model section changed. 2021-03-24 16:02:50 INFO rasa.model - Data (nlu-config) for NLU model section changed. 2021-03-24 16:02:50 INFO rasa.model - Data (nlg) for NLG responses section changed. Training NLU model… Traceback (most recent call last): File “c:\users\branding\anaconda3\envs\krish\lib\runpy.py”, line 192, in _run_module_as_main return run_code(code, main_globals, None, File “c:\users\branding\anaconda3\envs\krish\lib\runpy.py”, line 85, in run_code exec(code, run_globals) File "C:\Users\BRANDING\anaconda3\envs\krish\Scripts\rasa.exe_main.py", line 7, in File "c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa_main.py", line 116, in main cmdline_arguments.func(cmdline_arguments) File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\cli\train.py”, line 58, in train_parser.set_defaults(func=lambda args: train(args, can_exit=True)) File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\cli\train.py”, line 90, in train training_result = rasa.train( File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\train.py”, line 94, in train return rasa.utils.common.run_in_loop( File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\utils\common.py”, line 307, in run_in_loop result = loop.run_until_complete(f) File “c:\users\branding\anaconda3\envs\krish\lib\asyncio\base_events.py”, line 608, in run_until_complete return future.result() File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\train.py”, line 163, in train_async return await _train_async_internal( File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\train.py”, line 342, in _train_async_internal await _do_training( File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\train.py”, line 388, in _do_training model_path = await _train_nlu_with_validated_data( File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\train.py”, line 812, in _train_nlu_with_validated_data await rasa.nlu.train( File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\nlu\train.py”, line 96, in train trainer = Trainer( File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\nlu\model.py”, line 158, in init components.validate_requirements(cfg.component_names) File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\nlu\config.py”, line 152, in component_names return [c.get(“name”) for c in self.pipeline] File “c:\users\branding\anaconda3\envs\krish\lib\site-packages\rasa\nlu\config.py”, line 152, in return [c.get(“name”) for c in self.pipeline] AttributeError: ‘str’ object has no attribute ‘get’

Hey @anusha1, please describe your setup in a bit (version of Rasa & Python, what config you’re using…). Additionally, since it looks like the error is caused by some names in your config, I recommend the following:

  • Try determining whether the error comes from NLU training or from Core training
  • Once you know this, try removing things from your config (i.e. NLU components or Core policies) until you end up with a minimal config that still produces the error.
  • Then, share this config so we can look further into this :slightly_smiling_face: