willard-yuan / hashing-baseline-for-image-retrieval

:octocat:Various hashing methods for image retrieval and serves as the baselines
http://yongyuan.name/habir/
615 stars 255 forks source link

p-r曲线与mAP值无法计算 #22

Open lrhan opened 4 years ago

lrhan commented 4 years ago

我运行程序后发现,没有办法绘制出p-r曲线与mAP,仔细阅读程序后发现在demo.m文件里evaluation0 case里关于precision,recall 和mAP的矩阵都是空的。而在evaluation的case里缺少了WtrueTestTraining矩阵。不知道该如何解决。望作者给予解答,多谢!

lrhan commented 4 years ago

原因找到了,把construct_data.m文件里关于WtrueTestTraining矩阵生成的那一段代码取消注释就可以正常运行了。同时case改为evaluation就能生成各种评价结果了。

kevinxu-cn97 commented 3 years ago

你好,请问这个mAP是用前多少张照片计算的。没找到这个参数