OroChippw / LightGlue-OnnxRunner

LightGlue-OnnxRunner is a repository hosts the C++ inference code of LightGlue in ONNX format,supporting end-to-end/decouple model inference of SuperPoint/DISK + LightGlue
MIT License
159 stars 22 forks source link

lightglue matcher time consume #29

Open NHMMing opened 8 months ago

NHMMing commented 8 months ago

Hi, OroChippw, Thanks for this amazing project! I have a problem about matcher time consume: When I use dcouple SP + LG (superpoint.onnx + superpoint_lightglue.onnx) in my test, I save time consume to a txt file. env: 3080 Laptop(8G), torch2.1, ubuntu20.04 I test 1000 pictures(1920x1080) on this env, matcher(LG) mean time consume is about 12ms. This result is very different from the result on your homepage, is my result correct? I can't believe it. Hope your reply. thank u!

NHMMing commented 8 months ago

@OroChippw

OroChippw commented 8 months ago

Maybe the matcher's inference time measurement result is wrong. I will retest and update README.md. While ensuring accuracy, faster inference speed is of course what we have been pursuing.

NHMMing commented 8 months ago

Maybe the matcher's inference time measurement result is wrong. I will retest and update README.md. While ensuring accuracy, faster inference speed is of course what we have been pursuing.

thanks a lot. I'll keep an eye on this. If I have further test results, I‘ll write here in time