hpatches / hpatches-benchmark

Python & Matlab code for local feature descriptor evaluation with the HPatches dataset.
BSD 2-Clause "Simplified" License
211 stars 66 forks source link

error when run run_article with matlab #30

Open ymcasky opened 6 years ago

ymcasky commented 6 years ago

Hi, When I run the script "run_article" with matlab. It successfully run and show logs as following

run_article 28 tasks. Loading cached descriptor from /media/user/70303F89D6F80E5A/code/matching/hpatches-benchmark/data/descriptors/sift/desc.mat. Results loaded from /media/user/70303F89D6F80E5A/code/matching/hpatches-benchmark/matlab/scores/scores_all/sift/verification.csv. Results loaded from /media/user/70303F89D6F80E5A/code/matching/hpatches-benchmark/matlab/scores/scores_all/sift/matching.csv. Results loaded from /media/user/70303F89D6F80E5A/code/matching/hpatches-benchmark/matlab/scores/scores_all/sift/retrieval.csv. Loading cached descriptor from /media/user/70303F89D6F80E5A/code/matching/hpatches-benchmark/data/descriptors/sift/desc.mat. Normalising the sift features (_nsplit_c_wzca_ceig0.25_pl0.50_l2n). Clipping 103/128 eigen values. Results loaded from /media/user/70303F89D6F80E5A/code/matching/hpatches-benchmark/matlab/scores/scores_all/sift_nsplit_c_wzca_ceig0.25_pl0.50_l2n/verification.csv. Results loaded from /media/user/70303F89D6F80E5A/code/matching/hpatches-benchmark/matlab/scores/scores_all/sift_nsplit_c_wzca_ceig0.25_pl0.50_l2n/matching.csv. Results loaded from /media/user/70303F89D6F80E5A/code/matching/hpatches-benchmark/matlab/scores/scores_all/sift_nsplit_c_wzca_ceig0.25_pl0.50_l2n/retrieval.csv.

When it hit the function in hb.m (line 61) : cmds.(cmd).fun(varargin{:}); -> all.m (line 12) : [des, varargin] = desc.memdesc(varargin{:}); ->memdesc.m (line 66) : status = utls.textprogressbar(numDescs, 'startmsg', sprintf('Loading %s CSVs', descname)); -> textprogressbar.m (line 103) : parse(p, n, varargin{:});

The error occur because n(numDescs) = 0

How can I fix this error? Thanks for your reply!

hurricane2018 commented 6 years ago

Did you solve it? Same problem.

heroamd commented 2 years ago

Did you solve it? Same problem.