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

ValueError: train argument is not supported anymore. Use chainer.using_config #6

Open
ThorPham opened this issue Jul 13, 2018 · 2 comments

Comments

@ThorPham
Copy link

help me fix error
File "forward.py", line 168, in
cls_score, bbox_pred = vgg_model(x,rois)
File "C:\Users\pvdung\Desktop\faster rcnn\chainer-simple-fast-rnn\vgg.py", line 62, in call
h = F.dropout(F.relu(self.fc6(h)), train=train, ratio=0.5)
File "C:\Users\pvdung\AppData\Local\Continuum\anaconda3\lib\site-packages\chainer\functions\noise\dropout.py", line 163, in dropout
kwargs, train='train argument is not supported anymore. '
File "C:\Users\pvdung\AppData\Local\Continuum\anaconda3\lib\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

@lilaczhou
Copy link

Do you solve it?I meet the same problem as you

@apple2373
Copy link
Owner

I don't have time to confirm but it's likely that you are using too new version of chainer. Please use the same version I used. it's pip install chainer==1.9

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

3 participants