Tensorflow:在运行分布式训练作业时记录标量

时间:2018-08-04 22:01:54

标签: python tensorflow google-cloud-platform google-cloud-storage

在Tensorflow中编写规模摘要很容易:

 writer = tf.summary.FileWriter(log_dir)
 summary = tf.Summary(value=[tf.Summary.Value(tag='tag',
                                                 simple_value=tensor)])
 writer.add_summary(summary, step)

但是,出于明显的原因,我想利用distributed training。这需要写入和读取Google Cloud Storage中的文件。

我没有在FileWrite中看到任何通过http写入云存储的选项。有没有人为云存储实现记录器?

谢谢。

0 个答案:

没有答案