jzhangbs / Vis-MVSNet

Visibility-aware Multi-view Stereo Network
MIT License
235 stars 27 forks source link

colmap2mvsnet.py #36

Open 624861627 opened 1 year ago

624861627 commented 1 year ago

An error occurs when executing python colmap2mvsnet.py --dense_folder .\dense_folder --max_d 256 --convert_format,the error is “AttributeError: Can't get attribute 'calc_score' on <module '__mp_main__' from 'E:\Deeplearn\point-cloud\Vis-MVSNet-master\colmap2mvsnet.py'>”

YaroslavShchekaturov commented 1 year ago

Hi! I have the same issue

jzhangbs commented 1 year ago

Hi, if you are using windows there may be some issue on the multiprocessing mechanism. You can modify L395-396 to be a simple loop that call calc_score on each items in the list and construct a output list. But it will be slower.