Execution error
santle opened this issue · 2 comments
santle commented
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.
yasunorikudo commented
Sorry for inconvenient.
I fixed "predict.py".
891cc9a
Plese fix the code or pull this repository again.
santle commented
It works for me. thanks.