Skip to content
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

LightGlue-ONNX End_to_End model #7

Open
chenscottus opened this issue Nov 8, 2023 · 1 comment
Open

LightGlue-ONNX End_to_End model #7

chenscottus opened this issue Nov 8, 2023 · 1 comment

Comments

@chenscottus
Copy link

Hi,

It looks like it is worth to implement the end-to-end model:

FYI ... OroChippw/LightGlue-OnnxRunner#23
Recently LightGlue-ONNX released there fused model which improve the performance substantially(~2x faster in my test) and change the format of the output tensor, making the current code not functional
output_tensors[2] is now the shape of (matchnum, 2) and the pairs are already computed(so you don't need to compute them yourself)
output_tensors[3] is now the shape of (matchnum), which denotes the matching score of each match
The following simple hack should do the work:
code ...

Thanks,

-Scott

@AIDajiangtang
Copy link
Owner

Hi,

It looks like it is worth to implement the end-to-end model:

FYI ... OroChippw/LightGlue-OnnxRunner#23 Recently LightGlue-ONNX released there fused model which improve the performance substantially(~2x faster in my test) and change the format of the output tensor, making the current code not functional output_tensors[2] is now the shape of (matchnum, 2) and the pairs are already computed(so you don't need to compute them yourself) output_tensors[3] is now the shape of (matchnum), which denotes the matching score of each match The following simple hack should do the work: code ...

Thanks,

-Scott

thanks for your infomation,I will try it later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants