When deploying a model to GCP Predict using Custom Prediction Routine, I'm getting this error:
ERROR: (gcloud.beta.ai-platform.versions.create) argument VERSION: Must be specified.
However, I do have the version specified like this:
!gcloud beta ai-platform versions create $VERSION_NAME_ \
--model=$MODEL_NAME \
--runtime-version=1.15 \
--python-version=3.7 \
--config=$CONFIG \
--origin=gs://$BUCKET_NAME/$PROJECT_NAME/$VERSION_NAME/model/ \
--package-uris=gs://$BUCKET_NAME/$PROJECT_NAME/$VERSION_NAME/$PACKAGE_NAME \
--prediction-class predict.Predictor
Also, see image below:
I tried upgrading the sdk to the latest version, but still getting the same error. Version info:
from ERROR: (gcloud.beta.ai-platform.versions.create) argument VERSION: Must be specified
No comments:
Post a Comment