【问题标题】:Talos - import talos - cannot import name 'tf_utils'Talos - 导入 talos - 无法导入名称“tf_utils”
【发布时间】:2020-05-12 10:10:46
【问题描述】:

我安装了 talos,但它破坏了我的 Keras/Tensorflow 配置。

如果我运行 import talosimport keras

我明白了:

ImportError: 无法导入名称 'tf_utils'

当我安装 talos 时,它会将我的 Tensorflow 降级到 1.14,并将 Keras 更新到 2.3。
同时我有一个 Tensorflow-GPU 1.8(没有改变),这是我之前在虚拟环境中运行的。

【问题讨论】:

    标签: tensorflow keras talos


    【解决方案1】:

    Tensorflow 2.0 和 Keras 2.3 为我解决了这个问题

    【讨论】:

      【解决方案2】:

      您的问题是Tensorflow-gpu==1.8。将其替换为 Tensorflow-gpu==1.14 即可。

      【讨论】:

        猜你喜欢
        • 2021-10-26
        • 2020-01-18
        • 2021-11-10
        • 2019-11-23
        • 1970-01-01
        • 2017-08-11
        • 2021-02-19
        • 2014-01-29
        • 2016-11-21
        相关资源
        最近更新 更多