Tensorflow 向gcloud提交培训作业时出错

Tensorflow 向gcloud提交培训作业时出错,tensorflow,machine-learning,gcloud,google-cloud-ml,Tensorflow,Machine Learning,Gcloud,Google Cloud Ml,我刚开始在谷歌云上进行培训 运行培训作业时,出现以下错误: (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]. Plea

我刚开始在谷歌云上进行培训

运行培训作业时,出现以下错误:

(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
我用这个来进行培训工作

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 login)。

ml project neu是我的存储桶名称。我验证过了,但错误仍然存在。不知道该如何进行。您是否介意硬编码字符串“ml project neu”而不是使用环境变量,例如gcloud ml引擎作业提交培训作业1 \--job dir=gs://ml project neu/training \--packages research/dist/object_detection-0.1.tar.gz,research/slim/dist/slim-0.1.tar.gz \--模块名object\u detection.train \--config cloud.yml \--运行时版本=1.4----train\u dir=gs://ml project neu/training \--管道配置路径=gs://ml project neu/data/faster\u rcnn\u inception\u v2\u pets。config@OkDroid如果能帮助你,请考虑接受答案。