Python RASA X路径“config.yml”不存在。请确保使用默认位置('config.yml')或使用'--config'指定它

Python RASA X路径“config.yml”不存在。请确保使用默认位置('config.yml')或使用'--config'指定它,python,rasa-nlu,rasa-core,rasa,rasa-x,Python,Rasa Nlu,Rasa Core,Rasa,Rasa X,我试图将rasa集成到google assistant: 然后经过拉萨火车,我得到了这个错误 (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,

我试图将rasa集成到google assistant:

然后经过拉萨火车,我得到了这个错误

(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'.
以下是我的版本:

rasa 1.1.8 rasa核心0.14.5 rasa核心sdk 0.14.0 rasa nlu 0.15.1 rasa sdk 1.1.1 rasa-x 0.20.0
问题是,尚未选择当前工作目录。使用cd选择工作环境。例如:cd C:\Users\Jinu Augustine\Documents\rasabot。尝试rasa train nlu之后,它应该会工作。

您只需要运行

rasa init

这将负责设置您的工作目录

您的问题是什么?config.yml是否与您的可执行文件位于同一目录中?如果它位于单独的cfg目录中,或者如果您正在从另一个目录运行my_脚本,则可能必须说my_script.py\configs\config.yml。。。您也可以使用os.chdirdir\u of_config.yml。@aschultz谢谢您。。。我的config.yml位于其他目录中。。我把它改成了我的可执行文件…现在它工作了。你是怎么把dir改成可执行文件的?