rstudio / cloudml

R interface to Google Cloud Machine Learning Engine
https://tensorflow.rstudio.com/tools/cloudml/
65 stars 24 forks source link

failure in running the cloudml_train() which was successful before #215

Open snowlover173 opened 4 years ago

snowlover173 commented 4 years ago

I ran a cloudml_train('training.R',config="config.yml") which successfully ran a few months ago. This time it gave me the followng error:

Submitting training job to CloudML...

Error: ERROR: gcloud invocation failed [exit status 1]

[command] /usr/lib/google-cloud-sdk/bin/gcloud --account project-service-account@xxxxx.com --project xxxxx ai-platform jobs submit training cloudml_2020_08_11_xxxxx --job-dir=gs://xxxxx/r-cloudml/staging --package-path=cloudml-model --module-name=cloudml-model.cloudml.deploy --runtime-version=1.9 --region=us-central1 --config=cloudml-model/cloudml.yml -- Rscript

[output]

[errmsg] ERROR: (gcloud.ai-platform.jobs.submit.training) INVALID_ARGUMENT: Field: runtime_version Error: The specified runtime version '1.9' with the Python version '' is not supported or is deprecated. Please specify a different runtime version. See https://cloud.google.com/ml-engine/docs/runtime-version-list for a list of supported versions

Then I passed python version 2.7 and API version 2.1 in the config yml file which passed this error. However, it is not successful anymore and the job failed again.

has there been any change in this library? The program is the exact same one that I ran before.