You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use MVSNet on COLMAP results. I faced some issues when I tried to run python colmap2mvsnet.py --dense_folder <PATH>. I wanted to share with you how I solved this problem in case someone is still struggling with it.
This error typically occurs when the calc_score function is defined in the same module as the code that is being executed by a multiprocessing pool. This is how I solved it:
I deleted the calc_score() function from colmap2mvsnet.py file and I created a new file calc_score.py:
Hello everyone,
I'm trying to use MVSNet on COLMAP results. I faced some issues when I tried to run
python colmap2mvsnet.py --dense_folder <PATH>
. I wanted to share with you how I solved this problem in case someone is still struggling with it.This error typically occurs when the calc_score function is defined in the same module as the code that is being executed by a multiprocessing pool. This is how I solved it:
calc_score()
function from colmap2mvsnet.py file and I created a new file calc_score.py:Then, I imported the function from that module:
from calc_score import calc_score
As I added new arguments, I changed
result = p.map(calc_score, queue)
to:This should solve the problem and launch the multiprocessing without errors.
The text was updated successfully, but these errors were encountered: