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

How to use the models #14

Closed serhan-gul closed 7 years ago

serhan-gul commented 7 years ago

Hi, thanks for the code. This is sort of an absolute beginner question but how do you use the models to test the performance over the datasets once you compile the models. I ran model_for_cuhk03.py and got the message:

model definition complete
model definition done.
model compile done.

together with the network architecture. How do I continue from here?

Ning-Ding commented 7 years ago

@serhannn Hi, this is a project which I did four months ago. So I cannot remember everything that I did that time. For your question, you could look through the "train" function in the model_for_cuhk03.py, which is just in front of the "if name == 'main': ". You should open a ipython and use a command "run model_for_cuhk03.py" to compile the model, and then, try the command "train(model)". For more details, you could just read the code of function "train".

serhan-gul commented 7 years ago

@Ning-Ding Thanks, I could get it working now.