【问题标题】:Is it possible to get to the local directory of my in the Google Cloud shell?是否可以在 Google Cloud shell 中访问 my 的本地目录?
【发布时间】:2017-12-14 21:43:14
【问题描述】:

我正在尝试在 Google Cloud 中运行 Tensorflow 对象分类器。问题是在训练命令中,要求一个 cloud.yaml 文件的本地路径。取自 Google Cloud 文档说明的代码如下:

# From tensorflow/models/research/
gcloud ml-engine jobs submit training object_detection_`date +%s` \
    --job-dir=gs://${TRAIN_DIR} \
    --packages dist/object_detection-0.1.tar.gz,slim/dist/slim-0.1.tar.gz            \
    --module-name object_detection.train \
    --region us-central1 \
    --config **${PATH_TO_LOCAL_YAML_FILE}** \
    -- \
    --train_dir=gs://${TRAIN_DIR} \
    --pipeline_config_path=gs://${PIPELINE_CONFIG_PATH}

【问题讨论】:

  • 也发布错误信息以获得更清晰

标签: google-app-engine tensorflow google-cloud-platform google-cloud-storage


【解决方案1】:

我通过将 Cloud.yaml 文件放在我的 Google 云的根目录中解决了这个问题。实际上可以从谷歌云终端调用该目录中的路径。

【讨论】:

    猜你喜欢
    • 2023-03-24
    • 2017-08-19
    • 1970-01-01
    • 1970-01-01
    • 2017-05-10
    • 1970-01-01
    • 2023-03-29
    • 1970-01-01
    相关资源
    最近更新 更多