I am getting warnings and error when i run rasa shell
Can some one help me how to resolve these errrors:
(rasa) PS C:> cd C:\Users\siddharth.chauhan\Desktop\demographics_chatbot
(rasa) PS C:\Users\siddharth.chauhan\Desktop\demographics_chatbot> rasa shell
2020-03-17 11:12:06.752274: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found
2020-03-17 11:12:06.752515: 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.
2020-03-17 11:12:17 INFO root - Starting Rasa server on http://localhost:5005
2020-03-17 11:12:21.708254: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘nvcuda.dll’; dlerror: nvcuda.dll not found
2020-03-17 11:12:21.708510: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
2020-03-17 11:12:21.712714: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: DA-2-maxisit
2020-03-17 11:12:21.712976: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: DA-2-maxisit
2020-03-17 11:12:23.754627: W tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing GeneratorDataset iterator: Cancelled: Operation was cancelled
2020-03-17 11:12:33.383058: W tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing GeneratorDataset iterator: Cancelled: Operation was cancelled
2020-03-17 11:12:34 INFO rasa.core.policies.ensemble - MappingPolicy not included in policy ensemble. Default intents 'restart and back will not trigger actions ‘action_restart’ and ‘action_back’.
2020-03-17 11:12:34 WARNING rasa.core.domain - You are using an experiential feature: Action ‘action_query_knowledge_base’!
Bot loaded. Type a message and press enter (use ‘/stop’ to exit):
Your input -> hi
2020-03-17 11:12:45.954934: W tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing GeneratorDataset iterator: Cancelled: Operation was cancelled
2020-03-17 11:12:46.478778: W tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing GeneratorDataset iterator: Cancelled: Operation was cancelled
2020-03-17 11:12:46.512129: W tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing GeneratorDataset iterator: Cancelled: Operation was cancelled
Rasa version : 1.8.1
Python: 3.7.6
OS: Win 10
(rasa) PS C:> cd C:\Users\siddharth.chauhan\Desktop\demographics_chatbot (rasa) PS
C:\Users\siddharth.chauhan\Desktop\demographics_chatbot> rasa shell
2020-03-17 11:12:06.752274: W
tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic
library ‘cudart64_101.dll’; dlerror: cudart64_101.dll not found
2020-03-17 11:12:06.752515: 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.
2020-03-17 11:12:17 INFO root - Starting Rasa server on http://localhost:5005
2020-03-17 11:12:21.708254: W
tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic
library ‘nvcuda.dll’; dlerror: nvcuda.dll not found
2020-03-17 11:12:21.708510: E tensorflow/stream_executor/cuda/cuda_driver.cc:351]
failed call to cuInit: UNKNOWN ERROR (303)
2020-03-17 11:12:21.712714: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169]
retrieving CUDA diagnostic information for host: DA-2-maxisit
2020-03-17 11:12:21.712976: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176]
hostname: DA-2-maxisit
2020-03-17 11:12:23.754627: W
tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing
GeneratorDataset iterator: Cancelled: Operation was cancelled
2020-03-17 11:12:33.383058: W
tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing
GeneratorDataset iterator: Cancelled: Operation was cancelled
2020-03-17 11:12:34 INFO rasa.core.policies.ensemble - MappingPolicy not included in
policy ensemble. Default intents 'restart and back will not trigger actions ‘action_restart’
and ‘action_back’.
2020-03-17 11:12:34 WARNING rasa.core.domain - You are using an experiential feature:
Action ‘action_query_knowledge_base’! Bot loaded. Type a message and press enter (use
‘/stop’ to exit): Your input -> hi
2020-03-17 11:12:45.954934: W
tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing
GeneratorDataset iterator: Cancelled: Operation was cancelled
2020-03-17 11:12:46.478778: W
tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing
GeneratorDataset iterator: Cancelled: Operation was cancelled
2020-03-17 11:12:46.512129: W
tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing
GeneratorDataset iterator: Cancelled: Operation was cancelled
There the solution seems to arise when tweaking the batch size. This is something that you have manual control over by changing the config.yml pipe and adding this setting to the algorithm that you’re using. Which algorithm are you using?
If you’re using 1.8.1 the odds are that you’re using the Diet classifier. I’ve made a video that explains some of the settings (including the batch_size one) here: https://youtu.be/oj5oPGDlep4?t=631