【问题标题】:How to use lib rasa without the tensorflow pipeline如何在没有 tensorflow 管道的情况下使用 lib rasa
【发布时间】:2019-09-13 00:23:33
【问题描述】:

我正在尝试使用 rasa lib 创建聊天机器人,但在尝试创建项目时遇到以下错误:

The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.

所以我想知道如何在不使用 tensorflow 管道的情况下安装 rasa lib。

谁能帮忙?

【问题讨论】:

    标签: tensorflow rasa


    【解决方案1】:

    您可以选择基于 spaCy 和 sklearn 的 Pretrained Embeddings 管道。为此,请将 config.yml 文件中的管道线更改为

    pipeline: "pretrained_embeddings_spacy"
    

    尽管如此,还是有必要弄清楚为什么 Tensorflow 无法在您的机器上运行,因为在某些用例中,Tensorflow 监督嵌入 make more sensethis thread 中的人建议安装 Anaconda 作为解决方案。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-07-30
      • 2018-08-14
      • 1970-01-01
      • 2022-06-22
      • 2022-01-03
      • 1970-01-01
      • 2021-01-16
      • 1970-01-01
      相关资源
      最近更新 更多