quantombone / exemplarsvm

Ensemble of Exemplar-SVMs for Object Detection and Beyond
http://www.cs.cmu.edu/~tmalisie/projects/iccv11/index.html
MIT License
430 stars 155 forks source link

Error in esvm_detect>esvm_detectdriverBLOCK (line 266) #72

Open EkEhsaas opened 6 years ago

EkEhsaas commented 6 years ago

After compiling, I am unable to successfully run the demo. Here is what I have:

>> esvm_compile
All functions already compiled
>> esvm_demo_apply
Found voc2007-bus.mat, not downloading

save_files =

     0

 --image 00001/00001:error: curid could not be filed correctlySubscripted assignment dimension mismatch.

Error in esvm_detect>esvm_detectdriverBLOCK (line 266)
  t(1:models{i}.model.hg_size(1),1:models{i}.model.hg_size(2),:) = ...

Error in esvm_detect>esvm_detectdriver (line 92)
  [resstruct,t] = esvm_detectdriverBLOCK(I, models, ...

Error in esvm_detect (line 55)
[rs1, t1] = esvm_detectdriver(I, models, params);

Error in esvm_detect_imageset (line 140)
    rs = esvm_detect(I, models, params);

Error in esvm_apply_and_show_exemplars (line 48)
  local_detections = esvm_detect_imageset(imageset(i), models, ...

Error in esvm_demo_apply (line 34)
esvm_apply_and_show_exemplars(I1, models, M, params);

>> 

I have also seen this step by step tutorial. The same error is received after running this line esvm_apply_and_show_exemplars(I1, models, M, params); from that tutorial.

How to resolve this problem?