Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value error on CBR batchnorm function #3

Open
aratakokubun opened this issue Jul 2, 2017 · 0 comments
Open

Value error on CBR batchnorm function #3

aratakokubun opened this issue Jul 2, 2017 · 0 comments

Comments

@aratakokubun
Copy link

aratakokubun commented Jul 2, 2017

Hi,
Thanks for publishing valuable program!
However, I got stuck in the exception problem.

I got the error below on running program.
Does this mean this program no longer work with chainer 2.0.0?
Any reply would be helpful.

python train_facade.py --dataset "./facade/base" --out "./out" --snapshot_interval 10000
GPU: -1
# Minibatch-size: 1
# epoch: 200

load dataset start
    from: ./facade/base
    range: [1, 300)
load dataset done
load dataset start
    from: ./facade/base
    range: [300, 379)
load dataset done
Traceback (most recent call last):
  File "train_facade.py", line 119, in <module>
    main()
  File "train_facade.py", line 116, in main
    trainer.run()
  File "/Users/kkbnart/.pyenv/versions/dcgan/lib/python3.4/site-packages/chainer/training/trainer.py", line 296, in run
    update()
  File "/Users/kkbnart/.pyenv/versions/dcgan/lib/python3.4/site-packages/chainer/training/updater.py", line 177, in update
    self.update_core()
  File "/Users/kkbnart/Documents/programming/python/machineLearning/pix2pix/chainer-pix2pix/updater.py", line 73, in update_core
    z = enc(x_in, test=False)
  File "/Users/kkbnart/Documents/programming/python/machineLearning/pix2pix/chainer-pix2pix/net.py", line 58, in __call__
    hs.append(self['c%d'%i](hs[i-1], test=test))
  File "/Users/kkbnart/Documents/programming/python/machineLearning/pix2pix/chainer-pix2pix/net.py", line 33, in __call__
    h = self.batchnorm(h, test=test)
  File "/Users/kkbnart/.pyenv/versions/dcgan/lib/python3.4/site-packages/chainer/links/normalization/batch_normalization.py", line 117, in __call__
    kwargs, test='test argument is not supported anymore. '
  File "/Users/kkbnart/.pyenv/versions/dcgan/lib/python3.4/site-packages/chainer/utils/argument.py", line 4, in check_unexpected_kwargs
    raise ValueError(message)
ValueError: test argument is not supported anymore. Use chainer.using_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant