crownpku / Rasa_NLU_Chi

Turn Chinese natural language into structured data 中文自然语言理解
Apache License 2.0
1.51k stars 422 forks source link

invalid model requested. Using default #101

Open aaronysl opened 4 years ago

aaronysl commented 4 years ago

服务端显示 invalid model requested. Using default 但是返回的结果缺失找不到intent localhost:rasa_nlu_chi cy$ curl -XPOST localhost:5000/parse -d '{"q":"感冒", "model": "model_20200327-172755"}' | python3 -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 147 0 99 100 48 13462 6527 --:--:-- --:--:-- --:--:-- 14142 { "intent": { "name": null, "confidence": 1.0 }, "entities": [], "text": "\u611f\u5192" } 有人能帮忙看看吗

aaronysl commented 4 years ago

训练了模型,放在models/里面的,但是status查看没有模型 localhost:rasa_nlu_chi cy$ curl localhost:5000/status { "available_projects": { "default": { "status": "ready", "available_models": [ "fallback" ], "loaded_models": [ "fallback" ] } }