Giter Club home page Giter Club logo

Comments (5)

GrumpyZhou avatar GrumpyZhou commented on August 22, 2024

The information your provided is not sufficient for me to understand what the situation is.

from image-matching-toolbox.

zhubingerdai avatar zhubingerdai commented on August 22, 2024

For example, I replaced "attention" in "loftr" with "quardtree attention". Then I put the code in your code like "loftr".
model = immatch.dictclass_name loftr.py line23 self.model = LoFTR_(config=conf)
KeyError: 'block_type' https://github.com/Tangshitao/QuadtreeAttention

from image-matching-toolbox.

GrumpyZhou avatar GrumpyZhou commented on August 22, 2024

Might be related to missing config of 'block_type' in the config file. Can you check whether this block_type is used in your model and has been configured in the conf? Btw, next time can you post the full error? It is out of track where this key error happens.

from image-matching-toolbox.

zhubingerdai avatar zhubingerdai commented on August 22, 2024

Ok, thank you. The problem has been solved. It is indeed a configuration problem. But the test results are all 0. What do you think might be the problem?

from image-matching-toolbox.

GrumpyZhou avatar GrumpyZhou commented on August 22, 2024

Make sure you load the pretrained weights properly. You can also debug by just by printing the number of matches , something like that ... If your problem is solved then please close the issue.

from image-matching-toolbox.

Related Issues (20)

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.