Comments (8)
Could you please provide the full command that leads to the error?
from image-matching-toolbox.
These instructions given in evaluation. md ,I tried every instruction
python -m immatch.eval_hpatches --gpu 0
--config 'superpoint' 'ncnet'
--task 'both' --save_npy
--root_dir .
from image-matching-toolbox.
Sorry I can not reproduce your error again:
(immatch) zhouq@server:~/projects/image-matching-toolbox$ python -m immatch.eval_hpatches --gpu 0 --config 'superpoint' 'ncnet' --task 'both'
Can not import sparsencnet
>>>> Method=SuperPoint Default config: {'class': 'SuperPoint', 'keypoint_threshold': 0.005, 'nms_radius': 4, 'max_keypoints': -1, 'match_threshold': 0.0, 'imsize': -1} Thres: [0.0]
Loaded SuperPoint model
Initialize SuperPoint_r4
Matching thres: 0.0 Save to: None
>>>>Eval hpatches: task=matching+homography method=SuperPoint_r4 scale_H=False rthres=2 thres=[1, 3, 5,10]
7%|████▉ | 8/108 [00:03<00:43, 2.31it/s]
What's your Konria version?
from image-matching-toolbox.
Konria version:0.6.5
from image-matching-toolbox.
I tried with the same version, I can not reproduce the bug. I am afraid that you will need to locate the cause of the error first then I can update the repo. But so far I did not find this bug in my environment.
from image-matching-toolbox.
@zhubingerdai @GrumpyZhou I had the same problem, but was able to resolve it by forcing kornia to an earlier version (e.g. kornia==0.4.1
in setup.py
).
According to kornia/kornia#1555 (comment), Kornia recently established a min pytorch version of 1.8.1 (I think in release 0.6.0 - see release note here?). Your install.md
says that you tested with pytorch=1.7.0, so this may be causing the problem? I just chose kornia==0.4.1
because it was the latest release when you created the image-matching-toolbox repo (Nov 24, 2020) but anything < 0.6.0 might work.
Unrelated, but @GrumpyZhou you were also missing a dependency on pydegensac
in setup.py
. I can submit a pull request for these two changes, if you'd like!
from image-matching-toolbox.
@arjunkarpur Hi, Thanks! Actually, I am considering migrating the toolbox to work on a newer version of pytorch. But will do this when I have free time so not exact time schedule for now. I will also add pydegensac dependency.
from image-matching-toolbox.
@GrumpyZhou cool no problem. I might also suggest upgrading CUDA to 11.0 😁
I think pytorch isn't compatible with CUDA 11.2 and tf2 isn't compatible with CUDA 11.1, so I had to change cudatoolkit=11.0
in environment.yml
to make it compatible with both (I use tf2 in my own custom modules)
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.