是否可以访问我在Google Cloud shell中的本地目录?

问题描述 投票:0回答:1

我正在尝试在Google Cloud中运行Tensorflow对象分类器。问题是在训练命令中,请求cloud.yaml文件的本地路径。从Google Cloud Documentation指令中获取的代码如下:

# 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个回答
0
投票

我通过将Cloud.yaml文件放在我的Google云的根目录中来解决它。实际上可以从Google云终端调用该目录中的路径。

© www.soinside.com 2019 - 2024. All rights reserved.