pleas help me i cannot solve this
ERROR: (gcloud.beta.ml.models.versions.create) FAILED_PRECONDITION: Field: version.deployment_uri Error: The model directory gs://v
This command has since been updated to gcloud ml-engine versions create
.
It is recommended to run gcloud components update
to install the latest GCloud, then follow the new instructions for deploying your own models to Cloud ML Engine.
I am new to Google Cloud. I have also got the same kind of issue. When I was trying to create version for model. I have resolved it.
you need to do two steps:
Export model --> it will give you saved_model.pbtxt, I am using tensorflow so I have used export_savedmodel()
Upload saved_model.pbtxt & variables folder to storage and try