【问题标题】:How to access bucket data in VM instance - Google ML Cloud如何访问 VM 实例中的存储桶数据 - Google ML Cloud
【发布时间】:2018-12-23 05:12:06
【问题描述】:

我是 Google ML Cloud 的初学者。

目标:在虚拟机实例上读取 jupyter notebook 中的数据,并使用该数据运行 CNN 算法。

创建了一个存储桶并以以下格式在该存储桶中上传数据。

  • Dataset/Train/Dogs/用于训练的多张狗图像
  • Dataset/Train/Cats/用于训练的多张猫图像
  • Dataset/Test/Dogs/用于测试的多个狗图像
  • Dataset/Test/Cats/用于测试的多张猫图像

我想在安装在 VM 实例上的 jupyter notebook 中读取这些图像。

【问题讨论】:

    标签: google-cloud-platform google-cloud-storage google-compute-engine google-cloud-ml gsutil


    【解决方案1】:

    在 TensorFlow 中,只需使用 gs://bucket/.. 形式的文件名。如果需要通配符匹配,请使用 tf.glob

    如果您需要更多帮助,请发布代码

    【讨论】:

      猜你喜欢
      • 2017-08-05
      • 1970-01-01
      • 2019-10-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-02-16
      • 2019-09-29
      • 1970-01-01
      相关资源
      最近更新 更多