{"width":"100%","blog_url":"https://studylog.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/kitanokumo/","title":"cahiner\u30e1\u30e23","blog_title":"studylog/\u5317\u306e\u96f2","provider_name":"Hatena Blog","url":"https://studylog.hateblo.jp/entry/2015/07/05/010735","provider_url":"https://hatena.blog","author_name":"kitanokumo","image_url":null,"categories":["chainer"],"type":"rich","height":"190","version":"1.0","published":"2015-07-05 01:07:35","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstudylog.hateblo.jp%2Fentry%2F2015%2F07%2F05%2F010735\" title=\"cahiner\u30e1\u30e23 - studylog/\u5317\u306e\u96f2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"chainer\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30fb\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306eGPU\u3067\u52d5\u304b\u3059\u3068\u3053\u308d\u306e\u6700\u5f8c\u304ctypo? Using GPU(s) in Chainer \u2014 Chainer 1.0.1 documentation\u30c7\u30fc\u30bf\u30d1\u30e9\u30ec\u30eb\u306e\u3068\u3053\u308d\u306e\u3053\u306e\u30b3\u30fc\u30c9 optimizer.acumulate_grads(model_1.gradients) #accumulate\u306etypo optimizer.update() model_1.copy_parameters_from(model_0.parameters) #model_0\u3068model_1\u304c\u9006\uff1f \u5143\u30b3\u30fc\u30c9\u3060\u3068\u3044\u3064\u307e\u3067\u3082\u5b66\u7fd2\u304c\u9032\u307e\u306a\u3044\u3051\u308c\u3069\u3001model_0\u3068model_1\u2026"}