Questions tagged [google-prediction]

Google's cloud-based machine learning tools can help analyze your data to add machine learning features to your applications.

Google's cloud-based machine learning tools can help analyze your data to add machine learning features to your applications.

Learn more about the Google Prediction API: https://developers.google.com/prediction/

111 questions
0
votes
1 answer

Val_loss "Nan" After Decreasing Sample Size in the CSV File but Processed Data Is the Same

I have tried the following example, which works very well. In the example file, the values are stored in 10-minute intervals. However, since I need to bring in more values that are just hourly available, I deleted from the database all values that…
0
votes
2 answers

Create Version Failed. Bad model detected with error: "Error loading the model" - AI Platform Prediction

I created a model through AI Platform UI that uses a global endpoint. I am trying to deploy a basic tensorflow 1.15.0 model I exported using the Saved Model builder. When I try to deploy this model I get a Create Version Failed. Bad model detected…
0
votes
1 answer

Python Google Prediction example

predict_custom_model_sample( "projects/794xxx496/locations/us-central1/xxxx/3452xxx524447744", { "instance_key_1": "value", ... }, { "parameter_key_1": "value", ... } ) Google is giving this example, I am not understanding the…
Winthan Aung
  • 351
  • 1
  • 4
  • 11
0
votes
1 answer

Problem getting predictions with Scikit-learn on Google AI Platform: 'numpy.ndarray' object has no attribute 'lower'"

i'm fairly new to machine learning in general and want to store my model in the cloud in order to make online predictions. I successfully trained a Logistic Regression model with TfIdf vecotrizer (for Sentiment Analysis) on Scikit-learn locally…
0
votes
1 answer

ML-Engine Local Predict - Failed to Run Model

gcloud ml-engine local predict fails First I identified the required input.json structure with saved_model_cli show --all --dir saved_model/ Response: MetaGraphDef with tag-set: 'serve' contains the following…
0
votes
2 answers

Export a custom Keras model to be used for prediction with the Cloud ML Engine

I have difficulties exporting a custom VGG-Net (not exactly the one from Keras), that was trained with Keras, so that it can be used for the Google Cloud Predict API. I am loading my model with Keras. sess = tf.Session() K.set_session(sess) model =…
p13rr0m
  • 1,107
  • 9
  • 21
0
votes
1 answer

("Failed to load the model due to bad model data. tags: ['serve']\nNo op named HashTableV2 in defined operations.", 1)

I'm using GCP with GCS and GCMLE APIs to train my model and to predict on the cloud. I'm working on the census dataset. And the goal is to predict a profile's income. this is the github link of codes and scripts…
0
votes
1 answer

Prediction on GCP with ML Engine

I am working on GCP to predict, I'm using the census dataset, actually I'm discovering google APIs ( ML Engine ...). When I launch the prediction job , the job runs successfully, but it doesn't display the result. Can anyone help ? Do you have any…
0
votes
1 answer

Gcloud Internal Error while submitting training inside Docker container

I'm building a Docker container to submit ML training jobs using gcloud - the runnable is actually a Python program and gcloud is being executed via subprocess.check_output. Running the program outside a Docker container works just fine which makes…
0
votes
1 answer

Error Uploading data to deployed model for prediction from appengine. works fine from local system

I am facing problem Uploading data from appengine to deployed model for prediction. The function works fine from my local system, But when I deploy the application I get some error saying that data is not Json Serializable.I don't understand this…
0
votes
1 answer

Can Google Prediction API be used to develop Predictive Chat Bot?

I was just fiddling around different machine learning platforms and was planing to use Google predictive API for creating predictive chat bot. The issue that I am facing now is each request to the API requires OAuth authentication. The fact that I…
0
votes
1 answer

What parameters ml.projects.predict function have and how to call it?

I trying to use this https://cloud.google.com/ml/reference/rest/v1beta1/projects/predict function. By following this https://cloud.google.com/ml/docs/quickstarts/prediction example I uploaded deployable version of mnist code, created model and…
Kosmo零
  • 4,001
  • 9
  • 45
  • 88
0
votes
0 answers

continuous call for Google Prediction API gives response 'Undefined'

In my application I have been calling google prediction API continuously for an array(size: 4000 aprox) of strings. I observed that after some api calls it gives response as Undefined, it continues for some api calls and then it gives response fine.…
0
votes
2 answers

Google Prediction API for FAQ/Recommendation system

I want to build automated FAQ system where user can ask some questions and based on the questions and their answers from the training data, the application would suggest set of answers. Can this be achieved via Prediction API? If yes, how should I…
Abhinav Tyagi
  • 5,158
  • 3
  • 30
  • 60
0
votes
1 answer

Does google prediction api work for image recogniton

I read the official documentation for the api, but I wanted to make sure that it's possible for it to perform object recognition in images. More specifically, my idea is to provide a lot of images of parking lots with the number of parking spots…