chainer-simple-fast-rnn icon indicating copy to clipboard operation
chainer-simple-fast-rnn copied to clipboard

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

Open ThorPham opened this issue 6 years ago • 2 comments

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

ThorPham avatar Jul 13 '18 07:07 ThorPham

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

lilaczhou avatar Apr 15 '19 14:04 lilaczhou

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

apple2373 avatar Apr 16 '19 07:04 apple2373