【问题标题】:Using tensorflow_transform with tensorflow 2.0在 tensorflow 2.0 中使用 tensorflow_transform
【发布时间】:2019-10-09 13:44:05
【问题描述】:

安装 tensorflow 2 和 tensorflow_transform 后,在导入 tensorflow_transform 时出现错误: from tensorflow.contrib.boosted_trees.python.ops import gen_quantile_ops ModuleNotFoundError: No module named 'tensorflow.contrib'

所以 tensorflow_transform 似乎还没有在 tf2 上。有什么办法解决这个问题?谢谢

【问题讨论】:

    标签: tensorflow2.0 tensorflow-transform


    【解决方案1】:

    所有当前发布的 tensorflow-transform 版本都不支持 TF 2.0。 在此处查看此表:https://github.com/tensorflow/transform/blob/master/README.md#compatible-versions

    tensorflow-transform (0.14) 最新版本仅支持 TF 1.14。

    团队目前正致力于在未来版本中支持 TF 2.0。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-09
      • 1970-01-01
      • 2019-08-30
      • 2020-05-02
      • 1970-01-01
      • 2020-02-28
      • 2020-03-19
      • 2020-09-19
      相关资源
      最近更新 更多