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
Stuck in adding seeds #34
Comments
Same problem here on Linux, pmvs2 stucks at "adding seeds". |
Could be linked to the last updated #37 or #38. (@nh2 any idea?) @LamboAventador & @sguyader Can you try with the repo checkout at |
I tried compiling against commit e5663f1, but it still gets stuck at adding seeds. |
Can you try another dataset https://github.com/openMVG/ImageDataset_SceauxCastle? |
Still the same with the castle dataset:
For information, I used VisualSFM, which uses the cmvs and pmvs2 binaries I just built. I also tried to use pmvs2 manually on the cmvs output files. |
Can you try an older commit to see if there is everything wrong in the update? |
Still the same with commit a067274 |
Which platform are you using (Mac, Linux, PC)? |
I'm on linux (Manjaro, up-to-date). |
Can you try again with the last pushed version? |
I'm stuck with the same bug Archlinux with the package cmvs-pmvs-git. So the bug is still here. |
Can you try in an ubuntu docker to see if you have the same behavior? |
Compiling and running pmvs2 in a docker ubuntu container (gcc) results in the same error. Debugger tells me the main thread is hanging in
While all eight worker threads are waiting in Seems like a matching unlock is missing. |
Thank you for looking to the issue deeper. I did not write the main code, I just maintain it. |
I think I fixed it 😃 Setting I replaced the RWMutex-based The program runs without hiccups and the produced model looks right. I'll clean up the patch and create a pull request. You can decide whether you want to incorporate it or rather fix the underlying library issue. I am open for suggestions, right now just happy it works again 🎉 |
Raise language level to C++17 to use std::optional Replace RWMutex vectors with std::mutex vectors Replace voluntary locks with optional lock_guards for RAII goodness.
Happy to hear it we were able to reproduce the behavior in simpler settings! |
Hi,
Thanks for our sharing. I'm trying to use Bundler+PMVS workflow, the console seem to be stuck in like below. How could I solve this problem?
pan@T830:
/bundler_sfm/examples/ET$ ../../bin/genOption pmvs//bundler_sfm/examples/ET$ ../../bin/pmvs2 pmvs/ option-0000pan@T830:
../../bin/pmvs2
pmvs/
option-0000
--- Summary of specified options ---
of timages: 4 (enumeration)
of oimages: 0 (enumeration)
level: 1 csize: 2
threshold: 0.7 wsize: 7
minImageNum: 3 CPU: 8
useVisData: 1 sequence: -1
Reading images: ****
1 Harris running ...2 Harris running ...3 Harris running ...4 Harris running ...227 harris done
201 harris done
DoG running...DoG running...211 harris done
208 harris done
DoG running...DoG running...315 dog done
314 dog done
315 dog done
316 dog done
done
adding seeds
The text was updated successfully, but these errors were encountered: