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

change in extract_features needed due to caffe update #31

Open
samim23 opened this issue Sep 8, 2015 · 1 comment
Open

change in extract_features needed due to caffe update #31

samim23 opened this issue Sep 8, 2015 · 1 comment

Comments

@samim23
Copy link

samim23 commented Sep 8, 2015

This code line:
features = out[net.outputs[0]].squeeze(axis=(2,3))
Has to be this in order to work with the newest caffe:
features = out[net.outputs[0]]

Additionally remove this line:
caffe.set_phase_test()

@alyxb
Copy link
Contributor

alyxb commented Nov 10, 2015

+1 I had to modify extract_features.py with these changes to get it to run on latest caffe

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

2 participants