ML Engine Runtime version and Python version not supported











up vote
1
down vote

favorite












I am trying to run Google clound ml-engine following this tutorial, when executing this command :



$ gcloud ml-engine jobs submit training `whoami`_object_detection_`date +%s`  
--job-dir=gs://${YOUR_GCS_BUCKET}/train
--packages dist/object_detection-0.1.tar.gz,slim/dist/slim-0.1.tar.gz,/tmp/pycocotools/pycocotools-2.0.tar.gz
--module-name object_detection.model_tpu_main
--runtime-version 1.10
--scale-tier BASIC_TPU
--region us-central1
--
--model_dir=gs://${YOUR_GCS_BUCKET}/train
--tpu_zone us-central1
--pipeline_config_path=gs://${YOUR_GCS_BUCKET}/data/pipeline.config


commands which answers me :



  ERROR: (gcloud.ml-engine.jobs.submit.training) INVALID_ARGUMENT: Field: runtime_version Error: The specified runtime version '1.10' with the Python version '' is not supported for TPU training.  Please specify a different runtime version. See https://cloud.google.com/ml/docs/concepts/runtime-version-list for a list of supported versions
- '@type': type.googleapis.com/google.rpc.BadRequest
fieldViolations:
- description: The specified runtime version '1.10' with the Python version '' is
not supported for TPU training. Please specify a different runtime version.
See https://cloud.google.com/ml/docs/concepts/runtime-version-list for a list
of supported versions
field: runtime_version


Because no version of python is detected, I added a --config=config.yaml argument to the command line:



config.yaml:



trainingInput:
pythonVersion: "3.5"


but the problem barely changed :



...
- description: The specified runtime version '1.10' with the Python version '3.5'
...


the runtime version list specify that runtime-version 1.10 is compatible with python 3.5, I also tried different runtime environement / python version which are required to work but my command keeps failling.










share|improve this question


















  • 1




    Seems you are trying to use Cloud TPU. If you look at Support for Cloud TPU (Beta), it says that version 1.9 is supported.
    – jdehesa
    Nov 22 at 11:25















up vote
1
down vote

favorite












I am trying to run Google clound ml-engine following this tutorial, when executing this command :



$ gcloud ml-engine jobs submit training `whoami`_object_detection_`date +%s`  
--job-dir=gs://${YOUR_GCS_BUCKET}/train
--packages dist/object_detection-0.1.tar.gz,slim/dist/slim-0.1.tar.gz,/tmp/pycocotools/pycocotools-2.0.tar.gz
--module-name object_detection.model_tpu_main
--runtime-version 1.10
--scale-tier BASIC_TPU
--region us-central1
--
--model_dir=gs://${YOUR_GCS_BUCKET}/train
--tpu_zone us-central1
--pipeline_config_path=gs://${YOUR_GCS_BUCKET}/data/pipeline.config


commands which answers me :



  ERROR: (gcloud.ml-engine.jobs.submit.training) INVALID_ARGUMENT: Field: runtime_version Error: The specified runtime version '1.10' with the Python version '' is not supported for TPU training.  Please specify a different runtime version. See https://cloud.google.com/ml/docs/concepts/runtime-version-list for a list of supported versions
- '@type': type.googleapis.com/google.rpc.BadRequest
fieldViolations:
- description: The specified runtime version '1.10' with the Python version '' is
not supported for TPU training. Please specify a different runtime version.
See https://cloud.google.com/ml/docs/concepts/runtime-version-list for a list
of supported versions
field: runtime_version


Because no version of python is detected, I added a --config=config.yaml argument to the command line:



config.yaml:



trainingInput:
pythonVersion: "3.5"


but the problem barely changed :



...
- description: The specified runtime version '1.10' with the Python version '3.5'
...


the runtime version list specify that runtime-version 1.10 is compatible with python 3.5, I also tried different runtime environement / python version which are required to work but my command keeps failling.










share|improve this question


















  • 1




    Seems you are trying to use Cloud TPU. If you look at Support for Cloud TPU (Beta), it says that version 1.9 is supported.
    – jdehesa
    Nov 22 at 11:25













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am trying to run Google clound ml-engine following this tutorial, when executing this command :



