0
votes

I'm using Google cloud machine learning. I would like to identify different images. Now I have trained my model with different type of image (using inception model of tensorflow), and I have created a version in Google machine learning with the results.

How can I get prediction about a new image? Do you have some idea to help me?

Many thanks!

1
would you share some code? - Martin Gottweis

1 Answers

0
votes

I'm not quite clear on what you're asking. Without more information, I will just point you to the Google blog post and code sample that detail how to train on images.

But back to what I think you're asking...for a model to be deployed to Google Cloud ML a few things have to happen:

  • It needs to have its inputs and output collections declared in the Tensorflow model before saving the checkpoint.
  • The model checkpoint needs to be copied to GCS
  • You must use gcloud to create a new "model" (as far as gcloud is concerned, a model is a namespace for many different tensorflow checkpoints) and then deploy your checkpoint to that gcloud model.

The prediction quickstart has a very similar example here.