Google Cloud ML Engine is a managed service that offers training and/or prediction services using Machine Learning models.
Questions tagged [google-cloud-ml]
1007 questions
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
Is it possible to connect to the private IP of a Cloud SQL instance in GCP Vertex AI pipeline?
I am working on a pipeline to perform data transformation of data residing on GCP cloud SQL with private IP on a different project by using the Vertex AI pipeline. I am not able to get any documents regarding connecting to Cloud SQL in it.
Does…

Rituraj kumar
- 349
- 1
- 4
- 15
4
votes
3 answers
google ai platform vs ml engine
I did lots of search, but I cannot understand what the difference between google ai platform and ml engine.
It seems that both of them can be used for training and deploying models.
Other words like google-cloud-automl, google ai hub are also very…

BAE
- 8,550
- 22
- 88
- 171
4
votes
3 answers
Tensorflow 2 on Google Cloud AI platform
Any news when Tensorflow 2 will be supported on Google Cloud AI platform?
According to the list, 1.15 is the last version to be supported: https://cloud.google.com/ml-engine/docs/runtime-version-list

André Mansikkaniemi
- 41
- 1
4
votes
0 answers
Can I use a custom tensorflow model in firebase function to make prediction?
I have my custom TensorFlow model. I would like to store that model in firebase storage and write a firebase Function that can use the custom model for making predictions?
I am aware of this architecture, which can solve my issue.
But the problem…

Infinite Looper
- 200
- 8
4
votes
2 answers
ML-Engine unable to access job_dir directory in bucket
I am attempting to submit a job for training in ML-Engine using gcloud but am running into an error with service account permissions that I can't figure out. The model code exists on a Compute Engine instance from which I am running gcloud ml-engine…

Jay T
- 853
- 10
- 11
4
votes
2 answers
Understanding inputs for google ai platform custom prediction routines
I am following this documentation on custom prediction routines and I am trying to understand how the inputs for custom prediction routine looks like. The code to send the input looks like this:
instances = [
[6.7, 3.1, 4.7, 1.5],
…

DarioB
- 1,349
- 2
- 21
- 44
4
votes
0 answers
Cannot deploy a trained model via custom prediction routine. Fails with model load error
I am trying to deploy a custom prediction routine, that categories text. I trained a model and provided the .pkl in the cloud storage model directory. Model version creation fails with:
ERROR: (gcloud.beta.ai-platform.versions.create) Bad model…

Bharati
- 43
- 4
4
votes
0 answers
Using google cloud ml gpu on python 3.7
I am trying to run a ML model on google cloud ML. I am using pytorch and want to use the GPU. Using the standard Python3.6 version installed on the Google cloud VM, I get an error described below and tried solving it by upgrading the Python version…

user284639
- 53
- 4
4
votes
2 answers
"Request payload size exceeds the limit" in google cloud json prediction request
I am trying to serve a prediction using google cloud ml engine. I generated my model using fast-style-transfer and saved it on my google cloud ml engine's models section. For input it use float32 and so I had to convert my image in this…

Meow Meow I'm a Cow
- 159
- 1
- 9
4
votes
1 answer
No module named trainer, Cloud ML Engine for TensorFlow Tutorial, Running Locally
Tutorial I am following
Have been attempting to follow the Google tutorial to use ML Engine for TensorFlow. Have gotten stuck where it says "run a local training job" with the error
/usr/bin/python: No module named trainer
Full command is:
gcloud…

hoss24
- 556
- 9
- 22
4
votes
1 answer
Implement online predictions of Google Cloud Machine Learning Engine by Python
I want to send requests from App Engine to the model of ML Engine.
I built the sample code for testing on my local machine. However, I received the error 'UNAUTHENTICATED':
WARNING:root:No ssl package found. urlfetch will not be able to validate…

Henry Chen
- 95
- 7
4
votes
1 answer
How to read a utf-8 encoded binary string in tensorflow?
I am trying to convert an encoded byte string back into the original array in the tensorflow graph (using tensorflow operations) in order to make a prediction in a tensorflow model. The array to byte conversion is based on this answer and it is the…

NickDGreg
- 475
- 3
- 16
4
votes
2 answers
Prediction failed: contents must be scalar
I have successfully trained, exported and uploaded my 'retrained_graph.pb' to ML Engine. My export script is as follows:
import tensorflow as tf
from tensorflow.python.saved_model import signature_constants
from tensorflow.python.saved_model import…

Starchand
- 684
- 1
- 9
- 23
4
votes
1 answer
Distributed Tensorflow device placement in Google Cloud ML engine
I am running a large distributed Tensorflow model in google cloud ML engine. I want to use machines with GPUs.
My graph consists of two main the parts the input/data reader function and the computation part.
I wish to place variables in the PS…

Miguel Monteiro
- 389
- 1
- 2
- 16