When I create a version of a machine learning model (whether it is my own model or the ML Engine census example) using the command:
gcloud ml-engine versions create v1 \ --model $MODEL_NAME \ --origin $MODEL_BINARIES \ --runtime-version 1.4
I get an error saying: ERROR: (gcloud.ml-engine.versions.create) Failed accessing the model. Please make sure that the Cloud ML Api was enabled recently and retry. If that doesn't resolve this issue, please contact Cloud ML.
Things I tried:
- Different versions of --runtime-version
- Re-enabled ML Engine API, created models again, created successful jobs multiple times.
- To confirm that it is not an error with my own model, I again implemented the ML engine census tutorial from scratch. This tutorial had worked perfectly for me when I had tried in Feb 2018.
I still get the same error even for the tutorial.
Any pointers on how to fix this?
Has anyone tried to create model version as shown in the tutorial since April 19, 2018?
I'd appreciate your help.
{MODEL_VERSION} --model={MODEL_NAME} --origin={MODEL_PATH(PICKLED FILE)} --runtime-version="1.6" --framework="e.g SCIKIT_LEARN"
– Abdul Rehman