0

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

Ibere Spadoto
  • 171
  • 13
  • 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 Jun 16 '17 at 15:21

1 Answers1

1

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"}]}
Sᴀᴍ Onᴇᴌᴀ
  • 8,218
  • 8
  • 36
  • 58
Toby
  • 86
  • 4