我试图将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'.以下是我的版本:
发布于 2020-11-11 08:22:44
你只需要跑
rasa init这将负责设置工作目录。
发布于 2020-08-06 07:19:59
问题是,还没有选择当前的工作目录。使用cd选择工作环境。例如:cd C:\Users\Jinu Augustine\Documents\rasabot。尝试rasa train nlu之后,它应该可以工作。
https://stackoverflow.com/questions/57491391
复制相似问题