Comments (5)
The information your provided is not sufficient for me to understand what the situation is.
from image-matching-toolbox.
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.
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.
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.
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)
- LoFTR has a bug in position_encoding.py
- COTR no matches found in hpatches test HOT 3
- Test loftr in inloc HOT 12
- Where is the alignments in InLoc? HOT 1
- Missing RobotCar/queries HOT 9
- robotcar-season eval run very slowly HOT 3
- Test loftr in aachen HOT 2
- python setup.py develop failed HOT 1
- what is the meaning of $colmap path ? HOT 1
- The possibilities of python to C++ HOT 1
- Feature point annotation tool HOT 10
- Errors in loading state_dict for patch2pix HOT 1
- FileNotFoundError: no 'cameras.bin' when test loftr on aachen
- Images illumination change evaluation
- I have a question
- Installation Problems, HOT 1
- Pycolmap Error not found during install HOT 1
- IMMATCH ModuleNotFoundError HOT 1
- Download.sh for pretrained weights DO NOT WORK HOT 1
- Patch2Pix AttributeError: 'Conv4d' object has no attribute 'weight'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-matching-toolbox.