{"id":1440,"date":"2025-05-18T15:19:07","date_gmt":"2025-05-18T06:19:07","guid":{"rendered":"https:\/\/www.dogrow.net\/nnet\/?p=1440"},"modified":"2025-06-11T22:52:24","modified_gmt":"2025-06-11T13:52:24","slug":"blog45%e3%80%90pytorch%e3%80%91%e5%bc%b7%e5%8c%96%e5%ad%a6%e7%bf%92%e3%81%a7%e3%82%aa%e3%82%bb%e3%83%adai%e3%82%92%e4%bd%9c%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/nnet\/blog45%e3%80%90pytorch%e3%80%91%e5%bc%b7%e5%8c%96%e5%ad%a6%e7%bf%92%e3%81%a7%e3%82%aa%e3%82%bb%e3%83%adai%e3%82%92%e4%bd%9c%e3%82%8b%e3%80%82\/","title":{"rendered":"(45)\u3010Othello AI\u3011\u5f37\u5316\u5b66\u7fd2\u3067\u30aa\u30bb\u30edAI\u3092\u4f5c\u308b\u3002"},"content":{"rendered":"<h1 class=\"my_h\">\u30101\u3011\u3084\u308a\u305f\u3044\u3053\u3068<\/h1>\n<p>PyTorch\u306e\u4f7f\u3044\u65b9\u304c\u5c11\u3057\u305a\u3064\u308f\u304b\u3063\u3066\u304d\u305f\u306e\u3067\u3001\u753b\u50cf\u5206\u985e\u3068\u306f\u9055\u3046\u30c6\u30fc\u30de\u306b\u3082\u6311\u6226\u3057\u3066\u307f\u305f\u3044\u3002<\/p>\n<p>\u6b21\u306b\u9078\u3093\u3060\u30c6\u30fc\u30de\u306f&#8230;<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u5f37\u5316\u5b66\u7fd2\u3067\u30b2\u30fc\u30e0AI\u4f5c\u308a\uff01<\/span><br \/>\n\u5b66\u7fd2\u3057\u306a\u304c\u3089\u697d\u3057\u3081\u308b\u7269\u304c\u6b32\u3057\u3044\u306e\u3067\u3001\u30b2\u30fc\u30e0AI\u3092\u4f5c\u308a\u305f\u3044\u3002<\/p>\n<p>\u672c\u5f53\u306f\u30b9\u30fc\u30d1\u30fc\u30de\u30ea\u30aa\u3092\u81ea\u52d5\u30af\u30ea\u30a2\u3067\u304d\u308b AI\u306a\u3093\u3066\u3082\u306e\u3092\u4f5c\u308a\u305f\u3044\u3051\u3069\u3001\u306a\u304b\u306a\u304b\u96e3\u3057\u305d\u3046\u3060\u3002<br \/>\n\u307e\u305a\u306f <span class=\"my_fc_deeppinkBBig\">\u30aa\u30bb\u30edAI<\/span> \u304b\u3089\u59cb\u3081\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/nnet\/wp-content\/uploads\/2025\/05\/img001.jpg\" alt=\"\" class=\"my_add_bs1\" \/><\/p>\n<h1 class=\"my_h\">\u30102\u3011\u3084\u3063\u3066\u307f\u308b<\/h1>\n<h2 class=\"my_h\">1) \u65b9\u91dd<\/h2>\n<p>\u57fa\u790e\u7684\u306a\u5f37\u5316\u5b66\u7fd2\u624b\u6cd5\u3067\u3042\u308b <span class=\"my_fc_deeppinkBBig\">Q\u5b66\u7fd2<\/span> \u3092\u4f7f\u3046\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u3042\u308b\u72b6\u614b\uff08\uff1d\u76e4\u9762\u4e0a\u306e\u77f3\u306e\u914d\u7f6e\uff09\u306b\u304a\u3044\u3066\u3001<br \/>\n\u3000\u3069\u306e\u884c\u52d5\uff08\uff1d\u6307\u3057\u624b\uff09\u3092\u9078\u629e\u3059\u308c\u3070\u3001<br \/>\n\u3000\u3000\u826f\u3044\u6700\u7d42\u7d50\u679c\uff08\uff1d\u9ad8\u3044\u5831\u916c\uff09\u304c\u5f97\u3089\u308c\u308b\u304b\uff1f<\/span><br \/>\n\u3092 Neural Network\u306b\u5b66\u7fd2\u3055\u305b\u308b\u306e\u3060\u3002<\/p>\n<p>\u7c21\u5358\u306b\u8a00\u3048\u3070\u3001<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u5c40\u9762\u3054\u3068\u306b\u300c\u3069\u3053\u306b\u7f6e\u3051\u3070\u6700\u9ad8\u306e\u30b4\u30fc\u30eb\u306b\u305f\u3069\u308a\u7740\u3051\u308b\u304b\u300d\u3092\u8868\u3059<br \/>\n\u9ad8\u7cbe\u5ea6\u306e\u4e8c\u6b21\u5143\u30de\u30c3\u30d7\u3092\u30e2\u30c7\u30eb\u306b\u4f5c\u3089\u305b\u308b<\/span><br \/>\n\u3068\u8a00\u3048\u308b\u3002<\/p>\n<h2 class=\"my_h\">2) \u30ed\u30b8\u30c3\u30af\u6982\u8981<\/h2>\n<h3 class=\"my_h\">(1) Q\u5b66\u7fd2\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0<\/h3>\n<table class=\"my_tbl_simple my_fs_big1\">\n<tr><td>\u72b6\u614b\uff08State\uff09<\/td><td>\ud835\udc60<\/td><\/tr><tr><td>\u884c\u52d5\uff08Action\uff09<\/td><td>\ud835\udc4e<\/td><\/tr><tr><td>\u5831\u916c\uff08Reward\uff09<\/td><td>\ud835\udc5f<\/td><\/tr><tr><td>\u6b21\u306e\u72b6\u614b<\/td><td>\ud835\udc60\u2032<\/td><\/tr><tr><td>\u5b66\u7fd2\u7387\uff08Learning rate\uff09<\/td><td>\ud835\udefc<\/td><\/tr><tr><td>\u5272\u5f15\u7387\uff08Discount factor\uff09<\/td><td>\ud835\udefe<\/td><\/tr><tr><td>Q\u5024\uff08\u72b6\u614b\u884c\u52d5\u4fa1\u5024\u95a2\u6570\u3001Q\u95a2\u6570\uff09<\/td><td>\ud835\udc44(\ud835\udc60,\ud835\udc4e)<\/td><\/tr>\n<\/table>\n<p><span class=\"my_fs_big2\">Q\u5024\u306e\u66f4\u65b0\u5f0f<\/span><br \/>\nQ\u5b66\u7fd2\u3067\u306f\u3001Q\u30c6\u30fc\u30d6\u30eb\u3068\u3044\u3046\u884c\u5217\u3067\u5404\u72b6\u614b\u3068\u884c\u52d5\u306e\u7d44\u306b\u5bfe\u3059\u308b\u4fa1\u5024\uff08Q\u5024\uff09\u3092\u7ba1\u7406\u3059\u308b\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30d9\u30eb\u30de\u30f3\u65b9\u7a0b\u5f0f\u306b\u57fa\u3065\u3044\u3066\u66f4\u65b0\u3059\u308b\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/nnet\/wp-content\/uploads\/2025\/05\/Image1.jpg\" alt=\"\"  \/><\/p>\n<p><span class=\"my_fs_big1\">\u5404\u9805\u306e\u610f\u5473<\/span><br \/>\n<table class=\"my_tbl_simple my_fs_big1\">\n<tr><td>\ud835\udc44(\ud835\udc60,\ud835\udc4e)<\/td><td>\u73fe\u5728\u306eQ\u5024\uff08\u671f\u5f85\u5024\uff09<\/td><\/tr><tr><td>\ud835\udc5f<\/td><td>\u5b9f\u969b\u306b\u5f97\u3089\u308c\u305f\u5831\u916c \uff08\u52dd\u5229:+1, \u6557\u6226:-1, \u77f3\u3092\u8fd4\u3059:n x 0.1, \u56db\u9685\u3092\u53d6\u308b:n x 0.5 \u306a\u3069\uff09<\/td><\/tr><tr><td>max<sub>\ud835\udc4e\u2032<\/sub> \ud835\udc44(\ud835\udc60\u2032,\ud835\udc4e\u2032)<\/td><td>\u6b21\u306e\u72b6\u614b\u3067\u6700\u5584\u306e\u884c\u52d5\u3092\u9078\u629e\u6642\u306b\u5f97\u3089\u308c\u308bQ\u5024\uff08\u5c06\u6765\u306e\u6700\u5927\u5831\u916c\u306e\u898b\u8fbc\u307f\uff09<\/td><\/tr><tr><td>\ud835\udefe<\/td><td>\u5272\u5f15\u7387\u3001\u5c06\u6765\u306e\u5831\u916c\u306b\u5bfe\u3059\u308b\u91cd\u307f\u4ed8\u3051\uff080\u306b\u8fd1\u3044\u3068\u77ed\u671f\u30011\u306b\u8fd1\u3044\u3068\u9577\u671f\u5fd7\u5411\uff09<\/td><\/tr><tr><td>\ud835\udefc<\/td><td>\u65b0\u3057\u3044\u7d4c\u9a13\u3092\u3069\u308c\u3060\u3051\u53cd\u6620\u3055\u305b\u308b\u304b\uff08\u5b66\u7fd2\u7387\uff09<\/td><\/tr>\n<\/table><\/p>\n<p><span class=\"my_fs_big1\">\u307e\u3060\u5206\u304b\u308a\u306b\u304f\u3044\u306e\u3067\u3001\u3055\u3089\u306b\u5e73\u305f\u304f\u304b\u307f\u7815\u3044\u3066\u307f\u308b\u3002<\/span><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/nnet\/wp-content\/uploads\/2025\/05\/Image3.jpg\" alt=\"\" \/><br \/>\n<table class=\"my_tbl_simple my_fs_big1\">\n<tr><td>\u2460<\/td><td>\u73fe\u5728\u306e\u76e4\u9762(s)\u3067\u3001\u305d\u3053\u306b\u77f3\u3092\u7f6e\u3044\u305f(a) \u2192 NN\u3067Q\u5024\uff08\u5831\u916c\u7dcf\u984d\uff09\u3092\u4e88\u6e2c<\/td><td><\/td><\/tr><tr><td>\u2461<\/td><td>\u73fe\u5728\u306e\u76e4\u9762(s)\u3067\u3001\u305d\u3053\u306b\u77f3\u3092\u7f6e\u3044\u305f(a)\u7d50\u679c\u3001\u5f97\u3089\u308c\u305f\u5831\u916c(r)<\/td><td>\u52dd\u5229:+1, \u6557\u6226:-1, \u89d2\u596a\u53d6:+0.5 \u7b49\u3005<\/td><\/tr><tr><td>\u2462<\/td><td>\u884c\u52d5\u306e\u7d50\u679c\u3001\u6b21\u306e\u76e4\u9762(s&#8217;)\u306b\u79fb\u308a\u3001\u6700\u5584\u306e\u5834\u6240\u306b\u77f3\u3092\u7f6e\u3044\u305f(a&#8217;)\u3068\u3057\u305f\u3089\uff1f \u2192 NN\u3067Q\u5024\u3092\u4e88\u6e2c\u3002\u3053\u308c\u3092\u6559\u5e2b\u30c7\u30fc\u30bf\uff08\uff1d\u7406\u60f3\u3068\u3059\u308bQ\u5024\uff09\u3068\u3057\u3066\u8aa4\u5dee\u7b97\u51fa\u3057\u3001\u9006\u4f1d\u64ad\u3067NN\u3092\u66f4\u65b0\u3059\u308b\u3002<\/td><td><\/td><\/tr>\n<\/table><\/p>\n<p>\u305f\u3060\u3057&#8230;<br \/>\n<span class=\"my_fc_red\">\u672c\u6765\u76f8\u624b\u306e\u624b\u756a\u3067\u3042\u308b\u306f\u305a\u306e s&#8217; \u3092\u5b66\u7fd2\u3067\u4f7f\u3063\u3066\u3088\u3044\u306e\u304b\u306f\u7591\u554f\u3060\u3002<br \/>\nQ\u5b66\u7fd2\u306e\u76ee\u7684\u306f\u300c\u672a\u6765\u306e\u6700\u7d42\u5831\u916c\uff08Win:+1, Lose:-1, Draw:0\uff09\u3092\u3001\u4eca\u306e\u884c\u52d5\u306e\u4fa1\u5024\u306b\u53cd\u6620\u3059\u308b\u3053\u3068\u300d\u3002<\/span><\/p>\n<p><span class=\"my_fc_red\">\u3067\u3042\u308b\u306a\u3089\u3070\u3001<br \/>\n\u81ea\u5206 \u2192 \u76f8\u624b \u2192 \u81ea\u5206 \u2192 \u2026 \u2192 \u52dd\u5229\uff08+1\uff09<br \/>\n\u3068\u3044\u3046\u6d41\u308c\u306e\u4e2d\u3067\u3001\u300c\u76f8\u624b\u306e\u624b\u756a\u304c\u9014\u4e2d\u306b\u631f\u307e\u3063\u3066\u3044\u308b\u306e\u306b\u3001\u81ea\u5206\u8996\u70b9\u306eQ\u5024\u3092\u9023\u7d9a\u7684\u306b\u66f4\u65b0\u3057\u3066\u3044\u3066\u3088\u3044\u306e\u304b\uff1f<\/span><\/p>\n<p><span class=\"my_fc_red\">\u5bfe\u6226\u578b\u30b2\u30fc\u30e0AI\u306b\u304a\u3051\u308bQ\u5b66\u7fd2\u306e\u624b\u6cd5\u306b\u3064\u3044\u3066\u3001\u5148\u4eba\u306e\u77e5\u6075\u3092\u304a\u501f\u308a\u3057\u305f\u3044\u306a\u3041&#8230;<br \/>\n\u3000\u2192 \u8981\u8abf\u67fb<\/span><\/p>\n<h3 class=\"my_h\">(2) \u5f37\u5316\u5b66\u7fd2\u306e\u624b\u9806<\/h3>\n<p>Step1:<br \/>\n\u30fb\u30e2\u30c7\u30eb\u540c\u58eb\u3092\u5bfe\u6226\u3055\u305b\u308b\u3002<br \/>\n\u3000\u2192 \u52dd\u5229\u3001\u6557\u6226\u3001\u5f15\u5206\u3051\u3059\u3079\u3066\u306e <span class=\"my_fc_deeppinkB\">\u6307\u3057\u624b\u306e\u5c65\u6b74\uff08\uff1d\u5f8c\u306e\u5b66\u7fd2\u30c7\u30fc\u30bf\uff09<\/span> \u3092\u8a18\u61b6\u3057\u3066\u304a\u304f\u3002<br \/>\n\u30fb\u5bfe\u6226\u3059\u308b\u4e21\u30e2\u30c7\u30eb\u3068\u3082\u306b\u6700\u521d\u306f\u300c\u30e9\u30f3\u30c0\u30e0\u306b\u77f3\u3092\u7f6e\u304f\u3053\u3068\u3057\u304b\u3067\u304d\u306a\u3044\u300d\u3068\u3044\u3046\u5e7c\u5150\u306e\u3088\u3046\u306a\u72b6\u614b\u3067\u958b\u59cb\u3059\u308b\u3002\uff08\u53c2\u8003: AlphaZero\uff09<br \/>\n\u3000<br \/>\nStep2:<br \/>\n\u30fbStep1\u3067\u53ce\u96c6\u3057\u305f\u6307\u3057\u624b\u306e\u5c65\u6b74\u30c7\u30fc\u30bf\u3092\u4f7f\u3044\u3001\u30e2\u30c7\u30eb\u3092\u5b66\u7fd2\u3055\u305b\u308b\u3002<br \/>\n\u30fb\u3053\u306e\u3068\u304d\u3001\u4e00\u5ea6\u306b\u6570\u5341\u624b\u3092\u30df\u30cb\u30d0\u30c3\u30c1\u5b66\u7fd2\u3055\u305b\u308b\u3002\uff08GPU\u306e\u51fa\u756a\uff09<br \/>\n\u30fb\u5165\u529b\u306f 6&#215;6\u306e\u76e4\u9762\u4e0a\u306e\u77f3\u306e\u914d\u7f6e<br \/>\n\u30fb\u51fa\u529b\u306f 6&#215;6\u306e\u76e4\u9762\u4e0a\u306e\u671f\u5f85\u5831\u916c Q\u5024 \uff08\uff1d\u300c\u305d\u306e\u30de\u30b9\u306b\u77f3\u3092\u7f6e\u3044\u305f\u3089\u3007\u70b9\u300d\u304c\u500b\u3005\u306e\u30de\u30b9\u306b\u66f8\u304b\u308c\u305fQ\u5024\u30de\u30c3\u30d7\uff09<br \/>\n\u30fb\u6307\u3057\u624b\u5c65\u6b74\u30c7\u30fc\u30bf\u306e\u300c\u6b21\u306e\u4e00\u624b\u300d\u3092\u6b63\u89e3\u3068\u3057\u3066\u8aa4\u5dee\u7b97\u51fa\u3057\u3001Neural Network\u306b\u5b66\u7fd2\u3055\u305b\u308b\u3002<br \/>\n\u30fb\u3053\u306e\u3068\u304d\u3001\u3072\u3063\u304f\u308a\u8fd4\u3057\u305f\u77f3\u306e\u679a\u6570\u306b\u5fdc\u3058\u3066\u8ffd\u52a0\u5831\u916c\u3092\u6b63\u89e3\u5024\u306b\u52a0\u7b97\u3059\u308b\u3002<br \/>\n\u30fb\u540c\u69d8\u306b\u3001\u56db\u9685\u3092\u53d6\u3063\u305f\u3089\u5927\u304d\u3081\u306e\u8ffd\u52a0\u5831\u916c\u3092\u6b63\u89e3\u5024\u306b\u52a0\u7b97\u3059\u308b\u3002<br \/>\n\u30fb1\u8a66\u5408\u304c\u7d42\u4e86\u6642\u3001\u52dd\u3066\u3070\u5927\u304d\u3081\u306e\u30d7\u30e9\u30b9\u5831\u916c\u3092\u52a0\u7b97\u3001\u8ca0\u3051\u308c\u3070\u5927\u304d\u3081\u306e\u30de\u30a4\u30ca\u30b9\u5831\u916c\u3092\u52a0\u7b97\u3059\u308b\u3002<\/p>\n<p>Step3:<br \/>\n\u30fb\u4e0a\u8a18Step1, Step2\u3092\u3072\u305f\u3059\u3089\u7e70\u308a\u8fd4\u3059\u3002<br \/>\n\u3000\u2192 \u81ea\u5df1\u5bfe\u6226\u578b\u5f37\u5316\u5b66\u7fd2\uff08Self-Play Reinforcement Learning\uff09\u306b\u3088\u308a\u5f90\u3005\u306b\u5f37\u304f\u306a\u308b\u3002<\/p>\n<h3 class=\"my_h\">(3) \u5bfe\u6226\u76f8\u624b\u5019\u88dc\u30e2\u30c7\u30eb\u3092\u5f90\u3005\u306b\u5897\u3084\u3059<\/h3>\n<p>\u30fb\u5b66\u7fd2\u4e2d\u306b\u3001\u5bfe\u6226\u76f8\u624b\u5019\u88dc\u30e2\u30c7\u30eb\u30ea\u30b9\u30c8\u3092\u81ea\u52d5\u3067\u6574\u5099\u3059\u308b\u3002<br \/>\n\u30fb\u6700\u521d\u306b\u30ea\u30b9\u30c8\u306b\u5165\u308c\u308b\u306e\u306f\u3001\u30e9\u30f3\u30c0\u30e0\u306b\u77f3\u3092\u7f6e\u304f\u3060\u3051\u306e\u30e2\u30c7\u30eb\u4e00\u3064\u3060\u3051\u3002<br \/>\n\u30fb\u5f37\u304f\u306a\u3063\u3066\u4e00\u5b9a\u306e\u52dd\u7387\u3092\u8d85\u3048\u308b\u30e2\u30c7\u30eb\u306b\u6210\u9577\u3057\u305f\u3089\u3001\u305d\u306e\u6642\u306e\u81ea\u5206\u81ea\u8eab\u3092\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u3002<br \/>\n\u30fb\u5bfe\u6226\u5019\u88dc\u30ea\u30b9\u30c8\u306e\u4e2d\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u5bfe\u6226\u76f8\u624b\u30e2\u30c7\u30eb\u3092\u9078\u629e\u3059\u308b\u3002<br \/>\n\u3000\u2192 \u904e\u5b66\u7fd2\u3092\u56de\u907f\u3059\u308b\u3002 <span class=\"my_fc_deeppinkBBig\">\u300c\u658e\u85e4\u3055\u3093\u306b\u3060\u3051\u306a\u3089\u52dd\u3066\u308b\uff01\u300d\u3067\u306f\u30c0\u30e1<\/span><br \/>\n\u3000\u2192 \u5c40\u6240\u6700\u5c0f\u5024\u3078\u306e\u306f\u307e\u308a\u8fbc\u307f\u3092\u56de\u907f\u3059\u308b\u3002\u3000<span class=\"my_fc_deeppinkBBig\">\u6210\u9577\u306e\u58c1\u30fb\u884c\u304d\u8a70\u307e\u308a\u30fb\u505c\u6ede\u3092\u4e57\u308a\u8d8a\u3048\u308b\u3002<\/span><\/p>\n<h2 class=\"my_h\">3) \u5b9f\u88c5\u65b9\u6cd5<\/h2>\n<h3 class=\"my_h\">(1) \u4f7f\u7528\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea<\/h3>\n<p>\u30fbPyTorch\u3092\u4f7f\u3046\u3002<\/p>\n<h3 class=\"my_h\">(2) \u5165\u529b\u5c64<\/h3>\n<p>\u30fb6&#215;6\u306e\u30de\u30b9\u76ee\u4e0a\u306e <span class=\"my_fc_deeppinkBBig\">\u81ea\u5206\/\u76f8\u624b\u306e\u77f3\u306e\u914d\u7f6e<\/span> \u3092\u8868\u3059\u3002<br \/>\n<table class=\"my_tbl_simple\">\n<tr><td>1<\/td><td>\u81ea\u5206\u306e\u77f3<\/td><\/tr><tr><td>-1<\/td><td>\u76f8\u624b\u306e\u77f3<\/td><\/tr><tr><td>0<\/td><td>\u77f3\u7121\u3057<\/td><\/tr>\n<\/table><\/p>\n<p>\u4f8b\uff1a \u30b2\u30fc\u30e0\u958b\u59cb\u6642\u306e\u521d\u56de\u306e\u5165\u529b\u5024\u306f\u3044\u3064\u3082\u3053\u308c\uff08\uff1d\u81ea\u5206\/\u76f8\u624b\u306e\u77f3\u306e\u914d\u7f6e\uff09<br \/>\n<table class=\"my_tbl_simple\">\n<tr><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><\/tr><tr><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><\/tr><tr><td>0<\/td><td>0<\/td><td>1<\/td><td>-1<\/td><td>0<\/td><td>0<\/td><\/tr><tr><td>0<\/td><td>0<\/td><td>-1<\/td><td>1<\/td><td>0<\/td><td>0<\/td><\/tr><tr><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><\/tr><tr><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>0<\/td><\/tr>\n<\/table><\/p>\n<h3 class=\"my_h\">(2) \u96a0\u308c\u5c64<\/h3>\n<p>\u30fb\u3044\u308d\u3044\u308d\u8a66\u3057\u3066\u307f\u305f\u3044\u3002<br \/>\n\u30fb\u521d\u7248\u306e CNN\uff08\u6d45\u3081\u306e4\u5c64\uff09\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7e4b\u3044\u3060\u3002<br \/>\n\u3000[INPUT: 6&#215;6]<br \/>\n\u3000\u3000\u2192 [ CONV:[64][6][6] ] \u2192 ReLU<br \/>\n\u3000\u3000\u2192 [ CONV:[128][6][6] ] \u2192 ReLU<br \/>\n\u3000\u3000\u2192 [ CONV:[128][6][6] ] \u2192 ReLU<br \/>\n\u3000\u3000\u2192 [ FC:[128] ] \u2192 ReLU<br \/>\n\u3000\u3000\u2192 [ OUTPUT:[36(6&#215;6)] ]<\/p>\n<h3 class=\"my_h\">(3) \u51fa\u529b\u5c64<\/h3>\n<p>\u30fb6&#215;6\u306e\u30de\u30b9\u76ee\u4e0a\u306b\u671f\u5f85\u5831\u916c <span class=\"my_fc_deeppinkBBig\">Q\u5024\u30de\u30c3\u30d7<\/span> \u3092\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u5b66\u7fd2\u3059\u308b\u3002<br \/>\n\u30fb\u5b9f\u969b\u306b\u306f 6&#215;6=36\u500b\u306e\u30d5\u30eb\u63a5\u7d9a\u5c64\u306b\u3059\u308b\u3002<br \/>\n\u30fb\u51fa\u529b\u5024\u306f\u6b63\u8ca0\u306e\u5b9f\u6570\u5024\uff08\u6b63\u898f\u5316\u3057\u306a\u3044\u751f\u306e\u51fa\u529b\u5024\uff09<\/p>\n<p><span class=\"my_fc_crimsonB\">\u507d\u306e\u5024\u3088\u308a\u3082\u826f\u3044\u306e\u3067\u3001\u5f8c\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u5b9f\u884c\u6642\u306b\u30c0\u30f3\u30d7\u3057\u305f\u672c\u7269\u3092\u8cbc\u4ed8\u3051\u3088\u3046<\/span><\/p>\n<p><span class=\"my_fc_crimsonBBig\">\u305d\u306e\u4ed6\u3001\u5f8c\u65e5\u8ffd\u8a18<\/span><\/p>\n<h2 class=\"my_h\">4) \u30d7\u30ed\u30b0\u30e9\u30e0\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h2>\n<p>\u91cf\u304c\u591a\u3044\u306e\u3067\u3001\u5f8c\u65e5\u4e00\u3064\u305a\u3064\u63b2\u8f09\u3057\u305f\u3044\u3002<br \/>\n\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3054\u3068\u306b\u30b3\u30e1\u30f3\u30c8\u3092\u304d\u308c\u3044\u306b\u66f8\u304d\u76f4\u3059\u5fc5\u8981\u3082\u3042\u308b&#8230;<\/p>\n<h2 class=\"my_h\">5) \u76f4\u8fd1 2\u65e5\u9593\u3067\u4f5c\u308a\u51fa\u3057\u305f\u30e2\u30c7\u30eb\u305f\u3061<\/h2>\n<p>\u4ee5\u4e0b\u306e 3\u7a2e\u985e\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u69cb\u6210\u3067\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u4f5c\u3063\u305f\u3002<br \/>\n<table class=\"my_tbl_simple\">\n<tr><td>(1)<\/td><td>CNN\uff084\u5c64\uff09<\/td><\/tr><tr><td>(2)<\/td><td>CNN\uff088\u5c64\uff09<\/td><\/tr><tr><td>(3)<\/td><td>CNN\uff087\u5c64:\u30b9\u30ad\u30c3\u30d7\u7d50\u5408\u3042\u308a\uff09<\/td><\/tr>\n<\/table><\/p>\n<p>(1)\u306b\u3064\u3044\u3066\u306f\u5b66\u7fd2\u6240\u8981\u6642\u9593\u304c\u77ed\u3044\u305f\u3081\u3001\u8d85\u30d1\u30e9\u30e1\u30fc\u30bf\u30bb\u30c3\u30c8 x 50\u7d44\u3050\u3089\u3044\u5b9f\u884c\u3057\u3066\u307f\u305f\u3002<br \/>\n(2),(3)\u306f\u5c64\u304c\u6df1\u304f\u3066\u5b9f\u884c\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u3067\u6570\u56de\u3057\u304b\u8a66\u3057\u3066\u3044\u306a\u3044\u3002<\/p>\n<p>\u76f4\u8fd1 1.5\u65e5\u3067\u8a66\u3057\u305f\u4e2d\u3067\u826f\u597d\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u305f\u4e0a\u4f4d 24\u30e2\u30c7\u30eb\u306f\u4e0b\u8868\u306e\u3068\u304a\u308a\u3002<br \/>\n\u203b\u307e\u3060\u4f5c\u3063\u30662\u65e5\u76ee\u306a\u306e\u3067\u3001\u4eca\u5f8c\u3050\u3093\u3050\u3093\u629c\u304b\u308c\u308b\u4e88\u5b9a\uff08\u3067\u3042\u3063\u3066\u307b\u3057\u3044\uff09<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/nnet\/wp-content\/uploads\/2025\/05\/img002.jpg\" alt=\"\"  \/><\/p>\n<p>\u3061\u306a\u307f\u306b <span class=\"my_fc_deeppinkB\">CvR 10000<\/span> \u306f\u52dd\u624b\u306b\u4f5c\u3063\u305f\u6307\u6a19\u3067<br \/>\n<span class=\"my_fc_deeppinkBBig\">COM vs Random 10000\u56de\u5bfe\u6226\u6642\u306e\u52dd\u5229\u6570<\/span> \u3092\u8868\u3059\u3002\uff08\uff05\u8868\u8a18\u3088\u308a\u3082\u5b09\u3057\u3044\u306e\u3067\uff09<\/p>\n<p>\u500b\u4eba\u7684\u306b\u306f\u3053\u308c\u3092 Level \u3068\u547c\u3093\u3067\u3044\u308b\u3002<br \/>\n\u3000\u2192 <span class=\"my_fc_deeppinkBBig\">Lv.8000<\/span> \u306f\u3001Random\u6307\u3057\u624b\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3092\u76f8\u624b\u306b <span class=\"my_fc_deeppinkBBig\">10000\u6226\u3057\u3066 8000\u52dd\u306e\u5b9f\u7e3e<\/span> \u3068\u3044\u3046\u3053\u3068\u3060\u3002<\/p>\n<h1 class=\"my_h\">\u30103\u3011\u6240\u611f<\/h1>\n<p><span class=\"my_fc_deeppinkBBig\">\u76f4\u8fd1\u4e8c\u65e5\u9593\u3067\u6700\u5f37\u306e\u306f\u305a<\/span> \u306e <span class=\"my_fc_crimsonBBig\">Lv.8109<\/span>\uff08vs \u30e9\u30f3\u30c0\u30e0\u6307\u3057\u624b 8109\u52dd\/10000\u6226\uff09\u306e\u30aa\u30bb\u30edAI\u3060\u304c&#8230;<br \/>\n\u5927\u3057\u3066 IQ\u306e\u9ad8\u304f\u306a\u3044\u81ea\u5206\u3068\u5bfe\u6226\u3057\u3066\u3053\u306e\u7d50\u679c\u3060\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/nnet\/wp-content\/uploads\/2025\/05\/img001.jpg\" alt=\"\" class=\"my_add_bs1\" \/><br \/>\n\u3053\u3061\u3089\uff08\u2191\uff09\u306f JavaScript + CGI(Python) \u3067\u5b66\u7fd2\u6e08\u307f\u30e2\u30c7\u30eb\u3092\u52d5\u304b\u3057\u3066\u5bfe\u6226\u3067\u304d\u308b Web\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u305f\u3002<br \/>\nWeb\u516c\u958b\u3057\u305f\u3044\u304c\u3001\u3053\u306e\u30d6\u30ed\u30b0\u3092\u8a2d\u7f6e\u3057\u3066\u3044\u308b\u5171\u7528\u30b5\u30fc\u30d0\u3067\u306f PyTorch\u304c core\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u8981\u8abf\u67fb\u3002<br \/>\n\u73fe\u72b6\u306f\u81ea\u5b85\u9bd6\u3067\u306e\u307f\u5b9f\u884c\u3067\u304d\u3066\u3044\u308b\u3002<\/p>\n<p>\u5e73\u5747\u7684\u306a\u4eba\u9593\u4ee3\u8868\u3068\u3057\u3066\u5bfe\u6226\u3057\u305f\u611f\u60f3\u306f&#8230;<br \/>\n<span class=\"my_fc_redBBig\">\u307e\u3060\u307e\u3060\u30c0\u30e1\u3060\u306a\u30fb\u30fb\u30fb<\/span><\/p>\n<p>\u56db\u9685\u304c\u7a7a\u3044\u3066\u3044\u308b\u306e\u306b\u53d6\u3089\u306a\u304b\u3063\u305f\u308a\u3001<br \/>\n\u4eba\u9593\u5074\u306b\u5927\u9006\u8ee2\u306e\u4e00\u624b\u304c\u3042\u308b\u306e\u306b\u9632\u304c\u306a\u304b\u3063\u305f\u308a\u3001<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u307e\u3060\u307e\u3060\u5831\u916c\u8a2d\u5b9a\u304c\u7518\u3044<\/span> \u306e\u3060\u308d\u3046\u3002<\/p>\n<p>\u307e\u305f\u3001\u5b66\u7fd2\u505c\u6ede\u6642\u306b\u305d\u306e <span class=\"my_fc_deeppinkBBig\">\u6cbc\u304b\u3089\u8131\u3059\u308b\u65b9\u6cd5<\/span> \u3082\u8981\u52c9\u5f37\u3060\u3002<br \/>\n\u6226\u8853\u306e\u7570\u306a\u308b\u8907\u6570\u7a2e\u985e\u306e\u904e\u53bb\u30e2\u30c7\u30eb\u305f\u3061\u3068\u5bfe\u6226\u3055\u305b\u3066\u982d\u306e\u4f7f\u3044\u65b9\u3092\u5909\u3048\u3055\u305b\u305f\u308a\u3001<br \/>\n\u8ca0\u3051\u304c\u7d9a\u3044\u305f\u3089\u6226\u8853\u30bc\u30ed\u306e\u30e9\u30f3\u30c0\u30e0\u30ed\u30b8\u30c3\u30af\u3092\u76f8\u624b\u306b\u81ea\u5c0a\u5fc3\u3092\u633d\u56de\u3055\u305b\u305f\u308a\u3001<br \/>\n\u63a2\u7d22\u9078\u629e\u7387 <span class=\"my_fs_big3\">\u03b5<\/span> \u306e\u5024\u3092\u52d5\u7684\u306b\u8abf\u6574\u3057\u3066\u307f\u305f\u308a\u3001<br \/>\n<span class=\"my_fc_deeppinkBBig\">\u8272\u3005\u3068\u8a66\u305d\u3046\u3068\u3059\u308b\u3068\u9ad8\u901f\u5b9f\u884c\u3067\u304d\u308b\u74b0\u5883\u304c\u6b32\u3057\u3044\u3002<\/span><\/p>\n<p>\u6211\u304c\u5bb6\u306b\u306f 36\u30b3\u30a272\u30b9\u30ec\u30c3\u30c9\u306e Dual CPU\u642d\u8f09\u306e Z840\u304c\u3042\u308b\u304c\u3001\u30b7\u30f3\u30b0\u30eb\u30b9\u30ec\u30c3\u30c9\u30d1\u30ef\u30fc\u304c\u8d85\u975e\u529b\u3067\u3001\u6a5f\u68b0\u5b66\u7fd2\u306b\u4f7f\u3046\u3068\u9045\u3044\u304f\u3089\u3044\u306b\u611f\u3058\u308b\u3002<br \/>\n\u307e\u305f\u300124\u30b3\u30a2 32\u30b9\u30ec\u30c3\u30c9\u4e14\u3064 Single thread\u3082\u5f37\u3044 Core i9 13900\u306f\u30d1\u30ef\u30d5\u30eb\u3067\u826f\u3044\u304c\u3001 \u30e1\u30a4\u30f3\u30d1\u30bd\u30b3\u30f3\u306a\u306e\u3067\u6a5f\u68b0\u5b66\u7fd2\u5c02\u7528\u6a5f\u3068\u3057\u3066\u5c02\u5ff5\u3055\u305b\u3089\u308c\u306a\u3044\u3002<br \/>\n\u5148\u3005\u6708\u306b GeForce RTX 5070ti \u3092\u8cfc\u5165\u3057\u305f\u304c\u3001\u3053\u3061\u3089\u306f Adobe\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u305f\u4ed5\u4e8b\u7528\u306b\u30e1\u30a4\u30f3\u30d1\u30bd\u30b3\u30f3\u306b\u642d\u8f09\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3082\u6a5f\u68b0\u5b66\u7fd2\u5c02\u7528\u306b\u306f\u3067\u304d\u306a\u3044\u3002<\/p>\n<p>\u5c11\u3057\u304a\u91d1\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3046\u304c\u3001\u6a5f\u68b0\u5b66\u7fd2\u5c02\u7528\u6a5f\u3092 1\u53f0\u4f5c\u308b\u304b\u306a\u3041\u30fb\u30fb\u30fb<\/p>\n<h1 class=\"my_h\">\u30104\u3011\u4eca\u5f8c\u306e\u8a08\u753b<\/h1>\n<p>\u6b21\u56de\u4ee5\u964d\u306e\u6295\u7a3f\u3067\u306f\u3001\u4eca\u56de\u5b9f\u88c5\u3057\u305f\u521d\u7248\u306e\u30ed\u30b8\u30c3\u30af\u3092\u81ea\u5206\u7528\u306b\u89e3\u8aac\u3057\u305f\u3044\u3002<br \/>\n\u305d\u3057\u3066\u3001\u6c17\u4ed8\u3044\u305f\u70b9\u3092\u8a18\u9332\u3057\u3066\u304a\u304d\u3001\u5f8c\u306e\u6539\u826f\u4f5c\u696d\u306b\u3064\u306a\u3052\u305f\u3044\u3002<\/p>\n<p>\u6700\u7d42\u7684\u306b\u306f\u30fb\u30fb\u30fb<br \/>\n<span class=\"my_fc_deeppinkBBig\">CvR 9500 \u306e\u81ea\u5206\u53f2\u4e0a\u6700\u5f37\u30e2\u30c7\u30eb\u3092\u4f5c\u308a\u305f\u3044\uff01<\/span><br \/>\n\u3068\u3044\u3046\u306e\u304c\u5922\u3067\u3059\u3002<\/p>\n<p>\u697d\u3057\u3044\u904a\u3073\u3092\u898b\u3064\u3051\u3066\u3057\u307e\u3063\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u30fb\u30fb\u30fb<\/p>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>\u30101\u3011\u3084\u308a\u305f\u3044\u3053\u3068 PyTorch\u306e\u4f7f\u3044\u65b9\u304c\u5c11\u3057\u305a\u3064\u308f\u304b\u3063\u3066\u304d\u305f\u306e\u3067\u3001\u753b\u50cf\u5206\u985e\u3068\u306f\u9055\u3046\u30c6\u30fc\u30de\u306b\u3082\u6311\u6226\u3057\u3066\u307f\u305f\u3044\u3002 \u6b21\u306b\u9078\u3093\u3060\u30c6\u30fc\u30de\u306f&#8230; \u5f37\u5316\u5b66\u7fd2\u3067\u30b2\u30fc\u30e0AI\u4f5c\u308a\uff01 \u5b66\u7fd2\u3057\u306a\u304c\u3089\u697d\u3057\u3081\u308b\u7269\u304c\u6b32\u3057\u3044\u306e\u3067\u3001\u30b2\u30fc\u30e0A\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/nnet\/blog45%e3%80%90pytorch%e3%80%91%e5%bc%b7%e5%8c%96%e5%ad%a6%e7%bf%92%e3%81%a7%e3%82%aa%e3%82%bb%e3%83%adai%e3%82%92%e4%bd%9c%e3%82%8b%e3%80%82\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":1441,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,20,28,27,6],"tags":[],"class_list":["post-1440","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pytorch","category-web","category-othelloai","category-27","category-6"],"views":1350,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/posts\/1440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/comments?post=1440"}],"version-history":[{"count":158,"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/posts\/1440\/revisions"}],"predecessor-version":[{"id":2551,"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/posts\/1440\/revisions\/2551"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/media\/1441"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/media?parent=1440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/categories?post=1440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/nnet\/wp-json\/wp\/v2\/tags?post=1440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}