簡體   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