![](/img/trans.png)
[英]Issue in connecting Python with MySQL on Google Cloud Platform
[英]Google Cloud Platform Training Issue
系統信息
描述一下我可以在本地訓練模型的問題 。 准確度還不錯,但我想嘗試使用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.