0

尝试设置 Unity3d ml-agents 时出现此错误

ImportError:无法导入名称“cluster_resolver”

按照https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Installation.md教程

从 tensorflow.contrib 导入 cluster_resolver

当我尝试运行时发生错误mlagents-learn --help

我在 MacOS 上使用 Python 3.6

4

1 回答 1

0

通过使用 Tensorflow 1.7.0 而不是教程中的 1.7.1 进行了修复。

于 2019-07-07T03:41:06.983 回答