Hello Friends, I am trying to visualize the training data. I followed the steps given in rasa-demo-pydata18/rasa-moodbot-demo-complete-executed.ipynb at master · Manoj-t/rasa-demo-pydata18 · GitHub. It is not producing me any image as output after executing that program. I am attaching screenshot of that. Can someone help me in solving this issue. Thanks in Advance.
Hey, I can see you are running this in your console. I don’t think you will be able to get the image produced in your console so you have an option to run this in a jupyter notebook or openingstory_graph.png file which should have been created in your working directory after you executed stories.visualize function.
Thank you @Juste for responding. I tried to open story_graph.png file that generated in my working directory. It is saying “file couldn’t be opened, it is damaged”. you can see the picture I attached.
It is probably the image is not png.
To confirm the real file type, you can run file ${path_to_image}
in console (terminal).
If the output shows HTML document, ASCII text
then change the extension to html
and see if you can open with browser.
You can visualise training data using following command:
python -m rasa_core.visualize -d domain.yml -s data/stories.md -o graph.html -c nlu_config.yml
Make sure your current working directory should be same as that of your project directory
Python 3.6.8
absl-py==0.7.0
appnope==0.1.0
APScheduler==3.5.3
astor==0.7.1
attrs==18.2.0
Automat==0.7.0
backcall==0.1.0
bleach==3.1.0
boto3==1.9.83
botocore==1.12.83
certifi==2018.11.29
chardet==3.0.4
Click==7.0
cloudpickle==0.6.1
colorclass==2.2.0
coloredlogs==10.0
colorhash==1.0.2
ConfigArgParse==0.13.0
constantly==15.1.0
cycler==0.10.0
cymem==1.31.2
cytoolz==0.9.0.1
decorator==4.3.0
defusedxml==0.5.0
dill==0.2.9
docopt==0.6.2
docutils==0.14
en-core-web-md==2.0.0
en-core-web-sm==2.0.0
entrypoints==0.3
fakeredis==0.10.3
fbmessenger==5.4.0
Flask==1.0.2
Flask-Cors==3.0.7
Flask-JWT-Simple==0.0.3
future==0.17.1
gast==0.2.2
gevent==1.4.0
greenlet==0.4.15
grpcio==1.18.0
h5py==2.9.0
humanfriendly==4.17
hyperlink==18.0.0
idna==2.8
incremental==17.5.0
ipykernel==5.1.0
ipython==7.2.0
ipython-genutils==0.2.0
ipywidgets==7.4.2
itsdangerous==1.1.0
jedi==0.13.2
Jinja2==2.10
jmespath==0.9.3
jsonpickle==0.9.6
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.2.4
jupyter-console==6.0.0
jupyter-core==4.4.0
kiwisolver==1.0.1
klein==17.10.0
Markdown==3.0.1
MarkupSafe==1.1.0
matplotlib==2.2.3
mattermostwrapper==2.1
mistune==0.8.4
msgpack==0.5.6
msgpack-numpy==0.4.3.2
murmurhash==0.28.0
nbconvert==5.4.0
nbformat==4.4.0
networkx==2.2
notebook==5.7.4
numpy==1.16.0
packaging==17.1
pandocfilters==1.4.2
parso==0.3.1
pathlib==1.0.1
pexpect==4.6.0
pickleshare==0.7.5
pika==0.11.2
pip-tools==3.2.0
plac==0.9.6
preshed==1.0.1
prometheus-client==0.5.0
prompt-toolkit==2.0.7
protobuf==3.6.1
ptyprocess==0.6.0
pydot==1.4.1
Pygments==2.3.1
pygraphviz==1.5
PyHamcrest==1.9.0
PyInquirer==1.0.3
PyJWT==1.7.1
pykwalify==1.6.0
pymongo==3.7.2
pyparsing==2.3.1
PySocks==1.6.8
python-crfsuite==0.9.6
python-dateutil==2.7.5
python-engineio==3.2.3
python-socketio==2.1.2
python-telegram-bot==10.1.0
pytz==2018.9
PyYAML==3.13
pyzmq==17.1.2
qtconsole==4.4.3
rasa-core==0.12.4
rasa-core-sdk==0.12.1
rasa-nlu==0.13.8
redis==2.10.6
regex==2018.1.10
requests==2.21.0
requests-toolbelt==0.8.0
rocketchat-API==0.6.25
ruamel.yaml==0.15.86
s3transfer==0.1.13
scikit-learn==0.19.2
scipy==1.2.0
Send2Trash==1.5.0
simplejson==3.16.0
six==1.12.0
sklearn-crfsuite==0.3.6
slackclient==1.3.0
spacy==2.0.12
tabulate==0.8.2
tensorboard==1.10.0
tensorflow==1.10.0
termcolor==1.1.0
terminado==0.8.1
terminaltables==3.1.0
testpath==0.4.2
thinc==6.10.3
toolz==0.9.0
tornado==5.1.1
tqdm==4.29.1
traitlets==4.3.2
twilio==6.23.1
Twisted==18.9.0
typing==3.6.6
tzlocal==1.5.1
ujson==1.35
urllib3==1.24.1
wcwidth==0.1.7
webencodings==0.5.1
webexteamssdk==1.1.1
websocket-client==0.54.0
Werkzeug==0.14.1
widgetsnbextension==3.4.2
wrapt==1.10.11
zope.interface==4.6.0
OSX 10.14.2