我正在尝试将rasa集成到Google助手中:https://blog.rasa.com/going-beyond-hey-google-building-a-rasa-powered-google-assistant/
然后在rasa火车之后,我得到了这个错误
(voice_bot) arjun@arjun-Lenovo-ideapad:~/Desktop/rasa_google$ rasa train
/home/arjun/enviro/voice_bot/lib/python3.6/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)])
/home/arjun/enviro/voice_bot/lib/python3.6/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)])
/home/arjun/enviro/voice_bot/lib/python3.6/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)])
/home/arjun/enviro/voice_bot/lib/python3.6/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)])
/home/arjun/enviro/voice_bot/lib/python3.6/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)])
/home/arjun/enviro/voice_bot/lib/python3.6/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)])
The path 'config.yml' does not exist. Please make sure to use the default location ('config.yml') or specify it with '--config'.
这些是我的版本:
答案 0 :(得分:0)
问题是,尚未选择当前工作目录。使用cd选择工作环境。例如:cd C:\Users\Jinu Augustine\Documents\rasabot
。在此之后尝试rasa train nlu
,它应该可以工作。
答案 1 :(得分:0)
您只需要运行
rasa init
这将帮助您设置工作目录