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 2020/06/16 06:23:07 UTC
[GitHub] [incubator-mxnet] Mauhing commented on issue #18224: DataLoader timed out
Mauhing commented on issue #18224:
URL: https://github.com/apache/incubator-mxnet/issues/18224#issuecomment-644557207
I solved it. I have the same problem in d2l.ai - Ch. 7.7.
Use `--shm 1024m` to lauch docker, so `docker run --shm 1024m <bla bla bla>`
*why?*
`gluon.data.DataLoader` use python multiprocess, multiprocess need shared memory. The default shared memory is 64m in docker container. You can check the shm usage by using `df -h` and find `shm`.
----------------------------------------------------------------
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