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
1
vote
1 answer

Using custom dependencies in Google Cloud ML Engine

I am trying to use a python package that is not listed in PyPI with the Google Cloud ML Engine. This package has itself dependencies that even though are listed in PyPI are not installed by default in the ML engine environment, namely the Cython…
1
vote
1 answer

How do I get online predictions in javascript for my model on Cloud Machine Learning Engine?

I have successfully deployed on model on Cloud ML Engine and verified it is working with gcloud ml-engine models predict by following the instructions, now I want to send predictions to it from my web app / javascript code. How do I do that?
rhaertel80
  • 8,254
  • 1
  • 31
  • 47
1
vote
1 answer

.NET-Core GoogleCloudMlV1PredictRequest Execture Method Returns null Response

In .NET-Core C#, I am using Googles ml API for interacting with the engine. The code I have for my predict method is here string credPath = @".\appkey.json"; var json = File.ReadAllText(credPath); PersonalServiceAccountCred cr =…
Tyler Findlay
  • 607
  • 1
  • 4
  • 19
1
vote
0 answers

Getting tf.placeholder / tf.varaible value to a defined variable inside tf.Session() for google-ml-engine model

I'm using Tensorflow with Google ML engine for prediction. In order create make prediction , we need to create a model , train it and export it to .pb format with other graph meta data using SaveModel . I use sklearn (sckiit) for algorithm…
1
vote
1 answer

No logs, no output from Google Cloud ML Training Job

I am attempting to run a Training Job on Google's Cloud ML. The signs that I have of my job running are: Messages such as these indicating the package was built and installed: INFO 2017-06-07 15:14:01 -0700 master-replica-0 Successfully…
1
vote
1 answer

Tensorflow, google cloud ML: how to use previous checkpoint to train new images?

I am working with image classification and Tensorflow on Google Cloud Machine Learning. Everytime I train a new project, It works perfectly, but everytime I have an update on my dataset (upload new images to database) I have to retrain everything.…
1
vote
1 answer

Google ML Engine and Python Datastore API, 'Forbidden: 403 Request had insufficient authentication scopes.'

I'm running a TensorFlow model on Google ML Engine. When the model training is finished, I want to store a JSON string with the results to Datastore. For this, I am using the following: from gcloud import datastore def…
1
vote
2 answers

Process dies if profiling is turned on

I want to profile Tensorflow model on CloudML. When I use tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE), my process dies with non zero exit code without details of what happened. I tried adding and removing the code which turns on this…
1
vote
2 answers

Google Cloud ML exited with a non-zero status of 245 when training

I tried to train my model on Google Cloud ML using this sample code: import keras from keras import optimizers from keras import losses from keras import metrics from keras.models import Model, Sequential from keras.layers import Dense, Lambda,…
1
vote
0 answers

Getting an error when trying to run my tensorflow code on the cloud

I'm trying to get a tensorflow DNN code running on the gcloud. https://github.com/mozilla/DeepSpeech Currently I've succeeded with getting the the trainer to run locally using gcloud ml-engine local train --module-name trainer.task --package-path…
vr9494
  • 76
  • 6
1
vote
2 answers

Google cloud ML without trainer

Can we train a model by just giving data and related column names without creating trainer in Google Cloud ML either using Rest API or command line interface
Rukamesh Kumar
  • 474
  • 1
  • 4
  • 8
1
vote
1 answer

Google Cloud ML using Rest API

Can any one help me how to access google cloud ml service using Rest API in python. I have tried it using postman but it gives 404 in response everytime.I have some project on google cloud I just want to use all the apis available on…
Rukamesh Kumar
  • 474
  • 1
  • 4
  • 8
1
vote
1 answer

Tensorflow couldn't open CUDA library libcupti.so.8.0 during training on google cloud

I'm trying train a model using Tensorflow on the Google Cloud ml-engine. It seems that tensorflow can't get to the libcupti files on the cloud compute machine due to the LD_LIBRARY_PATH not pointing to the correct directory, as implied by the log…
1
vote
1 answer

Dataflow Error when running flowers-sample preprocessing

I am trying to use the preprocessing script contained in the flowers-sample (I saw that it has been modified today and it is no more deprecated). However, after installing the required packages, the pipeline fails and outputs these error…
1
vote
1 answer

How do I convert a CloudML Alpha model to a SavedModel?

In the alpha release of CloudML's online prediction service, the format for exporting model was: inputs = {"x": x, "y_bytes": y} g.add_to_collection("inputs", json.dumps(inputs)) outputs = {"a": a, "b_bytes": b} g.add_to_collection("outputs",…
rhaertel80
  • 8,254
  • 1
  • 31
  • 47