serving icon indicating copy to clipboard operation
serving copied to clipboard

Google Inception example

Open billidani7 opened this issue 10 years ago • 8 comments

I would appreciate it If you provide the Google Inception example compatible with TensorFlow serving like MNIST example.

Recently you have introduced a very nice transfer learning example for image retraining. Please provide some informations about exporting the retrained inception model with TensorFlow Serving Exporter module. It would be very helpful if you make a full working example like MNIST.

@kirilg I would greatly appreciate it if you could provide us a tutorial on how to send an image to a tensorflow serving server and get a response with the results.

Regards

billidani7 avatar Feb 23 '16 11:02 billidani7

Thanks for the suggestion. This interesting and is something we're also thinking about.

kirilg avatar Mar 09 '16 20:03 kirilg

Second that, A TF-serving example would be of great help. Thank-you very much.

Irtza avatar Mar 11 '16 14:03 Irtza

Hi @kirilg I'm trying to add the exporter code into retrain.py I have the signature missing: signature = exporter.classification_signature(input_tensor=x, scores_tensor=y) from mnist_exporty.py Using retrain.py, can you confirm for me if x is bottleneck_tensor and y is the tensor named final_tensor_name?

gitfrida avatar Mar 11 '16 16:03 gitfrida

Thank you @kirilg.

We look forward to hearing from you soon.

billidani7 avatar Mar 22 '16 11:03 billidani7

@gitfrida adding @fangweili regarding the signature question and modifying retrain.py in general. We're now thinking about potential future improvements to the exporter, so it would be worth discussing your proposed changes with him to see how that lines up.

kirilg avatar Mar 22 '16 16:03 kirilg

We have released the serving example for the Inception model: http://tensorflow.github.io/serving/serving_inception

@gitfrida - I am not familiar with the model of retrain.py, and it really depends on how you want to build your inference graph. But if you want to use classification_signature, x should be the input for your inference graph, and y should be the classification score tensor.

fangweili avatar Mar 23 '16 06:03 fangweili

Excellent, just what I was looking for. thank-you @fangweili

Irtza avatar Mar 23 '16 13:03 Irtza

Closing this issue since it was originally meant to track the release of an Inception example, which is now available.

@gitfrida if you have followup questions, please feel free to open a new issue and we'll continue the discussion there. Thanks.

kirilg avatar Apr 04 '16 17:04 kirilg