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

测试nlu模型时报错 #7

Open
gcong66 opened this issue May 16, 2019 · 3 comments
Open

测试nlu模型时报错 #7

gcong66 opened this issue May 16, 2019 · 3 comments

Comments

@gcong66
Copy link

gcong66 commented May 16, 2019

测试NLU模型报了如下错误
image
我的命令是:
python -m rasa_nlu.server --path models/nlu
curl -XPOST 192.168.109.232:5000/parse -d '{"q":"我要查案子", "project": "default", "model": "current"}'
我的模型文件夹路径是:xx\models\nlu\default\current
请问这是什么原因?

@fishguysword
Copy link

你估计是在windows下跑的,在linux上木有这个问题

@xiaoxiong74
Copy link
Owner

此demo未在windows上测试,windows应该问题不大,应该是字符集编码问题,这个百度应该可以解决了

@ly987
Copy link

ly987 commented Feb 19, 2021

楼主解决了吗,我也遇到这个问题,是这行代码报的错:request.content.read().decode('utf-8')

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

4 participants