Created
September 29, 2018 06:35
-
-
Save jkjung-avt/c7aa7697e442a1b381e07264ec9a1929 to your computer and use it in GitHub Desktop.
Example command to initiate a GCP ML training job
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# export YOUR_GCS_BUCKET=oxford-iiit-pets-dataset | |
gcloud ml-engine jobs submit training `whoami`_object_detection_pets_`date +%m_%d_%Y_%H_%M_%S` \ | |
--runtime-version 1.9 \ | |
--job-dir=gs://${YOUR_GCS_BUCKET}/model_dir \ | |
--packages /home/jkjung/src/tensorflow/models/research/dist/object_detection-0.1.tar.gz,/home/jkjung/src/tensorflow/models/research/slim/dist/slim-0.1.tar.gz,/tmp/pycocotools/pycocotools-2.0.tar.gz \ | |
--module-name object_detection.model_main \ | |
--region asia-east1 \ | |
--config cloud-ssd_mobilenet_v1_pets.yml \ | |
-- \ | |
--model_dir=gs://${YOUR_GCS_BUCKET}/model_dir \ | |
--pipeline_config_path=gs://${YOUR_GCS_BUCKET}/data/ssd_mobilenet_v1_pets.config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment