Usage questions relating to Google Cloud Platform's Vertex AI: https://cloud.google.com/vertex-ai/docs
Questions tagged [google-cloud-vertex-ai]
692 questions
4
votes
3 answers
How to get authorization token for Google's Vertex AI service?
I am trying to call Google's Vertex AI API via REST to something like:
https://us-central1-aiplatform.googleapis.com/v1/projects/...
I am having trouble with figuring out where to get the "access token":
-X POST \
-H "Authorization: Bearer $(gcloud…

SandraIsCool
- 41
- 2
4
votes
2 answers
Python >= 3.8 container on GCP (Vertex AI Workbench)
Problem: Python 3.7 is outdated, yet prebuilt containers for Vertex AI Workbench are all are built w/ 3.7.
Is there a way to modify (e.g. rebuild the base containers that work w/ Vertex AI workbench), e.g. perhaps by setting an ARG command to…

Brian Bien
- 723
- 8
- 21
4
votes
2 answers
Google cloud vertex AI workbench notebook stuck on "starting"
I'm running a Jupyter Notebook on the Vertex AI workbench and getting the error below. It loads for an hour or two, then reverts back to a stopped state. It's a managed notebook, so I can't ssh to the notebook to recover my code, which is all I want…

Tanishq Kumar
- 263
- 1
- 13
4
votes
2 answers
Vertex AI - Deployment failed
I'm trying to deploy my custom-trained model using a custom-container, i.e. create an endpoint from a model that I created.
I'm doing the same thing with AI Platform (same model & container) and it works fine there.
At the first try I deployed the…

Roee
- 41
- 3
4
votes
2 answers
Reading Data in Vertex AI Pipelines
This is my first time using Google's Vertex AI Pipelines. I checked this codelab as well as this post and this post, on top of some links derived from the official documentation. I decided to put all that knowledge to work, in some toy example: I…

David Espinosa
- 760
- 7
- 21
4
votes
1 answer
Constructing a Vertex AI Pipeline with a custom training container and a model serving container
I'd like to be able to train a model with a training app container that I've made and saved to my artifact registry. I want to be able to deploy a model with a flask app and with a /predict route that can handle some logic -- not necessarily just…

Sanger Steel
- 51
- 4
4
votes
2 answers
Google Cloud Vertex AI with .Net
I am new to google cloud service VERTEX AI.
I am looking to Create, train, and deploy an AutoML text classification model through .Net application. I did not find anything for .Net with Vertex AI. If someone can please guide my to the location or…

tt0206
- 747
- 3
- 9
- 24
4
votes
2 answers
GCP Vertex AI Service Agent access to GCR image Error
I am getting the below error.
Does anyone have any idea how to solve it?
Failed to create pipeline job. Error: Vertex AI Service Agent
'XXXXX@gcp-sa-aiplatform-cc.iam.gserviceaccount.com' should be granted
access to the image…

Rituraj kumar
- 349
- 1
- 4
- 15
4
votes
1 answer
Specify signature name on Vertex AI Predict
I've deployed a tensorflow model in vertex AI platform using TFX Pipelines. The model have custom serving signatures but I'm strugling to specify the signature when I'm predicting.
I've the exact same model deployed in GCP AI Platform and I'm able…
4
votes
1 answer
Custom Container deployment in vertex ai
I am trying to deploy my custom container in vertex ai endpoint for predictions. The contents of the application are as follows.
Flask - app.py
import pandas as pd
from flask import Flask, jsonify,request
import tensorflow
import…

Piyush Pandey
- 121
- 9
4
votes
1 answer
How to schedule repeated runs of a custom training job in Vertex AI
I have packaged my training code as a python package and then am able to run it as a custom training job on Vertex AI. Now, I wanted to be able to schedule this job to run, say every 2 weeks, and re-train the model. The Scheduling settings in the…

racerX
- 930
- 9
- 25
4
votes
2 answers
what is the default password for the `jupyter` user on AI platform notebook VMs?
i just tried to install oh-my-zsh on my notebook instance. it asked for the jupyter user's password, but i have no idea.
i'm also tagging with gcp-ai-platform-notebook as the support page says to do. thanks in advance for any help here!

william_grisaitis
- 5,170
- 3
- 33
- 40
3
votes
3 answers
matching engine index creation failed
I want to create Matching Engine Index in Vertex AI, I was following this article step by step and got stuck in matching engine index…

user393014
- 445
- 1
- 8
- 15
3
votes
1 answer
Why do I get a 404 for googleapis.com/v1/projects chat-bison@001:predict?
I'm using the example curl I get…

Andrew Arrow
- 4,248
- 9
- 53
- 80
3
votes
1 answer
Vertex AI on G Cloud web interface : Unable to test model
Following the starter tutorial "Train a Tabular Model" I get the following error at the step of testing the model with the deployed endpoint. (As you can see in the image).
The dataset used for training the model is provided by google tutorial at…

BorisD
- 1,611
- 17
- 22