chainer-ResNet icon indicating copy to clipboard operation
chainer-ResNet copied to clipboard

Execution error

Open santle opened this issue 8 years ago • 2 comments

I completed all instructions mentioned by you in the guidelines. on executing: python predict.py --model ResNet152 --img cat.png I am getting an error message: Traceback (most recent call last): File "predict.py", line 32, in pred = model(x_data,None).data File ".../chainer-ResNet-master/ResNet152.py", line 98, in call h = self.res2(h, self.train) File ".../chainer-ResNet-master/ResNet152.py", line 68, in call x = f(x) TypeError: call() takes exactly 3 arguments (2 given)

Any directions to solve this issue? Thanks in advance for your help.

santle avatar Jul 08 '16 10:07 santle

Sorry for inconvenient. I fixed "predict.py". https://github.com/yasunorikudo/chainer-ResNet/commit/891cc9a2befe13eb7466226e3dc0d23287c13e28 Plese fix the code or pull this repository again.

yasunorikudo avatar Jul 08 '16 14:07 yasunorikudo

It works for me. thanks.

santle avatar Jul 11 '16 07:07 santle