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

运行bash recon.sh后出现的问题 #6

Closed
zhd861564272 opened this issue Oct 17, 2022 · 8 comments
Closed

运行bash recon.sh后出现的问题 #6

zhd861564272 opened this issue Oct 17, 2022 · 8 comments
Assignees

Comments

@zhd861564272
Copy link

Step 3: Re-extract/match with superpoint
100%|█████████████████████████████████████████| 371/371 [00:40<00:00, 9.22it/s]
Traceback (most recent call last):
File "tools/recon_feature_extract.py", line 58, in
args.extractor)
File "tools/recon_feature_extract.py", line 42, in main
write_features_binary(features, feature_bin_path)
File "/home/zhd/xr/XRARdemo/XRLocalization/tools/recon_read_write_data.py", line 99, in write_features_binary
file.write(struct.pack('<256f', *feature.descriptors[:, j]))
struct.error: pack expected 256 items for packing (got 512)
extract superpoint failed

@eugenelyj
Copy link
Member

@zhd861564272 Hi, did you use D2Net? We fix a related bug, see XRLocalization.
By the way, We recommend SuperPoint, which provides faster and more accurate performance.

@zhd861564272
Copy link
Author

@zhd861564272 Hi, did you use D2Net? We fix a related bug, see XRLocalization. By the way, We recommend SuperPoint, which provides faster and more accurate performance.

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} ${SFM_DIR}/features.bin ${SFM_DIR}/matching.bin ${REFINE_DIR}
run triangulation failed

@eugenelyj
Copy link
Member

@zhd861564272 Hi, could you provide some details about your environment. For example, what operating system do you use? And if possible, could you send me a link for downloading the data?

@zhd861564272
Copy link
Author

@zhd861564272 Hi, could you provide some details about your environment. For example, what operating system do you use? And if possible, could you send me a link for downloading the data?

ok,System:Ubuntu 18.04.6 LTS 64-bit;Python 3.7.13;cmake version 3.19.0;
I put the binaries on the Baidu disk:链接:https://pan.baidu.com/s/1xEhnKfnGLHX0ZT96n6bOqQ
提取码:2022
Is there anything else you need?

@eugenelyj
Copy link
Member

eugenelyj commented Nov 3, 2022

@zhd861564272 Hi, the error came from xrsfm and now it is fixed in openxrlab/xrsfm#8

@zhd861564272
Copy link
Author

No new supported iPhone14pro/pro max.yaml found
directory:"xrslam/xrslam-ios/visualizer/configs/‘’
not found the iPhone14pro/pro max.yaml .Can you add it ? Thankyou

@eugenelyj
Copy link
Member

eugenelyj commented Dec 2, 2022

@zhd861564272
Unfortunately, current supported devices do not contain iPhone14pro and we do not have a recent plan to support it.
The full list of supported devices can be found in the page.
But you can calibrate your phone with tools like kalibr and create your custom config file in yaml format.

@yl-1993
Copy link
Member

yl-1993 commented Feb 26, 2023

Feel free to re-open it if the problem is not solved.

@yl-1993 yl-1993 closed this as completed Feb 26, 2023
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