{"id":45678,"date":"2018-03-13T06:44:39","date_gmt":"2018-03-12T21:44:39","guid":{"rendered":"https:\/\/www.sejuku.net\/blog\/?p=45678"},"modified":"2024-05-06T11:46:17","modified_gmt":"2024-05-06T02:46:17","slug":"%e3%80%90tensorflow%e3%80%91mnist%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%ad%a6%e7%bf%92%e3%81%99%e3%82%8b%e3%82%b3%e3%83%bc%e3%83%89%e3%82%923%e7%a8%ae%e7%b4%b9%e4%bb%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/45678","title":{"rendered":"\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01"},"content":{"rendered":"<p>\u4eca\u56de\u306f\u3001TensorFlow\u3067\u6a5f\u68b0\u5b66\u7fd2\u3092\u59cb\u3081\u305f\u3068\u304d\u306b\u3001\u79c1\u3082\u3064\u307e\u3065\u3044\u305f<span style=\"color: #0000ff;\"><strong>MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0<\/strong><\/span>\u306b\u3064\u3044\u3066\u6574\u7406\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>TensorFlow\u3067<span style=\"color: #339966;\"><strong>MNIST\u30c7\u30fc\u30bf<\/strong><\/span>\u3092\u5b66\u7fd2\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u63a2\u3057\u3066\u3044\u308b\u3068\u3001<span style=\"color: #ff0000;\"><strong>\u4f55\u56de\u304b\u306b1\u56de\u3001\u307e\u3063\u305f\u304f\u9055\u3046\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u304c\u898b\u3064\u304b\u3063\u3066\u3001\u3042\u308c\uff1f<\/strong><\/span>\u3068\u601d\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u306d\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>\u300cMNIST For ML Beginners\u300d<\/strong><\/span>\u3001<span style=\"color: #339966;\"><strong>\u300cDeep MNIST For Experts\u300d<\/strong><\/span>\u3001<span style=\"color: #339966;\"><strong>\u300cA Guide to TF Layers\u300d<\/strong><\/span>\u304c\u3088\u304f\u51fa\u73fe\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30013\u3064\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u8a18\u4e8b\u3092\u7d39\u4ecb\u3057\u3001\u5404\u30d7\u30ed\u30b0\u30e9\u30e0\u306e<span style=\"color: #339966;\"><strong>\u5b9f\u884c\u6642\u9593<\/strong><\/span>\u3068<span style=\"color: #339966;\"><strong>accuracy\uff08\u6b63\u78ba\u3055\uff09<\/strong><\/span>\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u305d\u3082\u305d\u3082\u3001<span style=\"color: #ff0000;\"><strong>TensorFlow\u3068MNIST\u30c7\u30fc\u30bf\u3063\u3066\u4f55\uff1f<\/strong><\/span>\u3068\u3044\u3046\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/45209\" 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\/03\/tens_int_eye-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010TensorFlow\u5165\u9580\u3011\u6a5f\u68b0\u5b66\u7fd2\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30afTensorFlow\u3092\u5b66\u307c\u3046<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2025\u5e7412\u670826\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e03\u7a2e\u3092\u7d39\u4ecb<\/h2>\n<p>TensorFlow\u306e\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u8a18\u4e8b\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4e2d\u306b\u3001<span style=\"color: #0000ff;\"><strong>MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306f3\u7a2e\u985e\u5b58\u5728\u3057\u307e\u3059\u3002<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"color: #339966;\"><strong>MNIST For ML Beginners\uff08mnist_softmax.py\uff09<\/strong><\/span>\n<\/li>\n<li><span style=\"color: #339966;\"><strong>Deep MNIST For Experts\uff08mnist_deep.py\uff09<\/strong><\/span>\n<\/li>\n<li><span style=\"color: #339966;\"><strong>A Guide to TF Layers\uff08cnn_mnist.py\uff09<\/strong><\/span>\n<\/li>\n<\/ul>\n<p>\u521d\u3081\u306e\u9803\u306f\u691c\u7d22\u3059\u308b\u305f\u3073\u306b\u9055\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u898b\u3064\u304b\u308b\u5370\u8c61\u304c\u3042\u308a\u3001\u306a\u3093\u3060\u304b\u5206\u304b\u308a\u306b\u304f\u3044\u3068\u611f\u3058\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u3053\u3053\u30673\u3064\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u8a18\u4e8b\u306e\u7279\u5fb4\u3092\u6574\u7406\u3057\u3066\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h3>MNIST For ML Beginners\uff08mnist_softmax.py\uff09<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_softmax.jpg\" alt=\"mnist_softmax\" width=\"883\" height=\"505\" class=\"alignnone size-full wp-image-45686\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_softmax.jpg 883w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_softmax-150x86.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_softmax-300x172.jpg 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_softmax-640x366.jpg 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_softmax-810x463.jpg 810w\" sizes=\"(max-width: 883px) 100vw, 883px\" \/><\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/www.tensorflow.org\/versions\/r1.0\/get_started\/mnist\/beginners\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tensorflow.org\/versions\/r1.0\/get_started\/mnist\/beginners<\/a><\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001<span style=\"color: #339966;\"><strong>TensorFlow 1.0<\/strong><\/span>\u7528\u306b\u66f8\u304b\u308c\u305f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001<span style=\"color: #339966;\"><strong>Softmax\u56de\u5e30\u3092\u4f7f\u3046\u6a5f\u68b0\u5b66\u7fd2<\/strong><\/span>\u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>1\u5c64\u306e\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3088\u308b\u6a5f\u68b0\u5b66\u7fd2<\/strong><\/span>\u3068\u3082\u8a00\u3048\u307e\u3059\u306d\u3002<\/p>\n<p>\u6df1\u5c64\u5b66\u7fd2\uff08Deep Learning\uff09\u306f\u3001\u591a\u5c64\u306e\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3088\u308b\u6a5f\u68b0\u5b66\u7fd2\u624b\u6cd5\u3067\u3059\u306e\u3067\u3001mnist_softmax.py\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u6df1\u5c64\u5b66\u7fd2\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u306f\u8a00\u3048\u307e\u305b\u3093\u3002<\/strong><\/span><\/p>\n<p><span style=\"color: #339966;\"><strong>mnist_softmax.py<\/strong><\/span>\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u3082\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/45209\" 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\/03\/tens_int_eye-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010TensorFlow\u5165\u9580\u3011\u6a5f\u68b0\u5b66\u7fd2\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30afTensorFlow\u3092\u5b66\u307c\u3046<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2025\u5e7412\u670826\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h3>Deep MNIST For Experts\uff08mnist_deep.py\uff09<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep.png\" alt=\"mnist_deep\" width=\"883\" height=\"505\" class=\"alignnone size-full wp-image-45690\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep.png 883w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep-150x86.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep-300x172.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep-640x366.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep-810x463.png 810w\" sizes=\"(max-width: 883px) 100vw, 883px\" \/><\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/www.tensorflow.org\/versions\/r1.2\/get_started\/mnist\/pros\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tensorflow.org\/versions\/r1.2\/get_started\/mnist\/pros<\/a><\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001<span style=\"color: #339966;\"><strong>TensorFlow 1.2<\/strong><\/span>\u7528\u306b\u66f8\u304b\u308c\u305f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001<span style=\"color: #0000ff;\"><strong>\u591a\u5c64\u7573\u307f\u8fbc\u307f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08CNN\uff1aConvolutional Neural Network\uff09\u3092\u4f7f\u3046\u6df1\u5c64\u5b66\u7fd2<\/strong><\/span>\u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>mnist_deep.py<\/strong><\/span>\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u306e\u8a18\u4e8b\u306e\u5f8c\u534a\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>A Guide to TF Layers\uff08cnn_mnist.py\uff09<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/cnn_mnist.png\" alt=\"cnn_mnist\" width=\"883\" height=\"505\" class=\"alignnone size-full wp-image-45692\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/cnn_mnist.png 883w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/cnn_mnist-150x86.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/cnn_mnist-300x172.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/cnn_mnist-640x366.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/cnn_mnist-810x463.png 810w\" sizes=\"(max-width: 883px) 100vw, 883px\" \/><\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/www.tensorflow.org\/versions\/r1.5\/tutorials\/layers\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tensorflow.org\/versions\/r1.5\/tutorials\/layers<\/a><\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001<span style=\"color: #339966;\"><strong>TensorFlow 1.5<\/strong><\/span>\u7528\u306b\u66f8\u304b\u308c\u305f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001<span style=\"color: #339966;\"><strong>mnist_deep.py<\/strong><\/span>\u3068\u540c\u3058<span style=\"color: #0000ff;\"><strong>\u591a\u5c64\u7573\u307f\u8fbc\u307f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08CNN\uff1aConvolutional Neural Network\uff09\u3092\u4f7f\u3046\u6df1\u5c64\u5b66\u7fd2<\/strong><\/span>\u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>mnist_deep.py\u3068\u306f\u7570\u306a\u308a\u3001TensorFlow\u306e\u9ad8\u30ec\u30d9\u30ebAPI\u3067\u3042\u308b<span style=\"color: #339966;\"><strong>Estimator API<\/strong><\/span>\u3092\u5229\u7528\u3057\u305f\u5b9f\u88c5\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u4f8b\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/44411\" 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\/02\/tens-use_eye-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010\u6a5f\u68b0\u5b66\u7fd2\u521d\u5fc3\u8005\u5fc5\u898b\u3011Windows\u3067TensorFlow\u3092\u4f7f\u3063\u3066\u3044\u308b\u753b\u9762\u3092\u7d39\u4ecb\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2025\u5e7412\u670826\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>Deep MNIST For Experts\u3092\u8a66\u3057\u3066\u307f\u3088\u3046<\/h2>\n<p>\u3067\u306f\u3001\u3053\u3053\u304b\u3089\u306f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e1\u3064\u3067\u3042\u308b<span style=\"color: #339966;\"><strong>\u300cDeep MNIST For Experts\u300d<\/strong><\/span>\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep.png\" alt=\"mnist_deep\" width=\"883\" height=\"505\" class=\"alignnone size-full wp-image-45690\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep.png 883w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep-150x86.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep-300x172.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep-640x366.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_deep-810x463.png 810w\" sizes=\"(max-width: 883px) 100vw, 883px\" \/><\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/www.tensorflow.org\/versions\/r1.2\/get_started\/mnist\/pros\" target=\"_blank\" rel=\"noopener\">https:\/\/www.tensorflow.org\/versions\/r1.2\/get_started\/mnist\/pros<\/a><\/p>\n<p>\u307e\u305a\u306f\u3001\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304b\u3089\u3001<span style=\"color: #339966;\"><strong>mnist_deep.py<\/strong><\/span>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/github.com\/tensorflow\/tensorflow\/blob\/r1.2\/tensorflow\/examples\/tutorials\/mnist\/mnist_deep.py\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/tensorflow\/tensorflow\/blob\/r1.2\/tensorflow\/examples\/tutorials\/mnist\/mnist_deep.py<\/a><\/p>\n<h3>mnist_deep.py\u3092\u5b9f\u884c\u3059\u308b<\/h3>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fmnist_deep.py\u306f\u3001Python\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001<span style=\"color: #339966;\"><strong>Anaconda Navigator<\/strong><\/span>\u304b\u3089<span style=\"color: #339966;\"><strong>GPU\u7248TensorFlow<\/strong><\/span>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fPython\u74b0\u5883\u3092\u8d77\u52d5\u3057\u3066\u3001\u300cD:\\TensorFlow\u300d\u30d5\u30a9\u30eb\u30c0\u306b\u4fdd\u5b58\u3057\u305f<span style=\"color: #339966;\"><strong>mnist_deep.py<\/strong><\/span>\u3092\u5b9f\u884c\u3059\u308b\u64cd\u4f5c\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>GPU\u7248TensorFlow\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/43784\" 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\/02\/howto-01-2025-01-21T230320.990-150x85.png\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">TensorFlow\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u307e\u3068\u3081\uff01\u3067\u304d\u306a\u3044\u6642\u306e\u5bfe\u51e6\u6cd5\u3082\u7d39\u4ecb<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2025\u5e7412\u670826\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<p>\uff081\uff09Anaconda Navigator\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\uff082\uff09<span style=\"color: #339966;\"><strong>\u300cEnvironment\u300d<\/strong><\/span>\u3092\u30af\u30ea\u30c3\u30af\u5f8c\u3001<span style=\"color: #339966;\"><strong>\u300ctensorflow-gpu\u300d<\/strong><\/span>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c<img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_03.png\" alt=\"mnist_03\" width=\"16\" height=\"16\" class=\"alignnone size-full wp-image-45694\" \/>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001<span style=\"color: #339966;\"><strong>\u300cOpen Terminal\u300d<\/strong><\/span>\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use01.png\" alt=\"tens-use01\" width=\"1339\" height=\"832\" class=\"alignnone size-full wp-image-44422\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use01.png 1339w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use01-150x93.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use01-300x186.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use01-640x398.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use01-810x503.png 810w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use01-1140x708.png 1140w\" sizes=\"(max-width: 1339px) 100vw, 1339px\" \/><\/p>\n<p>\uff083\uff09<span style=\"color: #339966;\"><strong>\u300cD:\u300d<\/strong><\/span>\u3068\u5165\u529b\u3057\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use02.png\" alt=\"tens-use02\" width=\"499\" height=\"332\" class=\"alignnone size-full wp-image-44423\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use02.png 499w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use02-150x100.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use02-300x200.png 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/p>\n<p>\uff084\uff09<span style=\"color: #339966;\"><strong>\u300ccd TensorFlow\u300d<\/strong><\/span>\u3068\u5165\u529b\u3057\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use03.png\" alt=\"tens-use03\" width=\"499\" height=\"332\" class=\"alignnone size-full wp-image-44424\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use03.png 499w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use03-150x100.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/tens-use03-300x200.png 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/p>\n<p>\uff085\uff09<span style=\"color: #339966;\"><strong>\u300cpython mnist_deep.py\u300d<\/strong><\/span>\u3068\u5165\u529b\u3057\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_01.png\" alt=\"mnist_01\" width=\"499\" height=\"332\" class=\"alignnone size-full wp-image-45695\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_01.png 499w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_01-150x100.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_01-300x200.png 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/p>\n<p><span style=\"color: #0000ff;\"><strong>step 20000\u306b\u306a\u308b\u3068\u7d42\u4e86<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>\u7d42\u4e86\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_02.png\" alt=\"mnist_02\" width=\"499\" height=\"332\" class=\"alignnone size-full wp-image-45696\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_02.png 499w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_02-150x100.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/mnist_02-300x200.png 300w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/p>\n<p>accuracy\uff08\u6b63\u78ba\u3055\uff09\u306b\u300c0.9906\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001<span style=\"color: #0000ff;\"><strong>\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306e\u3046\u3061\u306e99%\u3092\u6b63\u78ba\u306b\u8a8d\u8b58\u3067\u304d\u305f<\/strong><\/span>\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2>3\u7a2e\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6027\u80fd\u3092\u6bd4\u8f03<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6027\u80fd\u3092\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n<table id=\"tablepress-325\" class=\"tablepress tablepress-id-325\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb<\/th><th class=\"column-2\">MNIST For ML Beginners<br \/>\n\uff08mnist_softmax.py\uff09<\/th><th class=\"column-3\">Deep MNIST For Experts<br \/>\n\uff08mnist_deep.py\uff09<\/th><th class=\"column-4\">A Guide to TF Layers<br \/>\n\uff08cnn_mnist.py\uff09<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">TensorFlow\u5bfe\u5fdc\u30d0\u30fc\u30b8\u30e7\u30f3<\/td><td class=\"column-2\">TensorFlow 1.0<\/td><td class=\"column-3\">TensorFlow 1.2<\/td><td class=\"column-4\">TensorFlow 1.5<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">\u30d7\u30ed\u30b0\u30e9\u30e0\u6982\u8981<\/td><td class=\"column-2\">Softmax\u56de\u5e30\u3092\u4f7f\u3046\u6a5f\u68b0\u5b66\u7fd2<\/td><td class=\"column-3\">\u591a\u5c64\u7573\u307f\u8fbc\u307f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08CNN\uff1aConvolutional Neural Network\uff09\u3092\u4f7f\u3046\u6df1\u5c64\u5b66\u7fd2<\/td><td class=\"column-4\">\u591a\u5c64\u7573\u307f\u8fbc\u307f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff08CNN\uff1aConvolutional Neural Network\uff09\u3092\u4f7f\u3046\u6df1\u5c64\u5b66\u7fd2<br \/>\nEstimator API\u4f7f\u7528<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">\u5b9f\u884c\u6642\u9593<\/td><td class=\"column-2\">\u7d048\u79d2<\/td><td class=\"column-3\">\u7d04190\u79d2<\/td><td class=\"column-4\">\u7d04290\u79d2<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">accuracy<br \/>\n\uff08\u6b63\u78ba\u3055\uff09<\/td><td class=\"column-2\">91.96%<\/td><td class=\"column-3\">99.06%<\/td><td class=\"column-4\">97%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-325 from cache -->\n<p><span style=\"color: #339966;\"><strong>\u5b9f\u884c\u6642\u9593<\/strong><\/span>\u306b\u3064\u3044\u3066\u306f\u76ee\u5b89\u3067\u3059\u3002\u307e\u305f\u3001<span style=\"color: #339966;\"><strong>accuracy<\/strong><\/span>\u306f\u3001\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u3069\u306e\u7a0b\u5ea6\u6b63\u78ba\u306b\u5224\u5b9a\u3067\u304d\u305f\u304b\u3092\u8868\u3059\u6570\u5024\u3067\u3001\u5b9f\u884c\u3059\u308b\u305f\u3073\u306b\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>mnist_deep.py\u304c\u6700\u3082\u6b63\u78ba\u306b\u5224\u5b9a\u3057\u3066\u3044\u307e\u3059\u306d\u3002<\/strong><\/span><\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>TensorFlow\u306e\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u4e2d\u304b\u3089\u3001<span style=\"color: #339966;\"><strong>MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u9078\u3093\u3067\u3001\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/strong><\/span><\/p>\n<p>\u3082\u3061\u308d\u3093\u3053\u308c\u4ee5\u5916\u306b\u3082MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u66f8\u3051\u307e\u3059\u3002<\/p>\n<p>\u5c64\u3092\u3055\u3089\u306b\u6df1\u304f\u3057\u3066\u307f\u305f\u308a\u3001\u5404\u95a2\u6570\u3092\u5225\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306b\u5909\u66f4\u3057\u3066\u307f\u305f\u308a\u3001\u5b9f\u969b\u306b\u8a66\u3057\u3066\u307f\u3066\u3001\u5b9f\u884c\u6642\u9593\u3084\u6027\u80fd\u304c\u3069\u306e\u3088\u3046\u306b\u5909\u5316\u3059\u308b\u304b\u3001\u8a66\u3057\u3066\u307f\u308b\u3068\u3001TensorFlow\u3084\u6a5f\u68b0\u5b66\u7fd2\u306b\u3064\u3044\u3066\u306e\u7406\u89e3\u304c\u9032\u3080\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u307e\u305f\u3001TensorFlow\u306e\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u306f\u3001MNIST\u30c7\u30fc\u30bf\u306b\u9650\u3089\u305a\u3001\u307b\u304b\u306b\u3082\u69d8\u3005\u306a\u30bf\u30b9\u30af\u3092\u51e6\u7406\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u3092\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306f\u3001TensorFlow\u3067\u6a5f\u68b0\u5b66\u7fd2\u3092\u59cb\u3081\u305f\u3068\u304d\u306b\u3001\u79c1\u3082\u3064\u307e\u3065\u3044\u305fMNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u3064\u3044\u3066\u6574\u7406\u3057\u3066\u3044\u304d\u307e\u3059\u3002 TensorFlow\u3067MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u63a2\u3057\u3066\u3044\u308b\u3068\u3001\u4f55\u56de\u304b\u306b1 [&hellip;]<\/p>\n","protected":false},"author":16433,"featured_media":45728,"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":[1071],"class_list":["post-45678","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-study","tag-tensorflow"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 \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\/45678\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 \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\/45678\" \/>\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-03-12T21:44:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:46:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/tensor_mnist.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\\\/45678#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678\"},\"author\":{\"name\":\"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/d20c57b59dba15001519a8a671183095\"},\"headline\":\"\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01\",\"datePublished\":\"2018-03-12T21:44:39+00:00\",\"dateModified\":\"2024-05-06T02:46:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678\"},\"wordCount\":246,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/tensor_mnist.jpg\",\"keywords\":[\"tensorflow\"],\"articleSection\":[\"Python\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678\",\"name\":\"\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/tensor_mnist.jpg\",\"datePublished\":\"2018-03-12T21:44:39+00:00\",\"dateModified\":\"2024-05-06T02:46:17+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 \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\\\/45678#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/tensor_mnist.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/tensor_mnist.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/45678#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01\"}]},{\"@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\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 \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\/45678","og_locale":"ja_JP","og_type":"article","og_title":"\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 \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\/45678","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_published_time":"2018-03-12T21:44:39+00:00","article_modified_time":"2024-05-06T02:46:17+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/tensor_mnist.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\/45678#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/45678"},"author":{"name":"\u4f8d\u30c6\u30c3\u30af\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/d20c57b59dba15001519a8a671183095"},"headline":"\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01","datePublished":"2018-03-12T21:44:39+00:00","dateModified":"2024-05-06T02:46:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/45678"},"wordCount":246,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/45678#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/tensor_mnist.jpg","keywords":["tensorflow"],"articleSection":["Python\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/45678","url":"https:\/\/www.sejuku.net\/blog\/45678","name":"\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/45678#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/45678#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/tensor_mnist.jpg","datePublished":"2018-03-12T21:44:39+00:00","dateModified":"2024-05-06T02:46:17+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01 \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\/45678#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/45678"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/45678#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/tensor_mnist.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/tensor_mnist.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/45678#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010TensorFlow\u3011MNIST\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30923\u7a2e\u7d39\u4ecb\uff01"}]},{"@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\/45678","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=45678"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/45678\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/45728"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=45678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=45678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=45678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}