Questions tagged [google-cloud-ml-engine]

Google Cloud ML Engine is a managed, scalable service that enables building and training of machine learning models in the cloud as part of the Google Cloud suite of products: including TensorFlow, storage, BigQuery, Dataflow and others.

185 questions
4
votes
1 answer

Issue exporting trained Tensorflow model parameters to SavedModel format

I have built a system that leverages Google ML Engine to train various text classifiers using a simple flat CNN architecture (borrowed from the excellent WildML post). I've also leveraged heavily the ML Engine trainer template which exists here -…
4
votes
1 answer

Tensorboard + Keras + ML Engine

I currently have Google Cloud ML Engine setup to train models created in Keras. When using Keras, it seems ML Engine does not automatically save the logs to a storage bucket. I see the logs in the ML Engine Jobs page but they do not show in my…
hellowill89
  • 1,538
  • 2
  • 15
  • 26
4
votes
0 answers

Best way to store images for Google Cloud Machine Learning project?

I am running a Machine Learning project using Google Cloud Platform with Tensorflow and Keras. I have about 30,000 PNG images in my dataset. When I run it locally, Keras has great utilities to load images but Google Cloud Services needs to use…
4
votes
4 answers

Tensorflow with GPU on Google Cloud

I have a model on Google Machine Learning using tensorflow, and it's ok. Now I want to do some predicts using the GPU. I saw this link, but it tells about trainning with GPU not prediction. There's nothing about GPU in prediction session. Someone…
RMH
  • 222
  • 1
  • 11
4
votes
1 answer

Deploy a model on ml-engine, exporting with tf.train.Saver()

I want to deploy a model on the new version of Google ML Engine. Previously, with Google ML, I could export my trained model creating a tf.train.Saver(), saving the model with saver.save(session, output). So far I've not been able to find out if the…
EffePi
  • 356
  • 2
  • 13
3
votes
0 answers

gcloud ml-engine predict error "Expected float32 got unicode"

I've successfully deployed locally trained TF model to ML-engine however upon invoking test command for prediction: gcloud ml-engine predict --model=$modelname --text-instances=test.txt I got this error: { "error": "Prediction failed: Error…
3
votes
2 answers

Multihot encoding in tensoflow (google cloud machine learning, tf estimator api)

I have a feature like a post tag. So for each observation the post_tag feature might be a selection of tags like "oscars,brad-pitt,awards". I'd like to be able to pass this as a feature to a tensorflow model build using the estimator api running on…
3
votes
1 answer

Packaging keras tokenizer/word index for use in google-cloud-ml-engine

I've created a text classifier in Keras, and I can train the Keras model on Cloud ML just fine: the model is subsequently deployed on Cloud ML. However, when passing along text to classify, it returns the wrong classifications: I suspect strongly…
Brian O'Halloran
  • 323
  • 3
  • 18
3
votes
1 answer

tf.parse_example for examples with sequence of sequence data

My Tensorflow model takes in a sequence of sequence data for each example, namely, sequences of character tokens in a sequence of words (e.g., [[3], [4,3],[6,1,20]]). I was able to do this before by padding a 3D numpy array [batch_size,…
3
votes
0 answers

Limit on a size of request for online predictions on Google Cloud ML Engine

I am trying to send a request to Cloud ML Engine and the feature vector is composed of 150,000 float values. With float16 precision and serialized as base64 this gets me to around 1.8 MB, and the limit for ML Engine requests is 1.57 MB (1572864…
Robert Lacok
  • 4,176
  • 2
  • 26
  • 38
3
votes
2 answers

How to deploy locally trained TensorFlow graph file to Google Cloud Platform?

I've followed the TensorFlow for Poets tutorial and replaced the stock flower_photos with a few classes of my own. Now I've got my labels.txt file and my graph.pb saved on my local machine. Is there a way for me to deploy this pre-trained model to…
3
votes
1 answer

Placeholder tensors require a value in ml-engine predict but not local predict

I've been developing a model for use with the cloud ML engine's online prediction service. My model contains a placeholder_with_default tensor that I use to hold a threshold for prediction significance. threshold = tf.placeholder_with_default(0.01,…
3
votes
1 answer

Google Cloud Machine Learning API Dot Net Client - Predict Request Failing

I have a trained model (CNN) deployed in Google Cloud Platform, from which I'm able to get predictions using either the Python client library, or the gcloud command. I am now trying to use the Dot Net client v1.25…
3
votes
1 answer

Using a nightly TensorFlow build for training with Cloud ML Engine

If I need to use a nightly TensorFlow build in a Cloud ML Engine training job, how do I do it?
Alexey Surkov
  • 396
  • 2
  • 6
3
votes
2 answers

Error when Submitting Job Training in Google Cloud ML

I'm currently trying to submit a job training on Google Cloud ML with the Facenet (a Tensorflow library for face recognition). I'm currently trying this (link is here) part of the library where it does the training for the model. Going to Google…
Mikebarson
  • 572
  • 7
  • 23
1
2
3
12 13