1

我已经训练了一个模型,并且可以很好地使用“rasa shell”。然后我在kubernetes上部署了rasa-x,并尝试上传模型。这是问题所在,我的管道使用了 MITIE:

pipeline:
  - name: "MitieNLP"
    model: "total_word_feature_extractor_zh.dat"

但 rasa-x 似乎找不到“total_word_feature_extractor_zh.dat”,并出现错误:

Error loading MITIE model file: total_word_feature_extractor_zh.dat
Unable to open total_word_feature_extractor_zh.dat for reading.

如何解决这个问题?

4

1 回答 1

1

How did you deploy Rasa X to Kubernetes? You need to make sure your rasa service has access to the language model at ./total_word_feature_extractor_zh.dat.

于 2020-06-08T20:05:22.363 回答