【发布时间】:2018-08-22 16:29:37
【问题描述】:
我正在研究 Rasa,但在运行对话模型时遇到了一些问题。
python3 -m rasa_core.train -s data/stories.md -d domain.yml -o models/dialogue --epochs 300
错误!
ruamel.yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/str'
in "/my/app/path/venv/lib/python3.6/site-packages/rasa_core/schemas/domain.yml", line 4, column 11
Rasa 核心
从rasa_core查看domain.yml,似乎问题出在双感叹号!!
domain.yml
allowempty: True
mapping:
intents:
type: !!python/str "seq"
阅读,来自here 的另一篇关于双感叹号的帖子。
【问题讨论】: