Questions tagged [google-cloud-ai]
49 questions
2
votes
1 answer
how to reduce input size for mask-RCNN trained model while running prediction on google cloud platform
I am trying to use Google AI Platform prediction to perform object recognition using Mask RCNN. After spending close to two weeks, I was able to:
find out how to train on Google Cloud
convert the model from h5 to the SavedModel format required by…

akshay pai
- 122
- 12
1
vote
0 answers
Is TabNet's mask explanation biased?
I have been reading about TabNet model and it's predictions "explanations" through the attentive transformers' masks values.
However, if the inputs values are not normalized, aren't this masks values simply a normalization scalar (and not a…

Loris Pilotto
- 247
- 1
- 8
1
vote
0 answers
Vertex AI Custom Container Training Job python SDK - InvalidArgument 400 error
I'm attempting to run a Vertex AI custom training job using the python SDK, following the general instructions laid out in this readme. My code is as follows (sensitive data removed):
job = aiplatform.CustomContainerTrainingJob(
…

JmeCS
- 497
- 4
- 17
1
vote
1 answer
Vertex AI returns a different result from the local tflite model
I uploaded my tflite model on Vertex AI and made an endpoint, and I requested inference with some input value, but it returns a different result from my local tflite model's inference result.
The input value is float32 array(actually sampled audio…

pizzicato Lee
- 11
- 2
1
vote
1 answer
Error when trying to use CustomPythonPackageTrainingJobRunOp in VertexAI pipeline
I am using the google cloud pipeline component CustomPythonPackageTrainingJobRunOp in a VertexAI pipeline . I have been able to run this package successfully as a CustomTrainingJob before. I can see multiple (11) error messages in the logs but the…

racerX
- 930
- 9
- 25
1
vote
1 answer
Can't iterate over files within a folder in google cloud notebooks instance
I am using the notebooks instance within the AI platform in google cloud console. I have uploaded a folder inside which contains around 30 csv files.
I run the following code to iterate over the files,
for subdir, dirs, files in…

anarchy
- 3,709
- 2
- 16
- 48
1
vote
1 answer
Not able to deploy Kubeflow pipelines to GKE cluster
I have created a GKE cluster according to the requirements (https://cloud.google.com/ai-platform/pipelines/docs/configure-gke-cluster) of the Kubeflow Pipelines as following:
3 nodes with at least 4GB ram and two CPUs
Custom service account with…

gixen
- 279
- 4
- 20
1
vote
2 answers
How do you scale Google Cloud Document AI processing?
From https://cloud.google.com/document-ai/docs/process-forms, I can see some example of processing single files. But in most cases, companies have buckets of documents. In that case, how do you scale the document ai processing? Do you use the…

Kevin Eid
- 226
- 5
- 9
1
vote
2 answers
Google Cloud Text to Speech (TTS) - Can't Get Phonemes to Work
I'm using Google's example for phoneme implementation as follows:
tomato
I'm using Postman to send as POST requests to the https://texttospeech.googleapis.com/v1/text…

Trevor
- 139
- 1
- 10
1
vote
0 answers
Data Input JSON Format for Tensorflow Saved Model
I'm new to tensorflow and I've served the saved model to Google AI Platform models. However, I am having issues with the format of sample input data. Can you please guide how should I format the data input based on the requested format below? Thanks…

LLTeng
- 385
- 3
- 4
- 15
1
vote
2 answers
google AI model serving vs kfsering
We are going to do model serving infrastructure. I am comparing Google AI Prediction and kfserving. But I cannot find enough documents about the features of google ai serving and how it is implemented.
It seems that gcloud ai-platform versions…

BAE
- 8,550
- 22
- 88
- 171
1
vote
1 answer
Load pre-trained keras model for continued training on google cloud
I am trying to load a pre-trained Keras model, for continued training on google cloud. It works locally, by simply loading the discriminator and generator with
model = load_model('myPretrainedModel.h5')
But obviously this doesn't work on google…

Tessmus
- 149
- 2
- 9
1
vote
0 answers
Google AI Platform: kernel dying
I am trying to run a simple Python script for data cleaning in a notebook on Google Cloud AI Platform.
The notebook has 4 CPUs and 15GB RAM. I tried cleaning data chunks of different sizes, from 10GB to 200MB, the issue remains the same: the kernel…

Son
- 159
- 1
- 11
1
vote
2 answers
Google Cloud AI Platform: I can't create a model version using the "--accelerator" parameter
In order to get online predictions, I'm creating a model version on the ai-platform. It works fine unless I want to use the --accelerator parameter.
Here is the command that works:
gcloud alpha ai-platform versions create [...] --model [...]…

user6377061
- 65
- 8
0
votes
1 answer
Google Document AI Api integration in ReactJs
Have anyone integrated Cloud Document AI Api in ReactJs?
If so, what’s the way procedure of it’s integration?
https://cloud.google.com/document-ai/docs/reference/rest
I didn’t found any proper way to integrate it in ReactJs.

Aqib
- 1
- 1