Closed walter-morawa closed 2 years ago
I ran python3 -m pytest && cd cmake_build && ctest && cd -
to see if there was something set up incorrectly on my docker image/container, but all tests passed.
opensfm/test/test_multiview.py .........
opensfm/test/test_pairs_selection.py .........
opensfm/test/test_reconstruction_alignment.py ........
opensfm/test/test_reconstruction_incremental.py ..
opensfm/test/test_reconstruction_resect.py ..
opensfm/test/test_reconstruction_shot_neighborhood.py ......
opensfm/test/test_reconstruction_triangulation.py .
opensfm/test/test_rig.py ..
opensfm/test/test_robust.py .............
opensfm/test/test_stats.py ..............
opensfm/test/test_triangulation.py .....
opensfm/test/test_types.py ...........
opensfm/test/test_undistort.py .
opensfm/test/test_vlad.py ...
opensfm/test/large/test_tools.py .
=========================================== 251 passed in 173.58 seconds ===========================================
Test project /source/OpenSfM/cmake_build
Start 1: foundation_test
1/7 Test #1: foundation_test .................. Passed 0.01 sec
Start 2: bundle_test
2/7 Test #2: bundle_test ...................... Passed 0.01 sec
Start 3: dense_test
3/7 Test #3: dense_test ....................... Passed 0.01 sec
Start 4: geo_test
4/7 Test #4: geo_test ......................... Passed 0.01 sec
Start 5: geometry_test
5/7 Test #5: geometry_test .................... Passed 0.07 sec
Start 6: sfm_test
6/7 Test #6: sfm_test ......................... Passed 0.01 sec
Start 7: map_test
7/7 Test #7: map_test ......................... Passed 0.02 sec
100% tests passed, 0 tests failed out of 7
Total Test time (real) = 0.14 sec
Hi @waltermorawa ,
Thanks for using OpenSfM.
I seems you installed the docker correctly and that this is not not a permissions issue.
You see the error message about the reconstruction.json
because you have "0 partial reconstruction" and no reconstruction.json
is stored. See your output:
2021-12-11 04:46:28,667 INFO: Starting incremental reconstruction
2021-12-11 04:46:28,988 INFO: 0 partial reconstructions in total.
The problem is that OpenSfM is not able to triangulate the points, which could have several issues. Here are a two things you could try/check: 1) Use HAHOG (the default features) instead of Akaze. We exclusively use HAHOG for all our reconstructions, so if this does not work, then we can digger more into the problem. 2) Check the GPS of the image. If the GPS of the image is the same for all images, this could also lead to problems.
Note: For faster tests, you could try to find a set of ~3 images with reasonable baseline and run on them instead of on all of them.
Good luck
Hello All,
I am happy to say that I almost have set up a kubernetes backend to run OpenSfM! (I'd attach the link, but I don't want to be spammy.) The logs show that features are being detected, and matched but failing at the depth reconstruction stage. What am I doing wrong? I have attached the logs. Is this a simple permissions error, where I need to create a file? Or did I install the docker image incorrectly? I just used the ceres2 docker image, with gsutil added on. There appear to be plenty of matches across these 10 images.
I also confirmed that I am putting images in the correct folder. So, the issue is with 0 partial reconstructions made, even though there are plenty of features and matches.
Edit: After further testing, I realized that the docker container is in fact able to run the berlin sample dataset. So it has something to do with my dataset or config files perhaps? My config.yaml is pretty simple and there is nothing else in the folder but the images. Here are my images, you can see there is plenty of overlap and should be no problem matching for OpenSfM: https://drive.google.com/drive/folders/1AJfmACkQZbLZC4B63yjSIzes8FEY4U__?usp=sharing