chainer-cyclegan icon indicating copy to clipboard operation
chainer-cyclegan copied to clipboard

TypeError: __call__() got an unexpected keyword argument 'test'

Open taktak1 opened this issue 7 years ago • 2 comments

python train.py

File "/chainer-cyclegan/updater.py", line 122, in update_core x_y = self.gen_g(x) File "/chainer-cyclegan/common/net.py", line 146, in call h = self.c1(x, test=test) File "/chainer-cyclegan/common/net.py", line 83, in call h = self.batchnorm(h, test=test) TypeError: call() got an unexpected keyword argument 'test'

taktak1 avatar May 19 '17 10:05 taktak1

What is wrong?

taktak1 avatar May 19 '17 14:05 taktak1

Are you using chainer 2? This code only support chainer 1.16~1.24, please downgrade chainer or modify the code manually (http://docs.chainer.org/en/stable/upgrade.html)

Aixile avatar Jun 05 '17 01:06 Aixile