Rasa Visualize output graph.html is empty - Rasa Open Source - Rasa Community Forum
Rasa Visualize output graph.html is empty
post by lohith.arcot on Nov 21, 2019
I am running the command rasa visualize in the rasa project folder. It completes with the below output and open up a html page [graph.html]. However the output of the html page is empty. Am I doing something wrong? The chat conversations are all working fine.
C:\projects>rasa visualize > out.txt
c:\users\loarcot\appdata\local\programs\python\python37\lib\site-packages\tensorflow\python\framework\dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
c:\users\loarcot\appdata\local\programs\python\python37\lib\site-packages\tensorflow\python\framework\dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
c:\users\loarcot\appdata\local\programs\python\python37\lib\site-packages\tensorflow\python\framework\dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
c:\users\loarcot\appdata\local\programs\python\python37\lib\site-packages\tensorflow\python\framework\dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
c:\users\loarcot\appdata\local\programs\python\python37\lib\site-packages\tensorflow\python\framework\dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
c:\users\loarcot\appdata\local\programs\python\python37\lib\site-packages\tensorflow\python\framework\dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
2019-11-22 09:32:43 INFO rasa.core.visualize - Starting to visualize stories...
Processed Story Blocks: 100%|████████████████████████████████████████████████████████████████████████████| 109/109 [00:00<00:00, 1535.06it/s, # trackers=1]
2019-11-22 09:32:44 INFO rasa.core.visualize - Finished graph creation. Saved into file://C:\projects\BaaS\python-rasa\graph.html
post by Tanja on Nov 22, 2019
What rasa version are you using? Can you please run the the command in debug mode and paste the log output here? E.g. rasa visualize --debug.
post by lohith.arcot on Nov 24, 2019
Here is the output for :
rasa visualize --debug
2019-11-25 09:25:12 DEBUG pykwalify.compat - Using yaml library: c:\users\asdsa\appdata\local\programs\python\python37\lib\site-packages\ruamel\yaml\__init__.py
2019-11-25 09:25:12 DEBUG rasa.nlu.training_data.loading - Training data format of ‘C:\Users\LOARCOT\AppData\Local\Temp\tmptzsd0gid\65c75d8b3c4d4d78b62fdbffdde48aea_nlu.md’ is ‘md’.
2019-11-25 09:25:12 INFO rasa.core.visualize - Starting to visualize stories…
2019-11-25 09:25:12 DEBUG rasa.core.training.generator - Number of augmentation rounds is 0
2019-11-25 09:25:12 DEBUG rasa.core.training.generator - Starting data generation round 0 … (with 1 trackers)
Processed Story Blocks: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 110/110 [00:00<00:00, 2683.29it/s, # trackers=1]
2019-11-25 09:25:12 DEBUG rasa.core.training.generator - Finished phase (87 training samples found).
2019-11-25 09:25:12 DEBUG rasa.core.training.generator - Data generation rounds finished.
2019-11-25 09:25:12 DEBUG rasa.core.training.generator - Found 0 unused checkpoints
2019-11-25 09:25:12 DEBUG rasa.core.training.generator - Found 87 training trackers.
2019-11-25 09:25:14 INFO rasa.core.visualize - Finished graph creation. Saved into file://C:\projects\graph.html
post by lohith.arcot on Nov 25, 2019
NOTE: I UPGRADED FROM A LOWER VERSION TO THE LATEST
Rasa 1.4.6
NOW THE VISUALIZATION IS AS EXPECTED. THANKS A LOT TANJA FOR HELPING ME OUT. I UPGRADED AFTER YOUR REPLY.
post by Tanja on Nov 25, 2019
Glad it works 😊