Permalink
Browse files

chainer 1.6環境下で警告が出ないように, manager.py を修正

  • Loading branch information...
ISP-Tetsuro-Kitajima committed Feb 4, 2016
1 parent 62db7b3 commit 10a2b9c3a2e72da43415823071be3935c36bda65
Showing with 1 addition and 1 deletion.
  1. +1 −1 xchainer/manager.py
View
@@ -13,7 +13,7 @@ def __init__(self, model, optimizer, lossFunction, **params):
self.model = model
# オプティマイザの設定
self.optimizer = optimizer
self.optimizer.setup(self.model.collect_parameters())
self.optimizer.setup(self.model)
# 損失関数の設定
self.lossFunction = lossFunction
# epochの設定

0 comments on commit 10a2b9c

Please sign in to comment.