You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/07/30 00:54:55 UTC

[GitHub] [incubator-mxnet] piyushghai commented on issue #15690: Deadlock when using trivial Gluon Dataset

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:
users@infra.apache.org


With regards,
Apache Git Services