YoYo000 / MVSNet

MVSNet (ECCV2018) & R-MVSNet (CVPR2019)
MIT License
1.4k stars 304 forks source link

colmap2mvsnet error #123

Open JingjunYi opened 3 years ago

JingjunYi commented 3 years ago

When I ran colmap2mvsnet.py, something went wrong. Please help me with this, thanks.

File "D:\Anaconda3\envs\mvsnet\lib\multiprocessing\queues.py", line 354, in get return _ForkingPickler.loads(res) AttributeError: Can't get attribute 'calc_score' on <module '__mp_main__' from 'D:\Code\ComputerVision\AssignmentTwo\MVSNet-master\mvsnet\colmap2mvsnet.py'>

xiaobaiwzm commented 3 years ago

try running on Linux

wojiaoCharlotte commented 2 years ago

I have the same problem, have you solved the problem? thanks

wojiaoCharlotte commented 2 years ago

When I ran colmap2mvsnet.py, something went wrong. Please help me with this, thanks.

File "D:\Anaconda3\envs\mvsnet\lib\multiprocessing\queues.py", line 354, in get return _ForkingPickler.loads(res) AttributeError: Can't get attribute 'calc_score' on <module 'mp_main' from 'D:\Code\ComputerVision\AssignmentTwo\MVSNet-master\mvsnet\colmap2mvsnet.py'>

I have the same problem, have you solved the problem?thanks

carlosedubarreto commented 2 years ago

Hello @JingjunYi and @wojiaoCharlotte . I've made some changes on the code, because on windows the multiprocessing works different. But instead of adjusting to the way windows works with multiprocess I simply removed it.

Here is the code where I've made some changes and work here on a windows machine

colmap2mvsnet.zip

ZooKangaroo commented 9 months ago

@carlosedubarreto Thank you very very much! I've been confused by it for a whole week! You are my saviour!