MirrorStrategy没有看到GPU-INFO:tensorflow:未使用Distribute Coordinator

时间:2019-01-30 14:28:51

标签: tensorflow tensorflow-estimator

我正在尝试使用curl https://api.github.com/search/repositories?q=tetris+language:assembly&sort=stars&order=desc 测试模型的分发方式。我正在Google Colab上使用MirrorStrategy API。

但是一旦我运行代码

Estimator

我收到警告:

distribution = tf.contrib.distribute.MirroredStrategy()
config = tf.estimator.RunConfig(train_distribute= distribution,
                                model_dir = 'tf_logs/test')

我在Colab上打开了GPU:

INFO:tensorflow:Initializing RunConfig with distribution strategies.
INFO:tensorflow:Not using Distribute Coordinator.

我还在带有多个GPU的EC2实例上对其进行了测试。您知道这玩意怎么了吗?

作为参考,请查看并运行此code

0 个答案:

没有答案
相关问题