chainer-cyclegan
chainer-cyclegan copied to clipboard
TypeError: __call__() got an unexpected keyword argument 'test'
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'
What is wrong?
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)