NamgyuCho / Linelet-code-and-YorkUrban-LineSegment-DB

A Novel Linelet-based Representation for Line Segment Detection (code and db)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error occurs

hurricane2018 opened this issue · comments

When I run
Demo_evaluation_OriginalYorkUrban, error shows:
In an assignment A(:) = B, the number of elements in A and B must be the same.

Error in Demo_evaluation_OriginalYorkUrban (line 100)
AP(k) = mean(stats(k).prec,1);

In your code, I found str_est is empty
str_est = sprintf('result/%s/%s.mat', dir_method{k}, Image_ID_List(i_im).name);
if ~exist(str_est, 'file'), continue; end

if I print str_est, then I can get

str_est =

'result/ht/P1020171.mat'

So how can I download the files in ht folder ?

there is no ht folder in result fold ?

The results of other methods are not included in the repository. The result of Hough Transform can be re-produced by the Matlab function 'hough().' I will fix the error. In the meanwhile, please ignore (or comment) that part.