Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我用的是rasa 2.0版本,train的时候显示'KerasPolicy' could not be loaded #42

Open
ZXR-v2 opened this issue Dec 22, 2020 · 2 comments

Comments

@ZXR-v2
Copy link

ZXR-v2 commented Dec 22, 2020

用python -m rasa train --config configs/config.yml --domain configs/domain.yml --data data/来训练的时候出现InvalidPolicyConfig: Module for policy 'KerasPolicy' could not be loaded. Please make sure the name is a valid policy.是不是因为2.0以上版本没有这个策略?谢谢解答

@ZXR-v2
Copy link
Author

ZXR-v2 commented Dec 22, 2020

换成官网给的core的train的默认配置后,可正常运行

@Banana-Basilisk
Copy link

Banana-Basilisk commented Feb 4, 2021

这份代码用的是rasa 1.0 版本,需要将对应的policy替换成更新后的版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants