home/sharma/.local/lib/python2.7/site-packages/h5py/init.py:34: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated 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]
/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/keras_policy.py:241: UserWarning: Persist called without a trained model present. Nothing to persist then!
warnings.warn("Persist called without a trained model present. "
Traceback (most recent call last):
File "dialogue_management_model.py", line 38, in
run_weather_bot()
File "dialogue_management_model.py", line 31, in run_weather_bot
agent = Agent.load('./models/dialogue', interpreter=interpreter, action_endpoint=action_endpoint)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/agent.py", line 275, in load
ensemble = PolicyEnsemble.load(path) if path else None
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/ensemble.py", line 188, in load
policy = policy_cls.load(policy_path)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/keras_policy.py", line 272, in load
"doesn't exist".format(os.path.abspath(path)))
Exception: Failed to load dialogue model. Path /home/sharma/Desktop/chatbot/models/dialogue/policy_1_KerasPolicy doesn't exist
home/sharma/.local/lib/python2.7/site-packages/h5py/init.py:34: FutureWarning: Conversion of the second argument of issubdtype from
float
tonp.floating
is deprecated. In future, it will be treated asnp.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] /home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/keras_policy.py:241: UserWarning: Persist called without a trained model present. Nothing to persist then! warnings.warn("Persist called without a trained model present. " Traceback (most recent call last): File "dialogue_management_model.py", line 38, in
run_weather_bot()
File "dialogue_management_model.py", line 31, in run_weather_bot
agent = Agent.load('./models/dialogue', interpreter=interpreter, action_endpoint=action_endpoint)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/agent.py", line 275, in load
ensemble = PolicyEnsemble.load(path) if path else None
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/ensemble.py", line 188, in load
policy = policy_cls.load(policy_path)
File "/home/sharma/.local/lib/python2.7/site-packages/rasa_core/policies/keras_policy.py", line 272, in load
"doesn't exist".format(os.path.abspath(path)))
Exception: Failed to load dialogue model. Path /home/sharma/Desktop/chatbot/models/dialogue/policy_1_KerasPolicy doesn't exist