{"id":56221,"date":"2018-06-05T08:43:12","date_gmt":"2018-06-04T23:43:12","guid":{"rendered":"https:\/\/www.sejuku.net\/blog\/?p=56221"},"modified":"2024-05-06T11:48:17","modified_gmt":"2024-05-06T02:48:17","slug":"56221","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/56221","title":{"rendered":"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f"},"content":{"rendered":"<p>\u4eca\u65e5\u306f\u3001<span style=\"color: #339966;\"><strong>TensorFlow<\/strong><\/span>\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u3001\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059\u305f\u3081\u306e<span style=\"color: #339966;\"><strong>TensorFlow Serving<\/strong><\/span>\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>TensorFlow Serving\u306f\u3001<\/p>\n<ul>\n<li><span style=\"color: #ff0000;\"><strong>TensorFlow\u3067\u5b66\u7fd2\u3057\u305f\u30e2\u30c7\u30eb\u3092\u6d3b\u7528\u3057\u3066\u3001\u9762\u767d\u305d\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u3067\u304d\u305d\u3046\u306a\u3093\u3060\u3051\u3069\u3001\u3069\u3046\u3084\u3063\u3066\u4e00\u822c\u516c\u958b\u3059\u308c\u3070\u3044\u3044\u306e\uff1f<\/strong><\/span>\n<\/li>\n<li><span style=\"color: #ff0000;\"><strong>\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u304b\u3089\u3001\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u6d3b\u7528\u3057\u305f\u3044\u306a\u2026\u3002<\/strong><\/span>\n<\/li>\n<li><span style=\"color: #ff0000;\"><strong>\u30e2\u30c7\u30eb\u306e\u5b66\u7fd2\u304c\u3055\u3089\u306b\u9032\u3093\u3067\u7cbe\u5ea6\u304c\u4e0a\u304c\u3063\u305f\u304b\u3089\u3001\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3057\u3066\u516c\u958b\u3057\u305f\u3044\uff01<\/strong><\/span>\n<\/li>\n<\/ul>\n<p>\u3068\u3044\u3063\u305f\u3001\u7591\u554f\u3084\u8981\u6c42\u306b\u5fdc\u3048\u3089\u308c\u308b\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<span style=\"color: #0000ff;\"><strong>TensorFlow Serving\u306e\u6982\u8981<\/strong><\/span>\u3068<span style=\"color: #0000ff;\"><strong>\u52d5\u4f5c\u3055\u305b\u308b\u307e\u3067\u306e\u30b9\u30c6\u30c3\u30d7<\/strong><\/span>\u3092\u7406\u89e3\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>TensorFlow Serving\u306e\u57fa\u672c\u7684\u306a\u3068\u3053\u308d\u3092\u3053\u306e\u8a18\u4e8b\u3067\u304a\u3055\u3048\u3066\u304a\u3051\u3070\u3001\u3044\u3056\u5fc5\u8981\u306b\u8feb\u3089\u308c\u305f\u3068\u304d\u306b\u30b9\u30e0\u30fc\u30ba\u306bTensorFlow Serving\u3092\u5c0e\u5165\u3067\u304d\u308b\u3067\u3057\u3087\u3046\uff01<\/p>\n<p>\u3067\u306f\u3001\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>TensorFlow Serving\u3068\u306f<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving01.png\" alt=\"tensor-serving01\" width=\"1085\" height=\"620\" class=\"alignnone size-full wp-image-56229\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving01.png 1085w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving01-150x86.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving01-300x171.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving01-640x366.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving01-810x463.png 810w\" sizes=\"(max-width: 1085px) 100vw, 1085px\" \/><\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/www.tensorflow.org\/serving\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tensorflow.org\/serving\/<\/a><\/p>\n<p><span style=\"color: #339966;\"><strong>TensorFlow Serving<\/strong><\/span>\u306f\u3001TensorFlow\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u672c\u756a\u74b0\u5883\u3067\u904b\u7528\u3059\u308b\u305f\u3081\u306e\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001<span style=\"color: #339966;\"><strong>MNIST<\/strong><\/span>\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u672c\u756a\u74b0\u5883\u3067\u5229\u7528\u3059\u308b\u5834\u5408\u3092\u4f8b\u306b\u3001TensorFlow Serving\u306e\u5229\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u5927\u307e\u304b\u306b\u3001\u4ee5\u4e0b\u306e<span style=\"color: #ff0000;\"><strong>3\u3064\u306e\u4f5c\u696d\u3092\u884c\u3044\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u2460GPU\u304c\u642d\u8f09\u3055\u308c\u3066\u3044\u308bPC\u306a\u3069\u3001\u6a5f\u68b0\u5b66\u7fd2\u3092\u5f97\u610f\u3068\u3059\u308b\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3092\u5229\u7528\u3057\u3066<span style=\"color: #0000ff;\"><strong>MNIST\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\uff08SavedModel\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u2461\u4f5c\u6210\u3057\u305fMNIST\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\uff08SavedModel\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\uff09\u3092\u3001Linux\u30b5\u30fc\u30d0\u30fc\u306a\u3069\u306b\u69cb\u7bc9\u3057\u305fTensorFlow Serving\u306b\u767b\u9332\u3057\u3066\u3001<span style=\"color: #ff0000;\"><strong>TensorFlow Serving\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u2462TensorFlow Serving\u306b\u5bfe\u3057\u3066\u3001<span style=\"color: #0000ff;\"><strong>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u4e88\u6e2c\u3057\u305f\u3044\u624b\u66f8\u304d\u6570\u5b57\u306e\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3059\u308b<\/strong><\/span>\u3068\u3001TensorFlow Serving\u304b\u3089\u4e88\u6e2c\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>TensorFlow Serving\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u3067\u884c\u3046\u4f5c\u696d\u306f\u3001\u672c\u6765\u306f\u2461\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u74b0\u5883\u69cb\u7bc9\u306e\u624b\u9593\u3092\u7701\u304f\u305f\u3081\u3001<span style=\"color: #339966;\"><strong>Windows 10 Pro<\/strong><\/span>\u306bTensorFlow Serving\u7528\u306e<span style=\"color: #339966;\"><strong>Docker\u30b3\u30f3\u30c6\u30ca<\/strong><\/span>\u3092\u4f5c\u6210\u3057\u3001\u2460\u3082\u2461\u3082\u2462\u3082\u3001\u305d\u306eDocker\u30b3\u30f3\u30c6\u30ca\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>Docker<\/strong><\/span>\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/55941\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-docker-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010TensorFlow\u3011Docker for Windows\u3067\u52d5\u304b\u3059\u6a5f\u68b0\u5b66\u7fd2\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>Docker\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3057\u3088\u3046<\/h2>\n<p>\u4e0a\u3067\u8aac\u660e\u3057\u305f\u2460\uff5e\u2462\u3092\u3059\u3079\u3066\u884c\u3046\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u3001Docker\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h3>Docker\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>TensorFlow Serving\u7528\u306eDocker\u30a4\u30e1\u30fc\u30b8\u306f<span style=\"color: #ff0000;\"><strong>\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u305b\u3093<\/strong><\/span>\u304c\u3001TensorFlow Serving\u516c\u5f0f\u306e<span style=\"color: #0000ff;\"><strong>Docker\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u3053\u306eDocker\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3059\u308b\u3068\u3001<span style=\"color: #339966;\"><strong>Ubuntu 16.04<\/strong><\/span>\u3092\u30d9\u30fc\u30b9\u306b\u3057\u3066<span style=\"color: #339966;\"><strong>gRPC<\/strong><\/span>\u3084<span style=\"color: #339966;\"><strong>Bazel<\/strong><\/span>\u306a\u3069\u304c\u5229\u7528\u3067\u304d\u308bDocker\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\uff081\uff09<span style=\"color: #339966;\"><strong>Windows 10<\/strong><\/span>\u3067\u3001\u4ee5\u4e0b\u306eDocker\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u4efb\u610f\u306e\u5834\u6240\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/raw.githubusercontent.com\/tensorflow\/serving\/master\/tensorflow_serving\/tools\/docker\/Dockerfile.devel\" target=\"_blank\" rel=\"noopener\">https:\/\/raw.githubusercontent.com\/tensorflow\/serving\/master\/tensorflow_serving\/tools\/docker\/Dockerfile.devel<\/a><\/p>\n<p>\u3053\u3053\u3067\u306f\u3001<span style=\"color: #339966;\"><strong>\u300cD:\\Docker\\Dockerfile.devel\u300d<\/strong><\/span>\u306b\u4fdd\u5b58\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\uff082\uff09Docker\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<p>\u4fee\u6b63\u524d\uff1a<\/p>\n<pre class=\"decode:true \" >ENV BAZEL_VERSION 0.5.4<\/pre>\n<p>\u4fee\u6b63\u5f8c\uff1a<\/p>\n<pre class=\"decode:true \" >ENV BAZEL_VERSION 0.12.0<\/pre>\n<p>\uff083\uff09\u30b9\u30bf\u30fc\u30c8\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001<span style=\"color: #339966;\"><strong>\u300cWindows PowerShell\u300d<\/strong><\/span>\u2192<span style=\"color: #339966;\"><strong>\u300cWindows PowerShell\u300d<\/strong><\/span>\u306e\u9806\u306b\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-docker08.png\" alt=\"tensor-docker08\" width=\"1399\" height=\"791\" class=\"alignnone size-full wp-image-55957\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-docker08.png 1399w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-docker08-150x85.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-docker08-300x170.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-docker08-640x362.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-docker08-810x458.png 810w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-docker08-1140x645.png 1140w\" sizes=\"(max-width: 1399px) 100vw, 1399px\" \/><\/p>\n<p><span style=\"color: #339966;\"><strong>Windows PowerShell<\/strong><\/span>\uff08\u4ee5\u964d\u3001<span style=\"color: #339966;\"><strong>PowerShell<\/strong><\/span>\uff09\u304c\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\uff084\uff09PowerShell\u3067<span style=\"color: #339966;\"><strong>\u300ccd D:\\Docker\u300d<\/strong><\/span>\u3068\u5165\u529b\u3057\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p>\u300cD:\\Docker\u300d\u306f\u3001<span style=\"color: #0000ff;\"><strong>\u300cDockerfile.devel\u300d\u3092\u4fdd\u5b58\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u3067\u3059\u3002<\/strong><\/span><\/p>\n<p>\uff085\uff09PowerShell\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >docker build --pull -t yazaki\/tensorflow-serving-devel -f Dockerfile.devel .<\/pre>\n<p>\u300cyazaki\/tensorflow-serving-devel\u300d\u306f\u3001\u4efb\u610f\u306e\u6587\u5b57\u5217\u3067\u69cb\u3044\u307e\u305b\u3093\u304c\u3001\u540c\u3058\u3088\u3046\u306a\u5f62\u5f0f\u306b\u3057\u3066\u304a\u304f\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305f\u3001\u6700\u5f8c\u306b<span style=\"color: #ff0000;\"><strong>\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3068\u300c.\u300d\uff08\u30d4\u30ea\u30aa\u30c9\uff09\u304c\u3042\u308b<\/strong><\/span>\u3053\u3068\u3092\u898b\u843d\u3068\u3055\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u304c\u3001Docker\u30a4\u30e1\u30fc\u30b8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u203b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u3068\u304d\u306f\u3001Docker\u306eNetwork\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"decode:true \" >Get https:\/\/registry-1.docker.io\/v2\/: net\/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)<\/pre>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/naughtldy.hatenablog.jp\/entry\/2017\/05\/22\/080000\" target=\"_blank\" rel=\"noopener\">https:\/\/naughtldy.hatenablog.jp\/entry\/2017\/05\/22\/080000<\/a><\/p>\n<p>\uff085\uff09<span style=\"color: #339966;\"><strong>\u300cdocker images\u300d<\/strong><\/span>\u3068\u5165\u529b\u3057\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u300cyazaki\/tensorflow-serving-devel\u300d\u3068\u300cubuntu\u300d\u306e2\u3064\u306eDocker\u30a4\u30e1\u30fc\u30b8\u304c\u4f5c\u6210\u3055\u308c\u305f\u3053\u3068\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >REPOSITORY                        TAG                 IMAGE ID            CREATED             SIZE\r\nyazaki\/tensorflow-serving-devel   latest              716c800e41c4        27 seconds ago      1.05GB\r\nubuntu                            16.04               0b1edfbffd27        5 weeks ago         113MB<\/pre>\n<h3>Docker\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3059\u308b<\/h3>\n<p>\u7d9a\u3051\u3066\u3001\u4f5c\u6210\u3057\u305fDocker\u30a4\u30e1\u30fc\u30b8\u304b\u3089Docker\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3057\u3066\u8d77\u52d5\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\uff081\uff09PowerShell\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >docker run -it yazaki\/tensorflow-serving-devel<\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306bDocker\u30b3\u30f3\u30c6\u30ca\uff08Ubuntu 16.04.4 LTS\u306ebash\uff09\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >root@78eab4985d97:\/# <\/pre>\n<h2>MNIST\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u4f5c\u6210\u3057\u3088\u3046<\/h2>\n<p>\u6b21\u306b\u3001<span style=\"color: #339966;\"><strong>MNIST\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\uff08SavedModel\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\uff09<\/strong><\/span>\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u3067\u8aac\u660e\u3057\u305f<span style=\"color: #0000ff;\"><strong>\u2460\u306e\u64cd\u4f5c\u306b\u76f8\u5f53\u3059\u308b\u4f5c\u696d\u3067\u3059\u3002<\/strong><\/span><\/p>\n<p>\u672c\u6765\u306f\u3001<span style=\"color: #ff0000;\"><strong>GPU\u304c\u642d\u8f09\u3055\u308c\u3066\u3044\u308bPC\u306a\u3069\u3001\u6a5f\u68b0\u5b66\u7fd2\u3092\u5f97\u610f\u3068\u3059\u308b\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3092\u5229\u7528\u3057\u3066\u6642\u9593\u3092\u77ed\u7e2e\u3059\u308b\u3079\u304d<\/strong><\/span>\u3067\u3059\u304c\u3001\u4eca\u56de\u60f3\u5b9a\u3057\u3066\u3044\u308bMNIST\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\uff08SavedModel\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\uff09\u3092\u4f5c\u6210\u3059\u308b\u7a0b\u5ea6\u3067\u3042\u308c\u3070\u3001Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067\u4f5c\u696d\u3092\u3057\u3066\u3082\u3001\u305d\u308c\u307b\u3069\u6642\u9593\u306f\u304b\u304b\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\uff081\uff09<span style=\"color: #339966;\"><strong>Docker\u30b3\u30f3\u30c6\u30ca\u306e\u30d7\u30ed\u30f3\u30d7\u30c8<\/strong><\/span>\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >pip install tensorflow<\/pre>\n<p>\u6700\u5f8c\u306b\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u306e\u7bc4\u56f2\u3067\u306f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u306e\u3067\u7121\u8996\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"decode:true \" >You are using pip version 8.1.1, however version 10.0.1 is available.<\/pre>\n<p>\uff082\uff09\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >git clone --recurse-submodules https:\/\/github.com\/tensorflow\/serving<\/pre>\n<p>TensorFlow Serving\u306eGitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u30af\u30ed\u30fc\u30f3\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\uff083\uff09\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u30921\u884c\u305a\u3064\u9806\u756a\u306b\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >cd \/serving\/tensorflow_serving\/example\/\r\n\r\npython mnist_saved_model.py .<\/pre>\n<p>\u3053\u308c\u3082\u3001\u6700\u5f8c\u306b<span style=\"color: #ff0000;\"><strong>\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3068\u300c.\u300d\uff08\u30d4\u30ea\u30aa\u30c9\uff09\u304c\u3042\u308b<\/strong><\/span>\u3053\u3068\u3092\u898b\u843d\u3068\u3055\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u306e\u4f5c\u696d\u3067\u3001<span style=\"color: #339966;\"><strong>\u300c\/serving\/tensorflow_serving\/example\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/strong><\/span>\u306b\u3001<span style=\"color: #0000ff;\"><strong>\u300c1\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u3001\u305d\u306e\u4e2d\u306b\u300csaved_model.pb\u300d\u3068\u300cvariables\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u3053\u308c\u3089\u306e\u30c7\u30fc\u30bf\u3092\u307e\u3068\u3081\u3066<span style=\"color: #339966;\"><strong>SavedModel\u5f62\u5f0f<\/strong><\/span>\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>\u300cls 1 -al\u300d\u3068\u5165\u529b\u3057\u3066Enter\u30ad\u30fc\u3092\u62bc\u3057\u3001\u300c1\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"decode:true \" >root@78eab4985d97:\/serving\/tensorflow_serving\/example# ls 1 -al\r\ntotal 32\r\ndrwxr-xr-x 3 root root  4096 Jun  4 22:16 .\r\ndrwxr-xr-x 3 root root  4096 Jun  4 22:16 ..\r\n-rw-r--r-- 1 root root 19183 Jun  4 22:16 saved_model.pb\r\ndrwxr-xr-x 2 root root  4096 Jun  4 22:16 variables<\/pre>\n<p>\u3061\u306a\u307f\u306b\u300cvariables\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >root@78eab4985d97:\/serving\/tensorflow_serving\/example# ls 1\/variables\/ -al\r\ntotal 44\r\ndrwxr-xr-x 2 root root  4096 Jun  4 22:16 .\r\ndrwxr-xr-x 3 root root  4096 Jun  4 22:16 ..\r\n-rw-r--r-- 1 root root 31400 Jun  4 22:16 variables.data-00000-of-00001\r\n-rw-r--r-- 1 root root   159 Jun  4 22:16 variables.index<\/pre>\n<h2>TensorFlow Serving\u3092\u8d77\u52d5\u3057\u3088\u3046<\/h2>\n<p>\u6b21\u306f\u3001\u4e0a\u3067\u8aac\u660e\u3057\u305f<span style=\"color: #0000ff;\"><strong>\u2461\u306b\u76f8\u5f53\u3059\u308b\u4f5c\u696d\u3067\u3059\u3002<\/strong><\/span><\/p>\n<p>\u4f5c\u6210\u3057\u305fMNIST\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\uff08SavedModel\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\uff09\u3092\u3001Linux\u30b5\u30fc\u30d0\u30fc\u306a\u3069\u306b\u69cb\u7bc9\u3057\u305f<span style=\"color: #339966;\"><strong>TensorFlow Serving<\/strong><\/span>\u306b\u767b\u9332\u3057\u3066\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h3>TensorFlow Serving\u3092Docker\u30b3\u30f3\u30c6\u30ca\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p>\u8d77\u52d5\u3059\u308b\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001TensorFlow Serving\u3092<span style=\"color: #339966;\"><strong>apt-get<\/strong><\/span>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3067\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u30d3\u30eb\u30c9\u3059\u308b\u65b9\u6cd5\u3082\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u6311\u6226\u3057\u3066\u307f\u3066\u3082\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/www.tensorflow.org\/serving\/setup#installing_from_source\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tensorflow.org\/serving\/setup#installing_from_source<\/a><\/p>\n<p>\u3061\u306a\u307f\u306b\u3001<span style=\"color: #ff0000;\"><strong>\u79c1\u3082\u4f55\u5ea6\u304b\u8a66\u3057\u307e\u3057\u305f\u304c\u3046\u307e\u304f\u884c\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/strong><\/span><\/p>\n<p>\u3067\u306f\u3001apt-get\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\uff081\uff09Docker\u30b3\u30f3\u30c6\u30ca\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3067<span style=\"color: #339966;\"><strong>\u300ccd \/\u300d<\/strong><\/span>\u3068\u5165\u529b\u3057\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p>\uff082\uff09<span style=\"color: #339966;\"><strong>\u300csu\u300d<\/strong><\/span>\u3068\u5165\u529b\u3057\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p>\u8868\u793a\u306f\u5909\u308f\u308a\u307e\u305b\u3093\u304c\u3001<span style=\"color: #339966;\"><strong>\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc\uff08root\u30e6\u30fc\u30b6\u30fc\uff09<\/strong><\/span>\u306b\u5207\u308a\u66ff\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\uff083\uff09\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >echo &quot;deb [arch=amd64] http:\/\/storage.googleapis.com\/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal&quot; | tee \/etc\/apt\/sources.list.d\/tensorflow-serving.list<\/pre>\n<p>\u300c\/etc\/apt\/sources.list.d\/tensorflow-serving.list\u300d\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\uff084\uff09\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u30921\u884c\u305a\u3064\u9806\u756a\u306b\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >curl https:\/\/storage.googleapis.com\/tensorflow-serving-apt\/tensorflow-serving.release.pub.gpg | apt-key add -\r\n\r\napt-get update &amp;&amp; apt-get install tensorflow-model-server\r\n\r\nadd-apt-repository ppa:ubuntu-toolchain-r\/test<\/pre>\n<p>\uff085\uff09<span style=\"color: #339966;\"><strong>\u300cPress [ENTER] to continue or ctrl-c to cancel adding it\u300d<\/strong><\/span>\u3068\u8868\u793a\u3055\u308c\u305f\u3089\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p>\uff086\uff09\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >apt-get update &amp;&amp; apt-get install gcc-4.9<\/pre>\n<p>\uff087\uff09<span style=\"color: #339966;\"><strong>\u300cDo you want to continue? [Y\/n]\u300d<\/strong><\/span>\u3068\u8868\u793a\u3055\u308c\u305f\u3089\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p>\uff088\uff09\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >apt-get upgrade libstdc++6<\/pre>\n<p>\uff089\uff09<span style=\"color: #339966;\"><strong>\u300cDo you want to continue? [Y\/n]\u300d<\/strong><\/span>\u3068\u8868\u793a\u3055\u308c\u305f\u3089\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3067\u3001<span style=\"color: #0000ff;\"><strong>TensorFlow Serving\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/strong><\/span><\/p>\n<h3>TensorFlow Serving\u3092\u8d77\u52d5\u3059\u308b<\/h3>\n<p>\u3044\u3088\u3044\u3088\u3067\u3059\u3002<\/p>\n<p>TensorFlow Serving\u306bSavedModel\u5f62\u5f0f\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305f\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u767b\u9332\u3057\u3066\u3001<span style=\"color: #0000ff;\"><strong>TensorFlow Serving\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\uff081\uff09\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >tensorflow_model_server --port=9000 --model_name=mnist --model_base_path=\/serving\/tensorflow_serving\/example\/<\/pre>\n<p><span style=\"color: #339966;\"><strong>\u300c\/serving\/tensorflow_serving\/example\/\u300d<\/strong><\/span>\u306f\u3001SavedModel\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\uff08\u300c1\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff09\u304c\u5b58\u5728\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001TensorFlow Serving\u304c\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089TensorFlow Serving\u306b\u30c7\u30fc\u30bf\u3092\u9001\u308d\u3046<\/h2>\n<p>\u6b21\u306b\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089TensorFlow Serving\u306b\u3001\u4e88\u6e2c\u3057\u305f\u3044\u624b\u66f8\u304d\u6570\u5b57\u306e\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3057\u3066\u3001\u4e88\u6e2c\u7d50\u679c\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u3067\u8aac\u660e\u3057\u305f<span style=\"color: #0000ff;\"><strong>\u2462\u306b\u76f8\u5f53\u3059\u308b\u4f5c\u696d\u3067\u3059\u3002<\/strong><\/span><\/p>\n<p>\u7e70\u308a\u8fd4\u3057\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u74b0\u5883\u69cb\u7bc9\u306e\u624b\u9593\u3092\u7701\u304f\u305f\u3081\u306b\u3001TensorFlow Serving\u304c\u8d77\u52d5\u3057\u3066\u3044\u308bDocker\u30b3\u30f3\u30c6\u30ca\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\uff081\uff09<span style=\"color: #0000ff;\"><strong>\u65b0\u3057\u304fPowerShell\u3092\u8d77\u52d5\u3057\u3001<\/strong><\/span><span style=\"color: #339966;\"><strong>\u300cdocker ps -a\u300d<\/strong><\/span>\u3068\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >CONTAINER ID        IMAGE                             COMMAND             CREATED             STATUS              PORTS               NAMES\r\n78eab4985d97        yazaki\/tensorflow-serving-devel   &quot;\/bin\/bash&quot;         8 hours ago         Up 25 minutes                           quizzical_nightingale<\/pre>\n<p>\u30b3\u30f3\u30c6\u30caID\uff08\u4e0a\u306e\u4f8b\u3067\u306f\u300c78eab4985d97\u300d\uff09\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>\uff082\uff09\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >docker exec -it 78eab4985d97 bash<\/pre>\n<p>TensorFlow Serving\u304c\u8d77\u52d5\u3057\u3066\u3044\u308bDocker\u30b3\u30f3\u30c6\u30ca\u3067\u3001\u65b0\u3057\u304fbash\u304c\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\uff083\uff09Docker\u30b3\u30f3\u30c6\u30ca\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >pip install tensorflow-serving-api<\/pre>\n<p>\u6700\u5f8c\u306b\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u306e\u7bc4\u56f2\u3067\u306f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u306e\u3067\u7121\u8996\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"decode:true \" >You are using pip version 8.1.1, however version 10.0.1 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.<\/pre>\n<p>\uff084\uff09\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >python \/serving\/tensorflow_serving\/example\/mnist_client.py --server=localhost:9000<\/pre>\n<p>TensorFlow Serving\u306b100\u500b\u306e\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u304c\u9001\u4fe1\u3055\u308c\u3001\u30a8\u30e9\u30fc\u7387\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \" >Inference error rate: 7.0%<\/pre>\n<p>\u4eca\u56de\u306f7.0%\u304c\u5931\u6557\uff08\u3064\u307e\u308a93.0%\u304c\u6210\u529f\uff09\u3057\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u7cbe\u5ea6\u306f\u3055\u3066\u304a\u304d\u3001TensorFlow Serving\u306b\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3057\u3066\u3001<span style=\"color: #0000ff;\"><strong>\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304f\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<\/strong><\/span><\/p>\n<p>\u307e\u3060\u3061\u3087\u3063\u3068\u4e0d\u5b89\u306a\u65b9\u306f\u3001<span style=\"color: #0000ff;\"><strong>\/serving\/tensorflow_serving\/example\/mnist_client.py<\/strong><\/span>\u306e\u4ee5\u4e0b\u306e\u90e8\u5206\u3092\u5909\u66f4\u3059\u308b\u3068\u3001TensorFlow Serving\u306b\u767b\u9332\u3057\u305f\u30e2\u30c7\u30eb\u304c\u4e88\u6e2c\u3057\u305f\u6570\u5b57\u3082\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5909\u66f4\u524d\uff1a<\/p>\n<pre class=\"decode:true \" >      sys.stdout.write('.')\r\n      sys.stdout.flush()\r\n      response = numpy.array(\r\n          result_future.result().outputs['scores'].float_val)\r\n      prediction = numpy.argmax(response)<\/pre>\n<p>\u5909\u66f4\u5f8c\uff1a<\/p>\n<pre class=\"decode:true \" >      # sys.stdout.write('.')\r\n      # sys.stdout.flush()\r\n      response = numpy.array(\r\n          result_future.result().outputs['scores'].float_val)\r\n      prediction = numpy.argmax(response)\r\n      sys.stdout.write(str(prediction) + &quot;,&quot;)\r\n      sys.stdout.flush()<\/pre>\n<p>\u306a\u304a\u3001\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f<span style=\"color: #339966;\"><strong>Python<\/strong><\/span>\u3067\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001TensorFlow Serving\u3068\u306e\u901a\u4fe1\u306f<span style=\"color: #339966;\"><strong>gRPC<\/strong><\/span>\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001<span style=\"color: #ff0000;\"><strong>Python\u306b\u9650\u5b9a\u3055\u308c\u307e\u305b\u3093\u3002<\/strong><\/span><\/p>\n<p>\u305f\u3068\u3048\u3070\u3001<span style=\"color: #339966;\"><strong>Java<\/strong><\/span>\u3067\u66f8\u3044\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089TensorFlow Serving\u306bgRPC\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3059\u308c\u3070\u3001\u63a8\u6e2c\u3057\u305f\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306f\u3001<span style=\"color: #339966;\"><strong>Docker\u30b3\u30f3\u30c6\u30ca<\/strong><\/span>\u3092\u5229\u7528\u3057\u3066\u3001<span style=\"color: #ff0000;\"><strong>TensorFlow Serving\u304c\u52d5\u4f5c\u3059\u308b\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u624b\u9806\u3092\u8aac\u660e\u3057\u307e\u3057\u305f\u3002<\/strong><\/span><\/p>\n<p>\u307e\u305f\u3001Python\u3067\u66f8\u304b\u308c\u305f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u3001<span style=\"color: #0000ff;\"><strong>TensorFlow Serving\u306b\u767b\u9332\u3057\u305f\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u306bMNIST\u30c7\u30fc\u30bf\u3092\u63a8\u6e2c\u3055\u305b\u308b<\/strong><\/span>\u65b9\u6cd5\u3082\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u8aac\u660e\u3057\u305f\u5185\u5bb9\u306f\u3001\u57fa\u672c\u7684\u306a\u4f5c\u696d\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u6b21\u306f\u81ea\u5206\u3067\u30e2\u30c7\u30eb\u3092\u7528\u610f\u3057\u305f\u308a\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4ed6\u306e\u8a00\u8a9e\u3067\u4f5c\u6210\u3057\u305f\u308a\u3057\u3066\u307f\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u306f\u3001TensorFlow\u306e\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u3001\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059\u305f\u3081\u306eTensorFlow Serving\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 TensorFlow Serving\u306f\u3001 TensorFlow\u3067\u5b66\u7fd2\u3057\u305f\u30e2\u30c7\u30eb\u3092\u6d3b\u7528\u3057\u3066\u3001\u9762\u767d\u305d\u3046 [&hellip;]<\/p>\n","protected":false},"author":16433,"featured_media":56224,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2350],"tags":[],"class_list":["post-56221","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-study"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/56221\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/56221\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-04T23:43:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:48:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221\"},\"author\":{\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\"},\"headline\":\"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f\",\"datePublished\":\"2018-06-04T23:43:12+00:00\",\"dateModified\":\"2024-05-06T02:48:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221\"},\"wordCount\":287,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/tensor-serving.jpg\",\"articleSection\":[\"Python\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221\",\"name\":\"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/tensor-serving.jpg\",\"datePublished\":\"2018-06-04T23:43:12+00:00\",\"dateModified\":\"2024-05-06T02:48:17+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/tensor-serving.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/tensor-serving.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/56221#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\",\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\"},\"description\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-tech\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/56221","og_locale":"ja_JP","og_type":"article","og_title":"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/56221","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_published_time":"2018-06-04T23:43:12+00:00","article_modified_time":"2024-05-06T02:48:17+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/56221#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/56221"},"author":{"name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095"},"headline":"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f","datePublished":"2018-06-04T23:43:12+00:00","dateModified":"2024-05-06T02:48:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/56221"},"wordCount":287,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/56221#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving.jpg","articleSection":["Python\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/56221","url":"https:\/\/www.sejuku.net\/blog\/56221","name":"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/56221#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/56221#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving.jpg","datePublished":"2018-06-04T23:43:12+00:00","dateModified":"2024-05-06T02:48:17+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/56221#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/56221"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/56221#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/tensor-serving.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/56221#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010TensorFlow\u3011\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u3067\u52d5\u304b\u3059Serving\u3068\u306f"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095","name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d91ed20aaa7f873a0f4f35586561303460c1e3864746dddb6ebe0fb093c1952d?s=96&d=mm&r=g","caption":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8"},"description":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u587e\u306f\u300c\u4eba\u751f\u3092\u5909\u3048\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u300d\u3092\u30b3\u30f3\u30bb\u30f3\u30d7\u30c8\u306b\u3001\u904e\u53bb\u591a\u304f\u306e\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u8f29\u51fa\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\u3067\u306f\u6280\u8853\u7cfb\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e2d\u5fc3\u306b\u6709\u7528\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u304d\u307e\u3059\u3002","url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-tech"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/56221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/16433"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=56221"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/56221\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/56224"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=56221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=56221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=56221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}