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

A Novel Linelet-based Representation for Line Segment Detection (code and db)
30 stars 9 forks source link

error occurs #1

Open hurricane2018 opened 6 years ago

hurricane2018 commented 6 years ago

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 ?

hurricane2018 commented 6 years ago

there is no ht folder in result fold ?

NamgyuCho commented 4 years ago

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.