Open samim23 opened 9 years ago
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()
+1 I had to modify extract_features.py with these changes to get it to run on latest caffe
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()