abhimanyudubey
abhimanyudubey
Please ask installation queries on [caffe-users](https://groups.google.com/forum/#!forum/caffe-users). It looks like you don't have boost linked. Try reinstalling boost and linking it again.
When you call `output = net.forward()` it replaces _all_ layers by the input, hence your data gets overwritten, basically making your call to `net.blobs['data'].data[...] = transformed_image` redundant. You should replace...
Please set the batch size to 1 in deploy.prototxt.
Apologies, replace the line mentioned earlier with: `output = net.forward(data=np.asarray([transformed_image]))`
Replace your line: `np.save('feature_vec_arr_fc6_1.npy',net.blobs['fc6'].data[0])` with: `np.save('feature_vec_arr_fc6_1.npy',output['fc6'].data[0])` And the call to `forward()` with `forward_all()`. For further queries, please use the Google group.
Check this: https://github.com/AlfredXiangWu/python_misc/blob/master/caffe/caffe_ftr.py
Any signal in a lower dimension is a signal in a higher dimension. N 1D signals (of shape NxD) need to just be kept in a 4D container (of shape...