Ignoring the tensorflow warnings 😉 - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum
👋 Introducing the Rasa Playground
[Ignoring the tensorflow warnings
post by JiteshGaikwad on Oct 28, 2019
Rasa Certified Developer
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.pyfile, 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 environment you can get the file in your
site-packagesfolder - once you get the
dtypes.pyfile, just add the below line on line 28:
np.warnings.filterwarnings(‘ignore’)
- save the file after editing and then you can run
rasa trainorrasa shellor the other rasa command and the warnings won’t appear
Hope it helps
post by mmm3bbb on Oct 28, 2019
Thanks and it looks like upcoming Rasa X release stops the TF deprecation warnings. I feel an impending inner calm approaching.
Related topics
| Topic | Replies | Views | Activity |
|---|---|---|---|
| VisibleDeperecationWarning on Ubuntu | 4 | 252 | May 2021 |
| Rasa issues with latest version RASA = 1.3.9 and RASA X = 0.21.4 | 2 | 2.4k | Oct 2019 |
| VisibleDeprecationWarning | 6 | 2.0k | Jul 2021 |
| Visualdeprecationwarning | 1 | 280 | Nov 2020 |
| Experiencing new Warnings and info | 4 | 362 | Feb 2021 |