-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You can consider supporting LISRD and LoFTR, I personally think SuperGlue and SuperPoint are not very robust #35
Comments
LoFTR can be better than (SuperPoint+SuperGlue), but I don't think it is true for LISRD and (SuperPoint+SuperGlue). |
Looking forward to seeing you support LoFTR soon |
@xmba15 Me too, i also find that LoFTR and LISRD are more stable and better effect! |
Please stay tuned. WIP. |
First attempt convert kornia LoFTR's torch weights to onnx did not succeed due to feat_f0_unfold = F.unfold(feat_f0, kernel_size=(W, W), stride=stride, padding=W // 2)
raise TypeError("iteration over a 0-d tensor") This probably relates to disscussion in here: kornia/kornia#1504 and the PR in here: kornia/kornia#1758 |
That sounds exciting!hope you can make it. |
@xmba15 have you solved the problem? I meet the same error and i can't deal with it |
@xmba15 did you solve it? |
Here we go. #39 |
Hello, I found that LoFTR is not as effective as LISRD in matching large and small images, because the premise of LoFTR input is the same large image, such as [2, 1, 480, 640]. Can you support LISRD? In addition, you can set up to pay with Alipay |
This problem occurred when converting the .onnx file. |
LoFTR can accept any shapes as long as they are divisible by 8.
You need to use the loftr repository that I provided as submodule here. [submodule "scripts/loftr/LoFTR"]
path = scripts/loftr/LoFTR
url = https://github.com/xmba15/LoFTR There are so many tricks related to this LoFTR so basically you need to follow all the instructions I have added in README. |
Maybe more people will still struggle so I will post another easy way to convert loftr weights using docker: cd onnx_runtime_cpp
git submodule update --init --recursive
docker pull xmba15/onnx_runtime_cpp:v1.10.0-ubuntu20.04
docker run --rm -it -v `pwd`:/workspace xmba15/onnx_runtime_cpp:v1.10.0-ubuntu20.04
python3 -m pip install -r scripts/loftr/requirements.txt
python3 scripts/loftr/convert_to_onnx.py --model_path /path/to/indoor_ds_new.ckpt Running without docker is fine. But if you have trouble building your own environment, running with the above commands from docker may save you some time. |
Or download the onnx weights from here. |
Thanks, I'll try it. |
Wow,that's great, can you provide a Alipay payment code. |
More about LOFTR's trained indoor weights performance. |
No description provided.
The text was updated successfully, but these errors were encountered: