Giter Club home page Giter Club logo

Comments (8)

kylinXu avatar kylinXu commented on May 27, 2024 1

Yeah, I saw your blog on MAP computation. It's right and clear. I meant your implementation (computer_MAP.m) maybe have an error in computing average precision for each retrieval. Just as,
queryClassNum = double(classesAndNum{1, 2}(row1,1));
ap(i,1) = sum(precision)/queryClassNum;
The denominator in above formula should be a variable depending on the retrieval results rather than a constant. So I slightly revised it as,
retrievalSamples=sum(precision~=0);
ap(i,1) = sum(precision)/retrievalSamples;
and it seems return me a right results for my problem. Thanks.

from cnn-for-image-retrieval.

willard-yuan avatar willard-yuan commented on May 27, 2024

@kylinXu I followed this mAP computation to get the mAP score. The mAP computation shows in the post is very clear. I hope the figure in the post helps you to understand the mAP computation.

from cnn-for-image-retrieval.

willard-yuan avatar willard-yuan commented on May 27, 2024

It's true, thank you for point out the potential risk. I'll check out it today.

from cnn-for-image-retrieval.

kylinXu avatar kylinXu commented on May 27, 2024

from cnn-for-image-retrieval.

yuyifan1991 avatar yuyifan1991 commented on May 27, 2024

I just want to know the result when the pictures in Date base is very huge, about 10 million. Really hope receive your answer.

from cnn-for-image-retrieval.

willard-yuan avatar willard-yuan commented on May 27, 2024

It depends on your task, instance retrieval or similar retrieval. For similar retrieval (category retrieval), it's really OK.For instance retrieval, you might be interested in cnn-cbir-benchmark. There are some references which might be useful for you awesome-cbir-papers.

from cnn-for-image-retrieval.

yuyifan1991 avatar yuyifan1991 commented on May 27, 2024

Thanks for your answer, buy the way, how many pictures should I prepared for fine-tuning, I'm worried about that, because I can't labeled so many pictures .

from cnn-for-image-retrieval.

willard-yuan avatar willard-yuan commented on May 27, 2024

If you don't want to labeled so many pictures, you can choose method based on local feature. flickrdemo.videntifier.com is a demo based on SIFT feature. The performance is really promising.

from cnn-for-image-retrieval.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.