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.