-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
openMVG_main_ComputeMatches Segmentation fault #1406
Comments
Can you try to rerun with the option |
Oh yea! It works with the ANNL2 algo. Any ideas on what happens to FAST_CASCADE_HASHING_L2 matcher? |
Could be a SIMD error (trying to use an intrinsic function that your CPU does not support). |
Hi, I have ran the test, all passed: Running tests... 100% tests passed, 0 tests failed out of 80 Total Test time (real) = 13.29 sec |
Thx, this is strange. |
Any update? |
Closing since no update. |
I've experienced the same error!Thanks a lot for " -f 1 -n ANNL2" |
I have experienced this error also on Ubuntu, but it's not happening all the time, like 99% of dataset passed, sometimes 1 gives this error. |
Hi,
I am trying to learn openMVG from building the sample Sceaux Castle dataset.
I have successfully built openMVG, and "make test" shows all passes.
However, when I run:
$ python SfM_SequentialPipeline.py /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/images/ /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/
Segmentation fault (core dumped) happened on openMVG_main_ComputeMatches:
('Using input dir : ', '/media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/images/')
(' output_dir : ', '/media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/')
You called :
/media/william/E/openMVG_workspace/openMVG_Build/Linux-x86_64-RELEASE/openMVG_main_SfMInit_ImageListing
--imageDirectory /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/images/
--sensorWidthDatabase /media/william/E/openMVG_workspace/openMVG/src/software/SfM/../../openMVG/exif/sensor_width_database/sensor_width_camera_database.txt
--outputDirectory /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/matches
--focal -1
--intrinsics
--camera_model 3
--group_camera_model 1
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
Warning & Error messages:
K.txt: Unkown image file format.
Readme.txt: Unkown image file format.
SfMInit_ImageListing report:
listed #File(s): 13
usable #File(s) listed in sfm_data: 11
usable #Intrinsic(s) listed in sfm_data: 1
2. Compute features
You called :
/media/william/E/openMVG_workspace/openMVG_Build/Linux-x86_64-RELEASE/openMVG_main_ComputeFeatures
--input_file /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/matches/sfm_data.json
--outdir /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/matches
--describerMethod SIFT
--upright 0
--describerPreset NORMAL
--force 0
--numThreads 0
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
Task done in (s): 0
3. Compute matches
You called :
/media/william/E/openMVG_workspace/openMVG_Build/Linux-x86_64-RELEASE/openMVG_main_ComputeMatches
--input_file /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/matches/sfm_data.json
--out_dir /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/matches
Optional parameters:
--force 0
--ratio 0.8
--geometric_model f
--video_mode_matching -1
--pair_list
--nearest_matching_method AUTO
--guided_matching 0
--cache_size unlimited
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
PUTATIVE MATCHES -
Use: exhaustive pairwise matching
Using FAST_CASCADE_HASHING_L2 matcher
Using the OPENMP thread interface
Matching -
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
Sequential/Incremental reconstruction
Perform incremental SfM (Initial Pair Essential + Resection).
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
Invalid matches file.
5. Colorize Structure
The input SfM_Data file "/media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/reconstruction_sequential/sfm_data.bin" cannot be read.
6. Structure from Known Poses (robust triangulation)
Compute Structure from the provided poses
The input SfM_Data file "/media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/reconstruction_sequential/sfm_data.bin" cannot be read.
The input SfM_Data file "/media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/reconstruction_sequential/robust.bin" cannot be read.
if I run computeMatched independently
$ openMVG_main_ComputeMatches -i /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/matches/sfm_data.json -o /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/matches
It shows:
You called :
/media/william/E/openMVG_workspace/openMVG_Build/Linux-x86_64-RELEASE/openMVG_main_ComputeMatches
--input_file /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/matches/sfm_data.json
--out_dir /media/william/E/openMVS_workspace/ImageDataset_SceauxCastle/output/matches
Optional parameters:
--force 0
--ratio 0.8
--geometric_model f
--video_mode_matching -1
--pair_list
--nearest_matching_method AUTO
--guided_matching 0
--cache_size unlimited
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
PUTATIVE MATCHES -
Use: exhaustive pairwise matching
Using FAST_CASCADE_HASHING_L2 matcher
Using the OPENMP thread interface
Matching -
0% 10 20 30 40 50 60 70 80 90 100%
|----|----|----|----|----|----|----|----|----|----|
Segmentation fault (core dumped)
my nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85
Please advise how I can know what is wrong?
Thanks!
William
The text was updated successfully, but these errors were encountered: