0
votes

I'm using Google Cloud Machine Learning to predict images with labels. I've trained my model, named flower and I see the API end point at Google API Exporer but, when I call the API at API Explorer, I get the following error:

Image Error

I can't understanding why.

Thanks

Ibere

1
Our apologies for the problem and unhelpful error message. If you're willing to let us look into your logs, etc. to help, please send your project/model/version name to cloudml-feedback@ and reference this post.rhaertel80

1 Answers

1
votes

I guess you followed the tutorial from https://github.com/GoogleCloudPlatform/cloudml-samples/tree/master/flowers?

I had the exact same problem but with some trial and errors I succeeded with the payload:

{"instances":[{"image_bytes": {"b64": "/9j/4AAQ...rest of the base64..."}, "key": "0"}]}