rasa-core - Rasa:“构建一个简单的机器人”中的错误
问题描述
我正在关注教程:https ://core.rasa.com/tutorial_basics.html#tutorial-basics ,我在步骤:让我们运行
python -m rasa_nlu.train -c nlu_model_config.json --fixed_model_name current
我有这个错误:
usage: train.py [-h] [-o PATH] (-d DATA | -u URL) -c CONFIG [-t NUM_THREADS]
[--project PROJECT] [--fixed_model_name FIXED_MODEL_NAME]
[--storage STORAGE] [--debug] [-v]
train.py: error: one of the arguments -d/--data -u/--url is required
我已经尝试了明显的并运行:
python -m rasa_nlu.train -c nlu_model_config.json --fixed_model_name current -d
但随后它给了我错误:train.py: error: argument -d/--data: expected one argument
我真的很困惑,因为我仍在运行本教程并且我不明白这些论点是什么。
解决方案
您必须在 -d 标志之后提供数据集的路径,例如这样
python -m rasa_nlu.train -c nlu_model_config.json --fixed_model_name current -d data/nlu_data.md
推荐阅读
- http - 响应中的 http.get 和 Null 类型存在问题
- php - MYSQL - 如果条件失败则返回错误
- react-native - BottomTabNavigator 在 React Native 中不起作用
- jquery - 固定标题 - 在动画中滑动不起作用
- ffmpeg - 使用 ffmpeg 合并两个带有 xfade 过渡的视频,但失败了
- vega-lite - 在 Vega-Lite 中的重复图层上定义颜色
- c# - 有没有办法对 WPF 中 ComboBox 的下拉列表进行排序?
- react-native - React 导航中的 TabBar
- javascript - React useEffect 如何监视和更新状态?
- javascript - Threejs中的.glb文件导入显示黑色对象