向gcloud提交培训作业时出错 [英] Error when submitting training job to gcloud

查看:141
本文介绍了向gcloud提交培训作业时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不熟悉Google Cloud培训.

I am new to training on Google Cloud.

在执行培训工作时,出现以下错误:

When I am running the training job, I get the following error:

(gcloud.ml-engine.jobs.submit.training) Could not copy [research/dist/object_detection-0.1.tar.gz] to [training/packages/c5292b23e57f357dc2d63baab473c04337dbadd2deeb10965e743cd8422b964f/object_detection-0.1.tar.gz]. Please retry: HTTPError 404: Not Found

我正在使用它来执行培训工作

I am using this to run the training job

gcloud ml-engine jobs submit training job1 \     
--job-dir=gs://${ml-project-neu}/training \
--packages research/dist/object_detection-0.1.tar.gz,research/slim/dist/slim-0.1.tar.gz \
--module-name object_detection.train \
--config cloud.yml \
--runtime-version=1.4
-- \
--train_dir=gs://${ml-project-neu}/training \
--pipeline_config_path=gs://${ml-project-neu}/data/faster_rcnn_inception_v2_pets.config

推荐答案

确保$ {ml-poject-neu}有效(在您的情况下,它可能是空字符串);确保存在gs://$ {ml-project-neu}.并确保您与gcloud一起使用的凭据可以访问您的GCS存储桶(考虑运行gcloud auth登录).

Make sure ${ml-poject-neu} is valid (it may be the empty string in your case); Make sure gs://${ml-project-neu} exists. And make sure the credentials you are using with gcloud have access to your GCS bucket (consider running gcloud auth login).

这篇关于向gcloud提交培训作业时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