Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use the caffe model? #8

Open
tingtinglu opened this issue Jul 4, 2016 · 4 comments
Open

how to use the caffe model? #8

tingtinglu opened this issue Jul 4, 2016 · 4 comments

Comments

@tingtinglu
Copy link

I am new to deep learning, and i only know how to use caffe a little. If i want to use the caffe model to test the pre-trained model, how should i preprocess the input images? or just give two images to the models? Thanks so much !

@szagoruyko
Copy link
Owner

you need to scale images to [0,1] range and subtract mean as in the example here https://github.com/szagoruyko/cvpr15deepcompare/blob/master/torch/extract_cpu.lua#L17

@jeejeelee
Copy link

Hi, Is your issue solved? using the caffe model of this repository, I can't get the correct output value([-1,1]) ,such as 10.111,-9.433

@szagoruyko
Copy link
Owner

@OpenPandaLee the outputs are not normalized to [-1,1] range by the network, the values you see are expected.

@jeejeelee
Copy link

jeejeelee commented Apr 7, 2017

@szagoruyko thanks for your help, so how do i evaluate similarity of images use the output?thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants