Skip to content

Commit 3eaef36

Browse files
committed
typo
1 parent 44a68b7 commit 3eaef36

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ python3 scripts/superglue/convert_to_onnx.py
372372
./build/examples/super_glue /path/to/super_point.onnx /path/to/super_glue.onnx /path/to/1st/image /path/to/2nd/image
373373
```
374374

375-
- Note: the pretrained superglue model tends to fail on Day-Night image pairs (which also happens for SuperGlue + KNN Match + Lowe's Ratio Test case).
375+
- Note: the pretrained superglue model tends to fail on Day-Night image pairs (which also happens for SuperPoint + KNN Match + Lowe's Ratio Test case).
376376

377377
<p align="center" width="100%">
378378
<img width="49%" height="250" src="docs/images/ComputerVision_VisionDN_1.jpg">

examples/SuperGlueApp.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ int main(int argc, char* argv[])
6262

6363
// superglue
6464
static const int DUMMY_NUM_KEYPOINTS = 256;
65-
Ort::SuperPoint superGlueOsh(SUPERGLUE_ONNX_MODEL_PATH, 0,
66-
std::vector<std::vector<int64_t>>{
67-
{4},
68-
{1, DUMMY_NUM_KEYPOINTS},
69-
{1, DUMMY_NUM_KEYPOINTS, 2},
70-
{1, 256, DUMMY_NUM_KEYPOINTS},
71-
{4},
72-
{1, DUMMY_NUM_KEYPOINTS},
73-
{1, DUMMY_NUM_KEYPOINTS, 2},
74-
{1, 256, DUMMY_NUM_KEYPOINTS},
75-
});
65+
Ort::OrtSessionHandler superGlueOsh(SUPERGLUE_ONNX_MODEL_PATH, 0,
66+
std::vector<std::vector<int64_t>>{
67+
{4},
68+
{1, DUMMY_NUM_KEYPOINTS},
69+
{1, DUMMY_NUM_KEYPOINTS, 2},
70+
{1, 256, DUMMY_NUM_KEYPOINTS},
71+
{4},
72+
{1, DUMMY_NUM_KEYPOINTS},
73+
{1, DUMMY_NUM_KEYPOINTS, 2},
74+
{1, 256, DUMMY_NUM_KEYPOINTS},
75+
});
7676

7777
int numKeypoints0 = superPointResults[0].first.size();
7878
int numKeypoints1 = superPointResults[1].first.size();

0 commit comments

Comments
 (0)