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

feature dim #12

Open
CvierXi opened this issue Oct 21, 2022 · 2 comments
Open

feature dim #12

CvierXi opened this issue Oct 21, 2022 · 2 comments

Comments

@CvierXi
Copy link

CvierXi commented Oct 21, 2022

'descriptors': torch.from_numpy(descriptors.T)[None],

D2Net here output features with 512 dim. But feature I/O and XRSfm only support 256 dim by default.

@HailinYu0414
Copy link
Member

HailinYu0414 commented Oct 21, 2022

Thank you for your reminder. The bug has been fixed 36f6fbe

We recommend you use SuperPoint, which can provide faster and more accurate localization in common scenes. The usage can be referred to here.

@zhd861564272
Copy link

Hi,thank you for your answer.A new problem occurred when I used the fix file in xrlocalization.Can you give me a hand ?Thank you.
Here is what went wrong.
Step 3: Re-extract/match with superpoint
100%|█████████████████████████████████████████| 540/540 [00:58<00:00, 9.25it/s]

100%|██████████████████████████████████████| 7162/7162 [00:52<00:00, 136.84it/s]
Step 4: Re-triangulate
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
recon.sh:行 56: 8591 已放弃 (核心已转储) ./bin/run_triangulation {SFM_DIR}/features.bin {REFINE_DIR}
run triangulation failed

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

3 participants