Hi all,
I found that whenever we train the rasa model or start our bot server you might face a lot of FutureWarning
’s in your terminal
so I found out the warnings are basically related to numpy
, so if you want to ignore these warnings, just follow the below steps:
- you need to edit the
dtypes.py
file, to edit this file just go to below path:
c:\users{username}\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\framework\dtypes.py
- If you are using virtual enviroment you can get the file in your
site-packages
folder - once you get the
dtypes.py
file, just add the below line on line 28:
np.warnings.filterwarnings(‘ignore’)
- save the file after editing and then you can run
rasa train
orrasa shell
or the other rasa command and the warnings won’t appear
Hope it helps