$ gcloud ml-engine jobs submit training `whoami`_object_detection_`date +%s`  
--job-dir=gs://${YOUR_GCS_BUCKET}/train
--packages dist/object_detection-0.1.tar.gz,slim/dist/slim-0.1.tar.gz,/tmp/pycocotools/pycocotools-2.0.tar.gz
--module-name object_detection.model_tpu_main
--runtime-version 1.10
--scale-tier BASIC_TPU
--region us-central1
--
--model_dir=gs://${YOUR_GCS_BUCKET}/train
--tpu_zone us-central1
--pipeline_config_path=gs://${YOUR_GCS_BUCKET}/data/pipeline.config


commands which answers me :



  ERROR: (gcloud.ml-engine.jobs.submit.training) INVALID_ARGUMENT: Field: runtime_version Error: The specified runtime version '1.10' with the Python version '' is not supported for TPU training.  Please specify a different runtime version. See https://cloud.google.com/ml/docs/concepts/runtime-version-list for a list of supported versions
- '@type': type.googleapis.com/google.rpc.BadRequest
fieldViolations:
- description: The specified runtime version '1.10' with the Python version '' is
not supported for TPU training. Please specify a different runtime version.
See https://cloud.google.com/ml/docs/concepts/runtime-version-list for a list
of supported versions
field: runtime_version


Because no version of python is detected, I added a --config=config.yaml argument to the command line:



config.yaml:



trainingInput:
pythonVersion: "3.5"


but the problem barely changed :



...
- description: The specified runtime version '1.10' with the Python version '3.5'
...


the runtime version list specify that runtime-version 1.10 is compatible with python 3.5, I also tried different runtime environement / python version which are required to work but my command keeps failling.










share|improve this question













I am trying to run Google clound ml-engine following this tutorial, when executing this command :



$ gcloud ml-engine jobs submit training `whoami`_object_detection_`date +%s`  
--job-dir=gs://${YOUR_GCS_BUCKET}/train
--packages dist/object_detection-0.1.tar.gz,slim/dist/slim-0.1.tar.gz,/tmp/pycocotools/pycocotools-2.0.tar.gz
--module-name object_detection.model_tpu_main
--runtime-version 1.10
--scale-tier BASIC_TPU
--region us-central1
--
--model_dir=gs://${YOUR_GCS_BUCKET}/train
--tpu_zone us-central1
--pipeline_config_path=gs://${YOUR_GCS_BUCKET}/data/pipeline.config


commands which answers me :



  ERROR: (gcloud.ml-engine.jobs.submit.training) INVALID_ARGUMENT: Field: runtime_version Error: The specified runtime version '1.10' with the Python version '' is not supported for TPU training.  Please specify a different runtime version. See https://cloud.google.com/ml/docs/concepts/runtime-version-list for a list of supported versions
- '@type': type.googleapis.com/google.rpc.BadRequest
fieldViolations:
- description: The specified runtime version '1.10' with the Python version '' is
not supported for TPU training. Please specify a different runtime version.
See https://cloud.google.com/ml/docs/concepts/runtime-version-list for a list
of supported versions
field: runtime_version


Because no version of python is detected, I added a --config=config.yaml argument to the command line:



config.yaml:



trainingInput:
pythonVersion: "3.5"


but the problem barely changed :



...
- description: The specified runtime version '1.10' with the Python version '3.5'
...


the runtime version list specify that runtime-version 1.10 is compatible with python 3.5, I also tried different runtime environement / python version which are required to work but my command keeps failling.







python bash tensorflow google-cloud-ml






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 22 at 10:47









Jean Bouvattier

506




506








  • 1




    Seems you are trying to use Cloud TPU. If you look at Support for Cloud TPU (Beta), it says that version 1.9 is supported.
    – jdehesa
    Nov 22 at 11:25














  • 1




    Seems you are trying to use Cloud TPU. If you look at Support for Cloud TPU (Beta), it says that version 1.9 is supported.
    – jdehesa
    Nov 22 at 11:25








1




1




Seems you are trying to use Cloud TPU. If you look at Support for Cloud TPU (Beta), it says that version 1.9 is supported.
– jdehesa
Nov 22 at 11:25




Seems you are trying to use Cloud TPU. If you look at Support for Cloud TPU (Beta), it says that version 1.9 is supported.
– jdehesa
Nov 22 at 11:25












1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










@jdehesa is right, the supported version is 1.9. The version 1.10 is not supported for training Cloud TPU models. change the runtime version editing this flag:



--runtime-version 1.9





