piyushghai commented on issue #15690: Deadlock when using trivial Gluon Dataset
URL: 
https://github.com/apache/incubator-mxnet/issues/15690#issuecomment-516216422
 
 
   I found that using ```thread_pool=True``` seems to alleviate the problem 
when num_workers are set to > 0. 
   eg : 
   ```train_loader = mx.gluon.data.DataLoader(dataset, batch_size=64, 
num_workers=2, thread_pool=True) ``` did not hang for me. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to