TruongKhang / cds-mvsnet

[ICLR2022] Curvature-guided dynamic scale networks for Multi-view Stereo
118 stars 6 forks source link

num_worker? #6

Closed lilipopololo closed 2 years ago

lilipopololo commented 2 years ago

Hello author, I would like to ask how to change number of num_workers in Dataloader I can't find any code about "num_workers " in this project,maybe you set num_workers ==0 for stability?

lilipopololo commented 2 years ago

As i find in configs/config_dtu.json, key "dataloader" in configure file is a list, should i copy the item in this list to set num_workers ? https://github.com/TruongKhang/cds-mvsnet/blob/ec78358a1503728309299bbfdacc432942557712/configs/config_dtu.json#L16

TruongKhang commented 2 years ago

hiiii @lilipopololo, I fixed the num_workers = 4 in the file dataloaders.py. Yes, you can add the parameters num_workers to the file config_dtu.json and then add an initial variable num_workers in __init__ function of DTULoader.

lilipopololo commented 2 years ago

I see thank you