Posts

Showing posts with the label google-cloud-ml

No prediction results in response from Google ML Engine online prediction request

Image
No prediction results in response from Google ML Engine online prediction request I've got a model set up and running on Google ML Engine, which I can use successfully from my personal computer. Now I'm trying to set up Firebase Cloud Functions to make calls to my ML Engine model. I'm really close (I think) but I'm hitting a wall now. My prediction requests are being received by ML Engine, but I am not getting the prediction results in the callback function. results.predictions is always null, and when I stringified results I am seeing this: results.predictions results and Stackdriver shows the request being successfully sent: You can also see on the ML Engine Models dashboard, that the Last use time does reflect when I am calling the cloud function. Last use time But I can't figure out why I'm not getting the prediction results back from ML Engine. This is what I have been following as a guide for setting up my Cloud Functions: https://github.com/GoogleClo...