Ning-Ding / Implementation-CVPR2015-CNN-for-ReID

Implementation for CVPR 2015 Paper: "An Improved Deep Learning Architecture for Person Re-Identification".
MIT License
147 stars 71 forks source link

TypeError : get_updates() takes exactly 4 arguments (3 given) #41

Closed MitraSafarinejad closed 6 years ago

MitraSafarinejad commented 6 years ago

Hi guys, I've installed all dependencies for this project, but when I run main.py I got this error: TypeError:get_updates() takes exactly 4 arguments (3 given)

I've checked all files of project, my project has compiled successfully and couldn't find where this get_update used. please help, I am in a hurry.

regards. screenshot from 2018-05-17 09-09-19

prashanthbasani commented 6 years ago

Do you still need help? Please mention your Keras version.

bmiftah commented 6 years ago

hi , the function get_update() is used in the model.py module ( one of the four module that makes up the whole project) - you find it inside the class SGD_new , the second function ... it takes four argument , one of them being self reference def get_updates(self, params, constraints, loss):