yasunorikudo/chainer-ResNet

Execution error

santle opened this issue · 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.

Sorry for inconvenient.
I fixed "predict.py".
891cc9a
Plese fix the code or pull this repository again.

It works for me. thanks.