Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在自定义数据集上进行evaluation #156

Open
h0t-zer0 opened this issue Nov 14, 2023 · 5 comments
Open

在自定义数据集上进行evaluation #156

h0t-zer0 opened this issue Nov 14, 2023 · 5 comments

Comments

@h0t-zer0
Copy link

作者您好,首先感谢您的工作!
我想请问我该如何使用您的代码对我自定义的数据集进行evaluation,获取ODS和OIS指标?
(自定义数据集有模型检测获得的prediction图像,为.png格式;GT为.png格式)
望您可以回复,谢谢!

@yun-liu
Copy link
Owner

yun-liu commented Nov 18, 2023

您好,这个仓库里没有evalution代码。您可以先仿照examples/rcf/edge_nms.mREADME的介绍对预测的edge map进行NMS操作,然后下载BSDS500的标准Benchmark code进行评测:https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/resources.html

至于怎么读取.png格式的GT,请修改一下Benchmark的读取操作即可。

@h0t-zer0
Copy link
Author

感谢您的回复!我在使用了您的代码examples/rcf/edge_nms.m完成了NMS操作后,又使用BSDS500的标准Benchmark code进行评测,在修改了一些图片读取格式和部分代码后(因为我的GT只有一张,但原始代码好像一张图对应多个GT),发现在evaluation_bdry_image.m中会调用correspondPixels函数(实际上是调用correspondPixels.mexa),这是否意味着评估代码只能在linux系统上进行运行?

@yun-liu
Copy link
Owner

yun-liu commented Nov 19, 2023

是的

@yun-liu
Copy link
Owner

yun-liu commented Nov 19, 2023

@h0t-zer0 我看我的benchmark code里面有一个windows版本的编译,我上传到Google Drive了,你要是需要的话就下载去用吧:https://drive.google.com/file/d/1ess3laetXoQCU2uMQBQS_X9qff2XkFf_/view?usp=sharing

@7zburger
Copy link

作者您好,首先感谢您的工作! 我想请问我该如何使用您的代码对我自定义的数据集进行evaluation,获取ODS和OIS指标? (自定义数据集有模型检测获得的prediction图像,为.png格式;GT为.png格式) 望您可以回复,谢谢!
你好,我想问一下gt是不是必须是mat文件才行,我输入是png的文件评估总是报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants