xwjabc / hed

A PyTorch reimplementation of Holistically-Nested Edge Detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evaluate the result.

HelloJill opened this issue · comments

I have got the correct nms result. But it seems my ground-truth loading part hsas bug,but I don't know whats' the problem.my ground-truth edge is 255,and non-edge is 0,ist hat right?And the _ev1.txt is like this:
0.01 5411 7637.75 5411 5464
0.02 5411 7637.75 5411 5464
0.03 5411 7637.75 5411 5464
0.04 5411 7637.75 5411 5464
0.05 5411 7637.75 5411 5464
0.06 5411 7637.75 5411 5464
0.07 5409 7637.75 5409 5462
0.08 5409 7637.75 5409 5462
0.09 5409 7637.75 5409 5462
0.1 5409 7637.75 5409 5462
0.11 5409 7637.75 5409 5462
0.12 5409 7637.75 5409 5462
0.13 5402 7637.75 5402 5455
0.14 5402 7637.75 5402 5455
0.15 5402 7637.75 5402 5455
0.16 5402 7637.75 5402 5455
0.17 5402 7637.75 5402 5455
0.18 5402 7637.75 5402 5455
0.19 5400 7637.75 5400 5452
0.2 5400 7637.75 5400 5452
0.21 5400 7637.75 5400 5452

And the AP is very small and the P-R curve is not correct.

Sorry for my late reply. I am not sure what your issue could be. I wonder if you can compare your generated files with my previous output and see if there is any difference? Thanks!