/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:118:9: error: ‘caffe::Net’ is not a template
caffe::Netnetwork;
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h: In constructor ‘featureExer::featureExer(const string&, const string&)’:
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:20:24: error: ‘caffe::Net’ is not a template
network = new caffe::Net(net, caffe::TEST);
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:20:40: error: ‘TEST’ is not a member of ‘caffe’
network = new caffe::Net(net, caffe::TEST);
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h: In member function ‘void featureExer::extractfeatureoneimg(const cv::Mat&, cv::Mat&)’:
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:95:16: error: ‘caffe::Blob’ is not a template
const vector<Blob> &intput_blobs = network->input_blobs();
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:95:55: error: ‘class caffe::Net’ has no member named ‘input_blobs’
const vector<Blob*> &intput_blobs = network->input_blobs();
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:107:3: error: ‘boost’ has not been declared
boost::shared_ptr<caffe::Blob > prob = network->blob_by_name("eltwise_fc1");
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:107:28: error: ‘caffe::Blob’ is not a template
boost::shared_ptr<caffe::Blob > prob = network->blob_by_name("eltwise_fc1");
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:107:40: error: expected primary-expression before ‘>’ token
boost::shared_ptr<caffe::Blob > prob = network->blob_by_name("eltwise_fc1");
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:107:42: error: ‘prob’ was not declared in this scope
boost::shared_ptr<caffe::Blob > prob = network->blob_by_name("eltwise_fc1");
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:118:9: error: ‘caffe::Net’ is not a template caffe::Net network;
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h: In constructor ‘featureExer::featureExer(const string&, const string&)’:
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:20:24: error: ‘caffe::Net’ is not a template
network = new caffe::Net(net, caffe::TEST);
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:20:40: error: ‘TEST’ is not a member of ‘caffe’
network = new caffe::Net(net, caffe::TEST);
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h: In member function ‘void featureExer::extractfeatureoneimg(const cv::Mat&, cv::Mat&)’:
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:95:16: error: ‘caffe::Blob’ is not a template
const vector<Blob > &intput_blobs = network->input_blobs();
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:95:55: error: ‘class caffe::Net’ has no member named ‘input_blobs’
const vector<Blob*> &intput_blobs = network->input_blobs();
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:107:3: error: ‘boost’ has not been declared
boost::shared_ptr<caffe::Blob > prob = network->blob_by_name("eltwise_fc1");
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:107:28: error: ‘caffe::Blob’ is not a template
boost::shared_ptr<caffe::Blob > prob = network->blob_by_name("eltwise_fc1");
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:107:40: error: expected primary-expression before ‘>’ token
boost::shared_ptr<caffe::Blob > prob = network->blob_by_name("eltwise_fc1");
^
/home/huang/lcnn/Clust/src/../ARecog/featureExByCaffe.h:107:42: error: ‘prob’ was not declared in this scope
boost::shared_ptr<caffe::Blob > prob = network->blob_by_name("eltwise_fc1");