kohillyang commented on issue #13447: Rewrite dataloader, improves 
responsiveness and reliability
URL: https://github.com/apache/incubator-mxnet/pull/13447#issuecomment-445425411
 
 
   Is it possible to implement another Dataloader with threadpool? According to 
my test, Dataloader with threadpool is faster than  Dataloader with 
multiprocess(about 2~5x), especially when the dataset is small or most of codes 
are written with C++, for example, rotating the image is written by Opencv 
library. And it has less bugs, less requirements. Because some people are 
running there program with docker and maybe their shared memory is not enough. 
And Dataloader with threadpool start more quickly as its overhead is smaller.
   
   I am wonder if mxnet can give us a choise, using threadpool or 
multiprocess.pool.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to