繁体   English   中英

Google Cloud Platform培训问题

[英]Google Cloud Platform Training Issue

系统信息

  1. 操作系统平台和发行版:Windows 10 64位
  2. 从(源或二进制)安装的TensorFlow:二进制
  3. TensorFlow版本:1.4.0
  4. Python版本3.5.2(v3.5.2:4def2a2901a5,2016年6月25日,22:18:55)
  5. GPU:nVidia GeForce 755M 2GB CPU:Intel x64-64 Intel Core i5-4200M CPU @ 2.50Ghz,8GB内存

描述一下我可以在本地训练模型的问题 准确度还不错,但我想尝试使用GCP获得类似的结果。 我遵循了这里提到的google文档:

https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_on_cloud.md

https://medium.com/google-cloud/object-detection-tensorflow-and-google-cloud-platform-72e0a3f3bdd6

当我尝试使用以下命令在云上运行培训课程时:

gcloud ml-engine jobs submit training object_detection_188001 \ --job-dir=gs://weeddetection/train \ --packages dist/object_detection-0.1.tar.gz,slim/dist/slim-0.1.tar.gz \ --module-name object_detection.train \ --region us-central1 \ --config object_detection/samples/cloud/cloud.yml \ --train_dir=gs://weeddetection/train \ --pipeline_config_path=gs://weeddetection/data/ssd_mobilenet_v1_pets.config

我收到以下错误:

ERROR: (gcloud.ml-engine.jobs.submit.training) unrecognized arguments:
  \
  \
  \
  \
  \
  \
  --train_dir=gs://weeddetection/train
  \
  --pipeline_config_path=gs://weeddetection/data/ssd_mobilenet_v1_pets.config
weeddetection is my GC bucket name and 188001 is my shell ID. 

当包括--train-dir--pipeline_config_path类的自定义选项时,需要将它们放在命令的末尾。 您还需要使用--将命令的选项和选项分开。 尝试这个:

gcloud ml-engine jobs submit training object_detection_188001 --job-dir=gs://weeddetection/train --packages dist/object_detection-0.1.tar.gz,slim/dist/slim-0.1.tar.gz --module-name object_detection.train --region us-central1 --config object_detection/samples/cloud/cloud.yml -- --train_dir=gs://weeddetection/train --pipeline_config_path=gs://weeddetection/data/ssd_mobilenet_v1_pets.config

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM