Hi, @takiyu
I'm running the use_on_file.py like this
python scripts/use_on_file.py --model model_epoch_190 --img age_gender/input/jan2.jpg
The error I'm getting is this:
Traceback (most recent call last):
File "scripts/use_on_file.py", line 87, in <module>
y = model(x)
File "/datadrive/hyperface/scripts/models.py", line 80, in __call__
h = F.dropout(h, train=self.train)
File "/datadrive/virtualenvs/py2/local/lib/python2.7/site-packages/chainer/functions/noise/dropout.py", line 163, in dropout
kwargs, train='train argument is not supported anymore. '
File "/datadrive/virtualenvs/py2/local/lib/python2.7/site-packages/chainer/utils/argument.py", line 7, in check_unexpected_kwargs
raise ValueError(message)
ValueError: train argument is not supported anymore. Use chainer.using_config
The model is successfully running till this step:
[2018/10/12 04:45:15] INFO (4127) __main__ : Forward the network
Is there some step I'm missing out?
Hi, @takiyu
I'm running the use_on_file.py like this
python scripts/use_on_file.py --model model_epoch_190 --img age_gender/input/jan2.jpgThe error I'm getting is this:
The model is successfully running till this step:
[2018/10/12 04:45:15] INFO (4127) __main__ : Forward the networkIs there some step I'm missing out?