share|improve this answer























  • I have the same problem with 1.8 but 1.9 seems to work fine, thanks!
    – Jean Bouvattier
    Nov 22 at 13:11






  • 1




    You can check the supported CMLE runtime versions for TPU in: cloud.google.com/ml-engine/docs/tensorflow/…. Currently, the only supported version is 1.9. And the engineering team is working on adding TPU support for Tensorflow 1.11 and 1.12.
    – lwz1992
    Nov 26 at 21:17











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53429231%2fml-engine-runtime-version-and-python-version-not-supported%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote



accepted










@jdehesa is right, the supported version is 1.9. The version 1.10 is not supported for training Cloud TPU models. change the runtime version editing this flag:



--runtime-version 1.9





share|improve this answer























  • I have the same problem with 1.8 but 1.9 seems to work fine, thanks!
    – Jean Bouvattier
    Nov 22 at 13:11






  • 1




    You can check the supported CMLE runtime versions for TPU in: cloud.google.com/ml-engine/docs/tensorflow/…. Currently, the only supported version is 1.9. And the engineering team is working on adding TPU support for Tensorflow 1.11 and 1.12.
    – lwz1992
    Nov 26 at 21:17















up vote
2
down vote



accepted










@jdehesa is right, the supported version is 1.9. The version 1.10 is not supported for training Cloud TPU models. change the runtime version editing this flag:



--runtime-version 1.9





share|improve this answer























  • I have the same problem with 1.8 but 1.9 seems to work fine, thanks!
    – Jean Bouvattier
    Nov 22 at 13:11






  • 1




    You can check the supported CMLE runtime versions for TPU in: cloud.google.com/ml-engine/docs/tensorflow/…. Currently, the only supported version is 1.9. And the engineering team is working on adding TPU support for Tensorflow 1.11 and 1.12.
    – lwz1992
    Nov 26 at 21:17













up vote
2
down vote



accepted







up vote
2
down vote



accepted






@jdehesa is right, the supported version is 1.9. The version 1.10 is not supported for training Cloud TPU models. change the runtime version editing this flag:



--runtime-version 1.9





share|improve this answer














@jdehesa is right, the supported version is 1.9. The version 1.10 is not supported for training Cloud TPU models. change the runtime version editing this flag:



--runtime-version 1.9






share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 28 at 16:38

























answered Nov 22 at 12:49









Alex Riquelme

43718




43718












  • I have the same problem with 1.8 but 1.9 seems to work fine, thanks!
    – Jean Bouvattier
    Nov 22 at 13:11






  • 1




    You can check the supported CMLE runtime versions for TPU in: cloud.google.com/ml-engine/docs/tensorflow/…. Currently, the only supported version is 1.9. And the engineering team is working on adding TPU support for Tensorflow 1.11 and 1.12.
    – lwz1992
    Nov 26 at 21:17


















  • I have the same problem with 1.8 but 1.9 seems to work fine, thanks!
    – Jean Bouvattier
    Nov 22 at 13:11






  • 1




    You can check the supported CMLE runtime versions for TPU in: cloud.google.com/ml-engine/docs/tensorflow/…. Currently, the only supported version is 1.9. And the engineering team is working on adding TPU support for Tensorflow 1.11 and 1.12.
    – lwz1992
    Nov 26 at 21:17
















I have the same problem with 1.8 but 1.9 seems to work fine, thanks!
– Jean Bouvattier
Nov 22 at 13:11




I have the same problem with 1.8 but 1.9 seems to work fine, thanks!
– Jean Bouvattier
Nov 22 at 13:11




1




1




You can check the supported CMLE runtime versions for TPU in: cloud.google.com/ml-engine/docs/tensorflow/…. Currently, the only supported version is 1.9. And the engineering team is working on adding TPU support for Tensorflow 1.11 and 1.12.
– lwz1992
Nov 26 at 21:17




You can check the supported CMLE runtime versions for TPU in: cloud.google.com/ml-engine/docs/tensorflow/…. Currently, the only supported version is 1.9. And the engineering team is working on adding TPU support for Tensorflow 1.11 and 1.12.
– lwz1992
Nov 26 at 21:17


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53429231%2fml-engine-runtime-version-and-python-version-not-supported%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Contact image not getting when fetch all contact list from iPhone by CNContact

count number of partitions of a set with n elements into k subsets

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks