Hierarchical-Localization icon indicating copy to clipboard operation
Hierarchical-Localization copied to clipboard

Process finished with exit code 137 (interrupted by singal 9: SIGKILL)

Open Ymr-zyh opened this issue 2 years ago • 2 comments

When I run the pipeline_loftr code at trianglation.main(reference_sfm,sift_sfm,images,sfm_pairs,features,sfm_matches) I get the output of ** Process finished with exit code 137 (interrupted by singal 9: SIGKILL)**, which means my memory is not enough.

I would like to ask where in the code I can reduce the memory footprint so that my code can run successfully.

Ymr-zyh avatar Oct 24 '23 13:10 Ymr-zyh

Apologies for the late reply. Try reducing the max_kps (number of keypoints) to 2048 for example: https://github.com/cvg/Hierarchical-Localization/blob/8eb9977f1d2b0087bed4666ee83040049e921b10/hloc/pipelines/Aachen_v1_1/pipeline_loftr.py#L41-L43

sarlinpe avatar Nov 20 '23 13:11 sarlinpe

Apologies for the late reply. Try reducing the max_kps (number of keypoints) to 2048 for example:

https://github.com/cvg/Hierarchical-Localization/blob/8eb9977f1d2b0087bed4666ee83040049e921b10/hloc/pipelines/Aachen_v1_1/pipeline_loftr.py#L41-L43

Thanks for your answer.

Ymr-zyh avatar Nov 20 '23 13:11 Ymr-zyh