GoogleCloudPlatform / cloudml-samples

Cloud ML Engine repo. Please visit the new Vertex AI samples repo at https://github.com/GoogleCloudPlatform/vertex-ai-samples
https://cloud.google.com/ai-platform/docs/
Apache License 2.0
1.52k stars 856 forks source link

ERROR: [ml-engine]The required property [region] is not currently set in Molecules #392

Closed shiwang-gcp closed 5 years ago

shiwang-gcp commented 5 years ago

Describe the bug When ./run-cloud, got the following error: ERROR: (gcloud.ml-engine.jobs.submit.training) The required property [region] is not currently set.

What sample is this bug related to? molecules

To Reproduce

  1. Follow the steps in https://github.com/GoogleCloudPlatform/cloudml-samples/blob/master/molecules/README.md.
  2. Run command "./run-cloud --work-dir gs:///cloudml-samples/molecules"
  3. Got the error: ERROR: (gcloud.ml-engine.jobs.submit.training) The required property [region] is not currently set. It can be set on a per-command basis by re-running your command with the [--region] flag.

Expected behavior A clear and concise description of what you expected to happen.

System Information

jppr12 commented 5 years ago

Go to the function of training in the run-cloud file and add the region as in the image. I was with the same error and worked for me. ;) image

nnegrey commented 5 years ago

@davidcavazos PTAL

nnegrey commented 5 years ago

Thanks @davidcavazos.

@shiwang-gcp going to close this now, but please feel free to reopen if the issue persists or open a new issue if you find something else. Thanks for filing this! :)