From 0a5621dd8529296f9767c66306937fcb73861314 Mon Sep 17 00:00:00 2001 From: thinkpad_xiao Date: Tue, 25 Jul 2017 11:43:13 +0800 Subject: [PATCH 1/2] use inception_saved_model not inception_export --- demo.ipynb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demo.ipynb b/demo.ipynb index 8c8a306..e2d5cc4 100644 --- a/demo.ipynb +++ b/demo.ipynb @@ -139,7 +139,7 @@ "```\n", "curl -O http://download.tensorflow.org/models/image/imagenet/inception-v3-2016-03-01.tar.gz\n", "tar xzf inception-v3-2016-03-01.tar.gz\n", - "bazel-bin/tensorflow_serving/example/inception_export --checkpoint_dir=inception-v3 --export_dir=inception-export\n", + "bazel-bin/tensorflow_serving/example/inception_saved_model --checkpoint_dir=inception-v3 --output_dir=inception-export\n", "```\n", "![Image of Yaktocat](https://1.bp.blogspot.com/-O7AznVGY9js/V8cV_wKKsMI/AAAAAAAABKQ/maO7n2w3dT4Pkcmk7wgGqiSX5FUW2sfZgCLcB/s1600/image00.png)\n", "\n", @@ -181,21 +181,21 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 2", "language": "python", - "name": "python3" + "name": "python2" }, "language_info": { "codemirror_mode": { "name": "ipython", - "version": 3 + "version": 2 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.6.0" + "pygments_lexer": "ipython2", + "version": "2.7.12" } }, "nbformat": 4, From 0ca23c4c134b66f68c6861a87edcfabd314e094b Mon Sep 17 00:00:00 2001 From: thinkpad_xiao Date: Tue, 25 Jul 2017 14:25:24 +0800 Subject: [PATCH 2/2] format change --- demo.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo.ipynb b/demo.ipynb index e2d5cc4..0bca449 100644 --- a/demo.ipynb +++ b/demo.ipynb @@ -101,11 +101,11 @@ "```\n", "\n", "Now we can clone Tensorflow serving into our dependency-ready container\n", - "\n", + "```\n", "git clone --recursive https://github.com/tensorflow/serving\n", "cd serving/tensorflow\n", "./configure\n", - "\n", + "```\n", "\n", "Now we need to build it using Google's Bazel build tool from inside our container. Bazel manages third party dependencies at code level, downloading and building them, as long as they are also built with Bazel. \n", "\n",