Giter Club home page Giter Club logo

how's People

Contributors

gtolias avatar jenicek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

how's Issues

A strange gap between how's global feature similarity and how's local feature similarity with ASMK

In my understanding, the paper contains two kinds of image-level similarity, one is measured by the global feature, another is measured by the local feature with ASMK.

In some research, similarity measured by global feature is enough. I guess that the reason you choose local feature similarity is the ASMK similarity can improve the performance of global feature. So I tested how much performance can be improved. The results is following.

HOW INFO: Evaluated roxford5k: mAP E: 65.56, M: 49.66, H: 24.41

HOW INFO: Evaluated rparis6k: mAP E: 80.64, M: 63.07, H: 36.0

The improvement is expected, but the performance of the global feature is too poor. I thought the mAP of roxford5k(M) and rparis6k(M) could be 60-70. This is a strange phenomenon that bad global feature can generate good local feature. I want to know more about it. Does it mean ASMK is a wonderful method?

Batch Size 1 in training code

The paper refers to using a batch size of 5, and indeed a batch size of 5 is requested from the dataloader.
However, the code explicitly iterates and backprops over each sample in the batch separately - effectively a batch size of 1.

The relevant code is here: https://github.com/gtolias/how/blob/master/how/stages/train.py#L91-L97

The ContrastiveLoss function used supports multiple queries - there's no reason to compute the loss per-tuple. Additionally, why does the model iterate over each image in the tuple instead of processing them as a batch?

how to train on custom dataset?

Hi,
I would like to ask how to prepare a custom dataset to train the descriptor on? I want to finetune the network on my custom SfM dataset. Thanks.

about the local features

Hello~ I read the codes and found that local features are selected based on the feature maps which have smaller resolution than that of the input images. But in the paper, Fig.3 illustrates local features on the original images. So how does that work? First rescaling the feature map as well as the heatmap and then selecting features?

speed up query_ivf

I find query_ivf takes more time than extracting local features. For example, extracting features takes 14ms while query_ivf takes 66ms when searching in 3000 database images.
So how to speed up the searching process. Is it possible to move this to gpu? I find the local features are moved to cpu before query_ivf. Does ASMK support GPU?

Storing an asmk.asmk_method.ASMKMethod

Hi!

I am running HOW on a relatively large dataset and I would like to store the index into a file after it is built (and of course reload it).
is there a way of doing this?

Thanks!

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.