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 2018/08/17 20:52:42 UTC

[GitHub] thomelane commented on issue #11421: Can't iterate custom dataset by dataloader with 'num_workers > 1' param on Linux

thomelane commented on issue #11421: Can't iterate custom dataset by dataloader with 'num_workers > 1' param on Linux
URL: https://github.com/apache/incubator-mxnet/issues/11421#issuecomment-413985256
 
 
   @zhreshold Agreed. Seems that OpenCV works will with multithreading but not with multiprocessing. See a few issues on their Github related to this (e.g. https://github.com/opencv/opencv/issues/5150).
   
   Almost certain that @ThomasDelteil's suggestion will work though, it's used by `ImageFolderDataset` for example. It still uses OpenCV but calls it using an internal process.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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