yun-liu / RCF

Richer Convolutional Features for Edge Detection
Other
761 stars 259 forks source link

Does ODS,OIS,AP have window version? #161

Open 2000LuoLuo opened 2 months ago

2000LuoLuo commented 2 months ago

Like title, I tried to use the pytorch version under the window system. Is there any evaluation tool that can be used in windows?

yun-liu commented 2 months ago

@2000LuoLuo The standard BSDS500 benchmark code can be run on Windows. You can download it from this link: https://drive.google.com/file/d/1W4KZWLK79If989uD66Kc-kvPZQlgNe0e/view?usp=sharing

2000LuoLuo commented 2 months ago

Hello, thank you very much for your timely assistance. I would like to know how to put the directory. I currently have a version of NM that has been executed. What are the naming rules for these image files? Or which path should they be placed under?

When I run the code of bench_bsds500.m. I currently have the path set up as follows: imgDir = '../BSDS500/image/test'; gtDir = '../BSDS500/groundTruth/test'; inDir = 'C:/Users/LHT/Desktop/RCF-PyTorch/BSDS500/'; outDir = 'C:/Users/LHT/Desktop/RCF-PyTorch/BSDS500/eval/';

An error occurred:

> In bench_bsds500 (line 9)
Index exceeds the number of array elements. Index must not exceed 0.

Error in collect_eval_bdry (line 11)
    filename = fullfile(pbDir,S(1).name);

Error in allBench (line 43)
collect_eval_bdry(outDir);

Error in bench_bsds500 (line 15)
allBench(imgDir, gtDir, inDir, outDir, nthresh)

How to solve this problem? thank you.

2000LuoLuo commented 2 months ago

Why my bench_boundry.m can be executed successfully, but not bench_bsds500.m?