ปัญหาการฝึกอบรมแพลตฟอร์ม Google Cloud

ข้อมูลระบบ

  1. แพลตฟอร์มระบบปฏิบัติการและการจัดจำหน่าย: Windows 10 64 บิต
  2. TensorFlow ติดตั้งจาก (แหล่งที่มาหรือไบนารี): binary
  3. เทนเซอร์โฟลว์เวอร์ชัน :1.4.0
  4. Python เวอร์ชัน 3.5.2 (v3.5.2:4def2a2901a5 25 มิ.ย. 2559 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. 

person kannan k    schedule 18.12.2017    source แหล่งที่มา


คำตอบ (1)


เมื่อคุณรวมตัวเลือกแบบกำหนดเอง เช่น --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
person MatthewScarpino    schedule 18.12.2017
comment
เฮ้! ขอบคุณ! ฉันสามารถเรียกใช้ได้ในครั้งนี้ อย่างไรก็ตาม ฉันไม่สามารถติดตามมันบนเทนเซอร์บอร์ดได้ drive.google.com/open?id=1nHJtl5VrUEgBGkb40DJ_FFQYxC7-tbYX และ href="https://drive.google.com/open?id=193pH6Nr9IRjhMBiI72zlc5565oBWjXUn" rel="nofollow noreferrer">drive.google.com/open?id=193pH6Nr9IRjhMBiI72zlc5565oBWjXUn - person kannan k; 18.12.2017