ed as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
/home/sharma/.local/lib/python2.7/site-packages/pykwalify/core.py:99: UnsafeLoaderWarning:
The default 'Loader' for 'load(stream)' without further arguments can be unsafe.
Use 'load(stream, Loader=ruamel.yaml.Loader)' explicitly if that is OK.
Alternatively include the following in your code:
In most other cases you should consider using 'safe_load(stream)'
data = yaml.load(stream)
Processed Story Blocks: 0it [00:00, ?it/s]
Processed Story Blocks: 0it [00:00, ?it/s]
Processed Story Blocks: 0it [00:00, ?it/s]
Processed Story Blocks: 0it [00:00, ?it/s]
Traceback (most recent call last):
File "dialogue_management_model.py", line 40, in
train_dialogue()
File "dialogue_management_model.py", line 28, in train_dialogue
agent.persist(model_path)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/agent.py", line 594, in persist
self.policy_ensemble.persist(model_path, dump_flattened_stories)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/ensemble.py", line 143, in persist
self._persist_metadata(path, dump_flattened_stories)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/ensemble.py", line 118, in _persist_metadata
self.training_trackers)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/ensemble.py", line 53, in _training_events_from_trackers
for t in training_trackers:
TypeError: 'NoneType' object is not iterable
ed as
np.float64 == np.dtype(float).type
. from ._conv import register_converters as _register_converters /home/sharma/.local/lib/python2.7/site-packages/pykwalify/core.py:99: UnsafeLoaderWarning: The default 'Loader' for 'load(stream)' without further arguments can be unsafe. Use 'load(stream, Loader=ruamel.yaml.Loader)' explicitly if that is OK. Alternatively include the following in your code:import warnings warnings.simplefilter('ignore', ruamel.yaml.error.UnsafeLoaderWarning)
In most other cases you should consider using 'safe_load(stream)' data = yaml.load(stream) Processed Story Blocks: 0it [00:00, ?it/s] Processed Story Blocks: 0it [00:00, ?it/s] Processed Story Blocks: 0it [00:00, ?it/s] Processed Story Blocks: 0it [00:00, ?it/s] Traceback (most recent call last): File "dialogue_management_model.py", line 40, in
train_dialogue()
File "dialogue_management_model.py", line 28, in train_dialogue
agent.persist(model_path)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/agent.py", line 594, in persist
self.policy_ensemble.persist(model_path, dump_flattened_stories)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/ensemble.py", line 143, in persist
self._persist_metadata(path, dump_flattened_stories)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/ensemble.py", line 118, in _persist_metadata
self.training_trackers)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/ensemble.py", line 53, in _training_events_from_trackers
for t in training_trackers:
TypeError: 'NoneType' object is not iterable