Closed EchoTHChen closed 2 years ago
Sorry but I don't know why this happens. The code for generating matterport images is forked from SynSin where they also only use 0 workers. I'm not very familiar with how habitat works under the hood.
Thanks!
I succeed to use multiprocessing by replacing all the multiprocessing
with billiard
in data_readers/mhabitat/vector_env.py.
When I want to set
num_workers=8
(non-zero value), the data cannot be loaded from the dataloader from mhabitat. And it reported the following error:If the num_worker=0, the GPU utilization ratio is less than 50%, which is a little low for me. Do you how to resolve the issue? Thanks!