caffe-cvprw15 | Deep Learning of Binary Hash Codes | Machine Learning library

 by   kevinlin311tw C++ Version: Current License: Non-SPDX

kandi X-RAY | caffe-cvprw15 Summary

kandi X-RAY | caffe-cvprw15 Summary

caffe-cvprw15 is a C++ library typically used in Artificial Intelligence, Machine Learning, Deep Learning, Pytorch, Tensorflow applications. caffe-cvprw15 has no bugs, it has no vulnerabilities and it has low support. However caffe-cvprw15 has a Non-SPDX License. You can download it from GitHub.

We present a simple yet effective deep learning framework to create the hash-like binary codes for fast image retrieval. We add a latent-attribute layer in the deep CNN to simultaneously learn domain specific image representations and a set of hash-like functions. Our method does not rely on pairwised similarities of data and is highly scalable to the dataset size. Experimental results show that, with only a simple modification of the deep CNN, our method improves the previous best retrieval results with 1% and 30% retrieval precision on the MNIST and CIFAR-10 datasets, respectively. We further demonstrate the scalability and efficacy of the proposed approach on the large-scale dataset of 1 million shopping images. The details can be found in the following CVPRW 2015 paper.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              caffe-cvprw15 has a low active ecosystem.
              It has 517 star(s) with 221 fork(s). There are 39 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 14 open issues and 26 have been closed. On average issues are closed in 158 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of caffe-cvprw15 is current.

            kandi-Quality Quality

              caffe-cvprw15 has no bugs reported.

            kandi-Security Security

              caffe-cvprw15 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              caffe-cvprw15 has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              caffe-cvprw15 releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of caffe-cvprw15
            Get all kandi verified functions for this library.

            caffe-cvprw15 Key Features

            No Key Features are available at this moment for caffe-cvprw15.

            caffe-cvprw15 Examples and Code Snippets

            No Code Snippets are available at this moment for caffe-cvprw15.

            Community Discussions

            Trending Discussions on caffe-cvprw15

            QUESTION

            MAP@k computation
            Asked 2019-Mar-03 at 12:08

            Mean average precision computed at k (for top-k elements in the answer), according to wiki, ml metrics at kaggle, and this answer: Confusion about (Mean) Average Precision should be computed as mean of average precisions at k, where average precision at k is computed as:

            Where: P(i) is the precision at cut-off i in the list; rel(i) is an indicator function equaling 1 if the item at rank i is a relevant document, zero otherwise.

            The divider min(k, number of relevant documents) has the meaning of maximum possible number of relevant entries in the answer.

            Is this understanding correct?

            Is MAP@k always less than MAP computed for all ranked list?

            My concern is that, this is not how MAP@k is computed in many works.

            It is typical, that the divider is not min(k, number of relevant documents), but the number of relative documents in the top-k. This approach will give higher value of MAP@k.

            HashNet: Deep Learning to Hash by Continuation" (ICCV 2017)

            Code: https://github.com/thuml/HashNet/blob/master/pytorch/src/test.py#L42-L51

            ...

            ANSWER

            Answered 2019-Mar-03 at 12:08

            You are completely right and well done for finding this. Given the similarity of code, my guess is there is one source bug, and then papers after papers copied the bad implementation without examining it closely.

            The "akturtle" issue raiser is completely right too, I was going to give the same example. I'm not sure if "kunhe" understood the argument, of course recall matters when computing average precision.

            Yes, the bug should inflate the numbers. I just hope that the ranking lists are long enough and that the methods are reasonable enough such that they achieve 100% recall in the ranked list, in which case the bug would not affect the results.

            Unfortunately it's hard for reviewers to catch this as typically one doesn't review code of papers.. It's worth contacting authors to try to make them update the code, update their papers with correct numbers, or at least don't continue making the mistake in their future works. If you are planning to write a paper comparing different methods, you could point out the problem and report the correct numbers (as well as potentially the ones with the bug just to make apples for apples comparisons).

            To answer your side-question:

            Is MAP@k always less than MAP computed for all ranked list?

            Not necessarily, MAP@k is essentially computing the MAP while normalizing for the potential case where you can't do any better given just k retrievals. E.g. consider returned ranked list with relevances: 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 and assume there are in total 6 relevant documents. MAP should be slightly higher than 50% here, while MAP@3 = 100% because you can't do any better than retrieving 1 1 1. But this is unrelated to the bug you discovered as with their bug the MAP@k is guaranteed to be at least as large as the true MAP@k.

            Source https://stackoverflow.com/questions/54966320

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install caffe-cvprw15

            Adjust Makefile.config and simply run the following commands:. For a faster build, compile in parallel by doing make all -j8 where 8 is the number of parallel threads for compilation (a good choice for the number of threads is the number of cores in your machine).

            Support

            Please refer this FAQs.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/kevinlin311tw/caffe-cvprw15.git

          • CLI

            gh repo clone kevinlin311tw/caffe-cvprw15

          • sshUrl

            git@github.com:kevinlin311tw/caffe-cvprw15.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link