ShaoqingRen / SPP_net

SPP_net : Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition
363 stars 236 forks source link

when i run spp_demo, it came with the problem of "API command not recognized" #26

Closed wuqiangch closed 9 years ago

wuqiangch commented 9 years ago

I run the program on Ubuntu14.04.when I run the spp_demo,i got the problem.

spp_demo Computing candidate regions...found 2034 candidates (in 8.096s). Extracting CNN features from regions...Error using caffe API command not recognized

Error in spp_features_convX (line 61) caffe('set_gpu_available');

Error in spp_detect (line 40) feat = spp_features_convX(im, spm_im_size, [], use_gpu);

Error in spp_demo (line 39) dets = spp_detect(im, spp_model, spm_im_size, use_gpu); E1223 09:10:39.927554 20714 matcaffe.cpp:393] Unknown command `set_gpu_available'

Anyone can help ?Thanks!